Skip to content

Commit 6e8cd30

Browse files
committed
Use the script prepack instead of prepublishOnly for publishing, and make sure we update dependencies before building
1 parent 0719e3b commit 6e8cd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"build:examples": "yarn clean:examples && yarn build:dev",
3333
"build:dev": "cross-env BABEL_ENV=es6 webpack --config examples/webpack.config.js --progress --profile",
3434
"start": "webpack serve --config examples/webpack.config.js",
35-
"prepublishOnly": "yarn build"
35+
"prepack": "yarn --frozen-lockfile && yarn build"
3636
},
3737
"author": "Vivek Kumar Bansal <[email protected]>",
3838
"license": "MIT",

0 commit comments

Comments
 (0)