Skip to content

Commit 1f80625

Browse files
committed
Better npm scripts for ci and publishing
1 parent fb51afd commit 1f80625

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
"watch:css": "onchange 'src/**/*.styl' -i -- npm run build:css",
3232
"test": "standard",
3333
"umd": "rimraf react-table.js && browserify lib/index.js -s reactTable -x react -t babelify -g uglifyify -o react-table.js",
34-
"prepublish": "npm-run-all build:* && npm run umd && git push --tags",
34+
"build": "npm-run-all build:*",
35+
"prepublish": "npm run build && npm run umd",
36+
"postpublish": "git push --tags",
3537
"storybook": "start-storybook -p 8000 -c .storybook",
3638
"docs": "build-storybook -o docs && cp .storybook/CNAME docs/CNAME"
3739
},

0 commit comments

Comments
 (0)