From f5bde2fd5e2ff821a5f4c4be86d662492de7ac41 Mon Sep 17 00:00:00 2001 From: Graham McGregor Date: Sun, 29 Oct 2017 16:28:02 -0400 Subject: [PATCH] Remove relative bin path in npm scripts When using npm scripts, npm can find binaries in ./node_modules/.bin/ without having to explicitly reference that path. --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bf2ea7d..a2f0236 100644 --- a/package.json +++ b/package.json @@ -67,9 +67,9 @@ "scripts": { "start": "node server.js", "build": - "BABEL_ENV=production ./node_modules/.bin/webpack --config webpack.config.production.js && node pre-render.js", - "lint": "./node_modules/.bin/eslint .", - "test": "node_modules/karma/bin/karma start --single-run --browsers PhantomJS", - "pretty": "node_modules/.bin/prettier --write --config .prettierrc \"app/scripts/**/*.js\"" + "BABEL_ENV=production webpack --config webpack.config.production.js && node pre-render.js", + "lint": "eslint .", + "test": "karma start --single-run --browsers PhantomJS", + "pretty": "prettier --write --config .prettierrc \"app/scripts/**/*.js\"" } }