Skip to content

Commit

Permalink
[129/webpack] replace npm prepare step with preinstall
Browse files Browse the repository at this point in the history
Prepare was causing us to get this issue:
yarnpkg/yarn#7212 . preinstall is run
before install but not before a publish; since we don't publish
this package on npm anyways, this is fine.
  • Loading branch information
cdrini committed Sep 19, 2019
1 parent 6502a80 commit 7e95657
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 @@ -44,7 +44,7 @@
]
},
"scripts": {
"prepare": "npm run build",
"preinstall": "npm run build",
"build": "npx webpack && npx sass ./src/css/BookReader.scss > ./BookReader/BookReader.css",
"eslint": "eslint ./BookReader/BookReader.js",
"lint": "eslint \"./**/*.js\"",
Expand Down

0 comments on commit 7e95657

Please sign in to comment.