diff --git a/package.json b/package.json index c136131e8..a43dd4f5a 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,14 @@ "repository": "https://github.com/quran/quran.com-frontend", "scripts": { "test": "npm run test:dev:unit", - "test:ci:unit": "node_modules/.bin/karma start --browsers PhantomJS --single-run; npm run test:ci:lint", + "test:ci:unit": "karma start --browsers PhantomJS --single-run; npm run test:ci:lint", "test:ci:functional": "BROWSER=phantomjs bash tests/functional/test.sh start-ci", "posttest:ci:functional": "bash tests/functional/test.sh stop", - "test:dev:unit": "./node_modules/.bin/karma start", - "test:ci:lint": "node_modules/eslint ./src/**/*.js", + "test:dev:unit": "./node_modules/karma/bin/karma start", + "test:ci:lint": "eslint ./src/**/*.js", "test:dev:functional": "BROWSER=chrome bash tests/functional/test.sh start", "posttest:dev:functional": "bash tests/functional/test.sh stop", - "test:dev:lint": "./node_modules/.bin/eslint ./src/scripts/**/*.js", + "test:dev:lint": "node_modules/eslint/bin/eslint.js ./src/scripts/**/*.js", "test:stylelint": "node_modules/stylelint/dist/cli.js './src/**/*.scss' --config webpack/.stylelintrc", "dev": "env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node webpack/webpack-dev-server.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js", "start": "NODE_PATH=\"./src\" node ./start",