mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Usage of cross-env-shell for running scrips
This commit is contained in:
+3
-5
@@ -8,8 +8,6 @@ jobs:
|
||||
node_js: "12"
|
||||
- os: linux
|
||||
node_js: "13"
|
||||
- os: linux
|
||||
node_js: "14"
|
||||
- os: linux
|
||||
node_js: "stable"
|
||||
- os: windows
|
||||
@@ -20,8 +18,8 @@ cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
script: "yarn run travis"
|
||||
script: "cross-env yarn run travis"
|
||||
|
||||
after_success:
|
||||
- yarn run test:coveralls
|
||||
- rm -rf ./coverage
|
||||
- cross-env yarn run test:coveralls
|
||||
- rimraf ./coverage
|
||||
|
||||
+21
-20
@@ -66,6 +66,7 @@
|
||||
"chai": "4.2.0",
|
||||
"chai-exclude": "2.0.2",
|
||||
"coveralls": "3.1.0",
|
||||
"cross-env": "7.0.2",
|
||||
"eslint": "7.10.0",
|
||||
"eslint-plugin-import": "2.22.1",
|
||||
"eslint-plugin-jsdoc": "30.6.3",
|
||||
@@ -94,26 +95,26 @@
|
||||
},
|
||||
"homepage": "https://obfuscator.io/",
|
||||
"scripts": {
|
||||
"start": "scripts/start",
|
||||
"webpack:prod": "scripts/webpack-prod",
|
||||
"webpack:dev": "scripts/webpack-dev",
|
||||
"build": "scripts/build",
|
||||
"watch": "scripts/watch",
|
||||
"removeCacheDir": "scripts/remove-cache-dir",
|
||||
"test:compile": "scripts/test-compile",
|
||||
"test:dev": "scripts/test-dev",
|
||||
"test:devCompilePerformance": "scripts/test-dev-compile-performance",
|
||||
"test:devRuntimePerformance": "scripts/test-dev-runtime-performance",
|
||||
"test:full": "scripts/test-full",
|
||||
"test:coveralls": "scripts/test-coveralls",
|
||||
"test:mocha": "scripts/test-mocha",
|
||||
"test:mocha-memory-performance": "scripts/test-mocha-memory-performance",
|
||||
"test:removeTmpDir": "scripts/test-remove-tmp-dir",
|
||||
"test": "scripts/test",
|
||||
"eslint": "scripts/eslint",
|
||||
"travis": "scripts/travis",
|
||||
"git:addFiles": "scripts/git-add-files",
|
||||
"postinstall": "opencollective || exit 0"
|
||||
"start": "cross-env-shell scripts/start",
|
||||
"webpack:prod": "cross-env-shell scripts/webpack-prod",
|
||||
"webpack:dev": "cross-env-shell scripts/webpack-dev",
|
||||
"build": "cross-env-shell scripts/build",
|
||||
"watch": "cross-env-shell scripts/watch",
|
||||
"removeCacheDir": "cross-env-shell scripts/remove-cache-dir",
|
||||
"test:compile": "cross-env-shell scripts/test-compile",
|
||||
"test:dev": "cross-env-shell scripts/test-dev",
|
||||
"test:devCompilePerformance": "cross-env-shell scripts/test-dev-compile-performance",
|
||||
"test:devRuntimePerformance": "cross-env-shell scripts/test-dev-runtime-performance",
|
||||
"test:full": "cross-env-shell scripts/test-full",
|
||||
"test:coveralls": "cross-env-shell scripts/test-coveralls",
|
||||
"test:mocha": "cross-env-shell scripts/test-mocha",
|
||||
"test:mocha-memory-performance": "cross-env-shell scripts/test-mocha-memory-performance",
|
||||
"test:removeTmpDir": "cross-env-shell scripts/test-remove-tmp-dir",
|
||||
"test": "cross-env-shell scripts/test",
|
||||
"eslint": "cross-env-shell scripts/eslint",
|
||||
"travis": "cross-env-shell scripts/travis",
|
||||
"git:addFiles": "cross-env-shell scripts/git-add-files",
|
||||
"postinstall": "cross-env-shell opencollective || exit 0"
|
||||
},
|
||||
"pre-commit": [
|
||||
"build",
|
||||
|
||||
@@ -1533,6 +1533,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7:
|
||||
safe-buffer "^5.0.1"
|
||||
sha.js "^2.4.8"
|
||||
|
||||
cross-env@^7.0.2:
|
||||
version "7.0.2"
|
||||
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9"
|
||||
integrity sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw==
|
||||
dependencies:
|
||||
cross-spawn "^7.0.1"
|
||||
|
||||
cross-spawn@^5.0.1:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
|
||||
@@ -1553,7 +1560,7 @@ cross-spawn@^6.0.5:
|
||||
shebang-command "^1.2.0"
|
||||
which "^1.2.9"
|
||||
|
||||
cross-spawn@^7.0.0, cross-spawn@^7.0.2:
|
||||
cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2:
|
||||
version "7.0.3"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
||||
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
|
||||
|
||||
Reference in New Issue
Block a user