1.0.0 • Published 4 years ago
hchiam-npm-package-example v1.0.0
NPM Package Example
- Edit
package.json
fields (e.g., name, version, author, description, etc.). - Makes sure the
main
field inpackage.json
points to the entry pointindex.js
. - The
unpkg
field is for browser build. - In CLI: login to NPM with
npm login
command. npm publish
Example published package:
1.0.0
4 years ago