Skip to content

Commit bb91772

Browse files
committed
add bit commands and npm publish
1 parent 85c6c47 commit bb91772

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@
3636
"scripts": {
3737
"start": "react-scripts start",
3838
"build": "rm -rf dist && NODE_ENV=production babel src/components --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,__snapshots__",
39+
"build:bit": "rm -rf dist && bit build",
3940
"test": "react-scripts test",
4041
"eject": "react-scripts eject",
41-
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\""
42+
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
43+
"deploy:npm": "npm publish",
44+
"deploy:bit": "bit export joshk.react-spinners-css"
4245
},
4346
"eslintConfig": {
4447
"extends": "react-app"

0 commit comments

Comments
 (0)