Skip to content

Commit

Permalink
Remove relative bin path in npm scripts
Browse files Browse the repository at this point in the history
When using npm scripts, npm can find binaries in ./node_modules/.bin/
without having to explicitly reference that path.
  • Loading branch information
Graham42 committed Oct 29, 2017
1 parent 5b28dce commit f5bde2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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\""
}
}

0 comments on commit f5bde2f

Please sign in to comment.