From 2caee29703b223ecfa666529d331f50f0b3240e7 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Tue, 15 Nov 2016 19:32:02 +0100 Subject: [PATCH] Run npm test with sourceMaps (#222) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 05b4db18b9..f044063efa 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "flow": "flow", "prepublish": "npm run clean && cross-env BABEL_ENV=production npm run build", "preversion": "npm run test && npm run changelog", - "test": "npm run lint && npm run flow && npm run build && npm run test-only", + "test": "npm run lint && npm run flow && npm run build -- -m && npm run test-only", "test-only": "ava test", "test-ci": "nyc npm run test-only", "changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'"