mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
coveralls test
This commit is contained in:
@@ -4,4 +4,5 @@ node_js:
|
||||
- "stable"
|
||||
|
||||
after_success:
|
||||
- npm run test:coveralls
|
||||
- rm -rf ./coverage
|
||||
+3
-1
@@ -24,6 +24,7 @@
|
||||
"babel-polyfill": "^6.9.1",
|
||||
"babel-preset-es2015": "^6.9.0",
|
||||
"chai": "^3.5.0",
|
||||
"coveralls": "^2.11.9",
|
||||
"istanbul": "^1.0.0-alpha.2",
|
||||
"lite-server": "^1.3.1",
|
||||
"mocha": "^2.5.3",
|
||||
@@ -47,7 +48,8 @@
|
||||
"test:compile": "node_modules/.bin/tsc -p tsconfig-test.json",
|
||||
"test:dev": "node test/dev/test.js",
|
||||
"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:coveralls": "npm run test:compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- test-tmp/test/**/**.spec.js --report lcovonly && cat ./coverage/lcov.info | coveralls && 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"
|
||||
|
||||
Reference in New Issue
Block a user