Skip to content

Commit

Permalink
remove unnecessary binstubs path (cozmo#169)
Browse files Browse the repository at this point in the history
NPM (and Yarn) both add the relevant binstubs path to `$PATH`, so you don't need to add it explicitly. On top of that, this hardcodes a `node_modules` layout that may not always be correct. If you were to use Yarn v2 with Zero Install, for example, it never unpacks packages into `node_modules` at all. NPM may do something similar in the future.
  • Loading branch information
eventualbuddha authored Apr 30, 2020
1 parent 25b062a commit f315191
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 @@ -33,11 +33,11 @@
},
"scripts": {
"prebuild": "rimraf dist",
"build": "./node_modules/.bin/webpack",
"watch": "./node_modules/.bin/webpack --watch",
"test": "./node_modules/.bin/jest",
"build": "webpack",
"watch": "webpack --watch",
"test": "jest",
"lint": "tslint --project .",
"generate-test-data": "node_modules/.bin/ts-node --project tests/ tests/generate-test-data.ts"
"generate-test-data": "ts-node --project tests/ tests/generate-test-data.ts"
},
"jest": {
"testRegex": ".*test.ts",
Expand Down

0 comments on commit f315191

Please sign in to comment.