Skip to content

Commit 7becac2

Browse files
Alias build to prepublish.
So running `npm publish` does _the right thing_™.
1 parent 4253609 commit 7becac2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"homepage": "https://github.com/qiushihe/flowtip",
2121
"scripts": {
2222
"dev": "webpack-dev-server --devtool eval --progress --colors --content-base demo --host 0.0.0.0 --history-api-fallback --config webpack.dev.config.babel.js",
23+
"prepublish": "npm run build",
2324
"build": "webpack -p --config webpack.config.babel.js",
2425
"lint": "eslint src"
2526
},

0 commit comments

Comments
 (0)