Skip to content

Commit 9a66111

Browse files
committed
Update publish flow.
1 parent d146169 commit 9a66111

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ See the section about [running tests](https://facebook.github.io/create-react-ap
2121

2222
### `yarn publish:npm`
2323

24-
Builds the project in the `/dist` directory & publishes with to npm.
24+
Builds the project in the `/dist` directory. Publish to npm with `npm publish`.
2525

2626
## Install
2727

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"build": "react-scripts build",
3838
"test": "react-scripts test",
3939
"eject": "react-scripts eject",
40-
"publish:npm": "rm -rf dist && mkdir dist && babel src/components -d dist --copy-files; npm publish"
40+
"publish:npm": "rm -rf dist && mkdir dist && babel src/components -d dist --copy-files"
4141
},
4242
"eslintConfig": {
4343
"extends": [

0 commit comments

Comments
 (0)