From e694739ec6ac79876ede23d98de3fbd26d223047 Mon Sep 17 00:00:00 2001 From: Ben Mosher Date: Sun, 17 Jul 2016 16:33:08 -0400 Subject: [PATCH] added test-compiled script for testing on 0.10 locally --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 56866d5f3..dc1bc4fc5 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "cover": "gulp pretest && cross-env NODE_PATH=./lib istanbul cover --dir reports/coverage _mocha tests/lib/ -- --recursive -R progress", "posttest": "eslint ./src", "test": "cross-env BABEL_ENV=test NODE_PATH=./src nyc mocha --recursive tests/src -t 5s", + "test-compiled": "npm run prepublish && NODE_PATH=./lib mocha --compilers js:babel-register --recursive tests/src", "coverage-report": "npm t && nyc report --reporter html", "test-all": "npm test && for resolver in ./resolvers/*; do cd $resolver && npm test && cd ../..; done", "ci-test": "eslint ./src && gulp pretest && cross-env NODE_PATH=./lib istanbul cover --report lcovonly --dir reports/coverage _mocha tests/lib/ -- --recursive --reporter dot",