Skip to content

Commit

Permalink
[129/webpack] TMP: use npm preinstall step instead of prepare
Browse files Browse the repository at this point in the history
We're experiencing what looks like
yarnpkg/yarn#7212 when we try to install
the bookreader repo through yarn. It says the prepare step on a
git:// referenced dependency (which is what we use) might be causing
this error (although this error doesn't happen at all when run on
@jbuckner's machine with that exact setup :/). Trying the `preinstall`
hook to see if that fixes things.
  • Loading branch information
cdrini committed Sep 19, 2019
1 parent dc03643 commit 701510b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
]
},
"scripts": {
"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 701510b

Please sign in to comment.