Removed usage of yarn bin

This commit is contained in:
sanex
2020-10-06 11:05:54 +03:00
parent 495c00f466
commit 5e689a9213
+10 -10
View File
@@ -96,19 +96,19 @@
"homepage": "https://obfuscator.io/",
"scripts": {
"start": "yarn run watch",
"webpack:prod": "$(yarn bin)/webpack --config webpack/webpack.node.config.js --config webpack/webpack.browser.config.js --mode production",
"webpack:prod": "webpack --config webpack/webpack.node.config.js --config webpack/webpack.browser.config.js --mode production",
"build": "yarn run webpack:prod && yarn run eslint && yarn test",
"watch": "$(yarn bin)/webpack --config webpack/webpack.node.config.js --mode development --watch",
"test:dev": "$(yarn bin)/ts-node --type-check test/dev/dev.ts",
"test:devCompilePerformance": "$(yarn bin)/ts-node test/dev/dev-compile-performance.ts",
"test:devRuntimePerformance": "$(yarn bin)/ts-node test/dev/dev-runtime-performance.ts",
"watch": "webpack --config webpack/webpack.node.config.js --mode development --watch",
"test:dev": "ts-node --type-check test/dev/dev.ts",
"test:devCompilePerformance": "ts-node test/dev/dev-compile-performance.ts",
"test:devRuntimePerformance": "ts-node test/dev/dev-runtime-performance.ts",
"test:full": "yarn run test:dev && yarn run test:mocha-coverage && yarn run test:mocha-memory-performance",
"test:coveralls": "yarn run test:mocha && $(yarn bin)/nyc report --reporter=text-lcov | $(yarn bin)/coveralls",
"test:mocha": "$(yarn bin)/mocha --require ts-node/register --require source-map-support/register test/index.spec.ts --exit",
"test:mocha-coverage": "$(yarn bin)/nyc --reporter text-summary yarn run test:mocha",
"test:mocha-memory-performance": "NODE_OPTIONS=--max-old-space-size=220 $(yarn bin)/mocha --require ts-node/register test/performance-tests/JavaScriptObfuscatorMemory.spec.ts",
"test:coveralls": "yarn run test:mocha && nyc report --reporter=text-lcov | coveralls",
"test:mocha": "mocha --require ts-node/register --require source-map-support/register test/index.spec.ts --exit",
"test:mocha-coverage": "nyc --reporter text-summary yarn run test:mocha",
"test:mocha-memory-performance": "NODE_OPTIONS=--max-old-space-size=220 mocha --require ts-node/register test/performance-tests/JavaScriptObfuscatorMemory.spec.ts",
"test": "yarn run test:full",
"eslint": "$(yarn bin)/eslint src/**/*.ts",
"eslint": "eslint src/**/*.ts",
"travis": "yarn run eslint && yarn run test",
"git:addFiles": "git add .",
"postinstall": "opencollective || exit 0"