mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
fixed scripts
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run webpack
|
||||
npm run tslint
|
||||
npm run webpack &&
|
||||
npm run tslint &&
|
||||
npm test
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
$(npm bin)/tsc -p tsconfig-test.json
|
||||
$(npm bin)/tsc -p tsconfig-test.json &&
|
||||
$(npm bin)/babel test-tmp --out-dir test-tmp --source-maps inline --presets es2015
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:compile
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/index.spec.js --report lcovonly
|
||||
cat ./coverage/lcov.info | $(npm bin)/coveralls
|
||||
npm run test:compile &&
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/index.spec.js --report lcovonly &&
|
||||
cat ./coverage/lcov.info | $(npm bin)/coveralls &&
|
||||
npm run test:removeTmpDir
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:compile
|
||||
node test-tmp/test/dev/test.js
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/index.spec.js
|
||||
npm run test:compile &&
|
||||
node test-tmp/test/dev/test.js &&
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/index.spec.js &&
|
||||
npm run test:removeTmpDir
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:compile
|
||||
$(npm bin)/mocha test-tmp/test/index.spec.js
|
||||
npm run test:compile &&
|
||||
$(npm bin)/mocha test-tmp/test/index.spec.js &&
|
||||
npm run test:removeTmpDir
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run tslint
|
||||
npm run tslint &&
|
||||
npm test
|
||||
Reference in New Issue
Block a user