-
Notifications
You must be signed in to change notification settings - Fork 45
ci: publish to npm #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
package.json
Outdated
"reformat": "npx prettier -- --write ." | ||
"check:lint": "eslint .", | ||
"check:format": "prettier -c .", | ||
"reformat": "npx prettier --write ." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"reformat": "npx prettier --write ." | |
"reformat": "prettier --write ." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more of a drive by but realizing now that npx is redundant here for build:compile
as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* main: ci: publish to npm (#9) # Conflicts: # dist/client.js # dist/config.js # dist/index.js # dist/server.js # dist/state.js # package.json
npm publish
when a new tag is createddist
folder to gitignorenpm run build
before packing the npm package