hchiam-npm-package-example
v1.0.0
Published
Package example
Readme
NPM Package Example
- Edit
package.jsonfields (e.g., name, version, author, description, etc.). - Makes sure the
mainfield inpackage.jsonpoints to the entry pointindex.js. - The
unpkgfield is for browser build. - In CLI: login to NPM with
npm logincommand. npm publish
Example published package:
- https://www.npmjs.com/package/hchiam-npm-package-example
- https://unpkg.com/hchiam-npm-package-example
