|
@@ -40,15 +40,14 @@
|
|
"url": "git+https://github.com/sanex3339/javascript-obfuscator.git"
|
|
"url": "git+https://github.com/sanex3339/javascript-obfuscator.git"
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
- "lite": "lite-server",
|
|
|
|
|
|
+ "start": "npm run watch",
|
|
"webpack": "node_modules/.bin/webpack",
|
|
"webpack": "node_modules/.bin/webpack",
|
|
"build": "npm run webpack && npm test",
|
|
"build": "npm run webpack && npm test",
|
|
"watch": "node_modules/.bin/webpack --watch",
|
|
"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: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:removeTestTmpDir": "rm -rf test-tmp",
|
|
"test": "npm run test:dev && npm run test:full",
|
|
"test": "npm run test:dev && npm run test:full",
|
|
"typings": "node_modules/.bin/typings install"
|
|
"typings": "node_modules/.bin/typings install"
|