Skip to content

Commit d1f2f53

Browse files
enapupedanilowoz
authored andcommitted
Add simple build & publish script to prevent dirty pushes to npm registry (#71)
1 parent a350e2e commit d1f2f53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"scripts": {
3434
"watch": "npm run build -- --watch",
3535
"build": "rollup -c",
36+
"deploy": "rm -fr ./dist && npm run build && npm publish",
3637
"lint": "eslint 'src/**/*.js'",
3738
"prettier": "prettier --write 'src/**/*.{js,jsx,json,css}'",
3839
"testonly": "cross-env NODE_ENV=test mocha $npm_package_options_mocha",

0 commit comments

Comments
 (0)