Skip to content

Commit

Permalink
fix: Yarn compatibility without npm
Browse files Browse the repository at this point in the history
- Prepare is run when yarn runs installs
- Prepare calls npm which isn't available on all machines
- We rename prepare to prepublihs like it was a few years ago
- Additional detail here:
  codymikol#367
  • Loading branch information
Timothy Cardenas committed Mar 4, 2020
1 parent e7276c4 commit 1fdfbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
"lint:js": "eslint --cache src test",
"lint": "npm-run-all -l -p \"lint:**\"",
"prepare": "npm run build",
"prepublish": "npm run build",
"release": "standard-version",
"security": "npm audit",
"test:only": "cross-env NODE_ENV=test jest",
Expand Down

0 comments on commit 1fdfbd0

Please sign in to comment.