Skip to content

Commit 156309a

Browse files
committed
Publish command.
1 parent 294724f commit 156309a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@
6363
"serve": "node src/server.js",
6464
"app": "npx webpack --config webpack.prod.js",
6565
"library":
66-
"BABEL_ENV=library npx babel src --out-dir lib --copy-files && cp package.json lib",
66+
"BABEL_ENV=library npx babel src --out-dir lib --copy-files && cp {package.json,yarn.lock,README.md} lib",
6767
"yalc": "yarn library && cd lib && yalc push",
68+
"publish": "yarn library && cd lib && npm publish",
6869
"precommit": "pretty-quick --staged",
6970
"format": "prettier 'src/**/*.{js,jsx}' --write",
7071
"test": "jest"

0 commit comments

Comments
 (0)