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]
    • Auto commit in git
  • 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

jsDelivr

/jsdelivr-npm/

    Package Sidebar

    Install

    npm i jsdelivr-npm

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.83 kB

    Total Files

    7

    Last publish

    Collaborators

    • josaber