Istanbul code coverage

This commit is contained in:
sanex3339
2016-06-18 15:38:04 +03:00
parent bfed52ef27
commit c35b6abcda
+4 -5
View File
@@ -40,15 +40,14 @@
"url": "git+https://github.com/sanex3339/javascript-obfuscator.git"
},
"scripts": {
"lite": "lite-server",
"start": "npm run watch",
"webpack": "node_modules/.bin/webpack",
"build": "npm run webpack && npm test",
"watch": "node_modules/.bin/webpack --watch",
"start": "concurrent \"npm run tsc:w\" \"npm run lite\" ",
"test:compile": "tsc -p tsconfig-test.json",
"test:compile": "node_modules/.bin/tsc -p tsconfig-test.json",
"test:dev": "node test/dev/test.js",
"test:full": "npm run test:compile && istanbul cover _mocha -- test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
"test:mocha": "npm run test:compile && mocha -- test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
"test:full": "npm run test:compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
"test:mocha": "npm run test:compile && node_modules/.bin/mocha -- test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
"test:removeTestTmpDir": "rm -rf test-tmp",
"test": "npm run test:dev && npm run test:full",
"typings": "node_modules/.bin/typings install"