jsdelivr-npm
1.0.2 • Public • Published Instructions
- git init
- mkdir tests
- touch .gitignore README.md index.js index.test.js
- yarn add jest -D
- yarn init
Local publish
- yarn version [--patch/minor/major/prepatch/preminor/premajor/prerelease]
- Add preversion, postversion, postpublish hooks in package.json
~/.yarnrc
- Input password when
yarn publish
...
email <EMAIL>
lastUpdateCheck ...
username <USERNAME>
npm adduser
- Generate token in
~/.npmrc
...
//registry.npmjs.org/:_authToken=<TOKEN>
- Access token
CI publish
Package Sidebar
Install
Weekly Downloads