From 8880826260750ae34e99cc51928d30818b12570f Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 21 Nov 2017 17:25:28 +0000 Subject: [PATCH] Fix a yarn warning: "warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts." --- web/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/package.json b/web/package.json index 54b8445ce..0536d0615 100644 --- a/web/package.json +++ b/web/package.json @@ -86,12 +86,12 @@ }, "scripts": { "linter": "yarn run eslint pgadmin/static/jsx/**/*.jsx pgadmin/static/js/selection/*.js regression/javascript/**/*.jsx regression/javascript/**/*.js *.js", - "webpacker": "yarn run webpack -- --config webpack.config.js --progress", - "webpacker:watch": "yarn run webpack -- --config webpack.config.js --progress --watch", + "webpacker": "yarn run webpack --config webpack.config.js --progress", + "webpacker:watch": "yarn run webpack --config webpack.config.js --progress --watch", "bundle:watch": "yarn run linter && yarn run webpacker:watch", "bundle:dev": "yarn run linter && yarn run webpacker", "bundle": "cross-env NODE_ENV=production yarn run bundle:dev", - "test:karma-once": "yarn run linter && yarn run karma start -- --single-run", + "test:karma-once": "yarn run linter && yarn run karma start --single-run", "test:karma": "yarn run linter && yarn run karma start", "test:feature": "yarn run bundle && python regression/runtests.py --pkg feature_tests", "test": "yarn run test:karma-once && yarn run bundle && python regression/runtests.py"