Skip to content

Publishing to NPM

gignu edited this page Jun 30, 2023 · 19 revisions

Step-By-Step Instructions

Instructions for myself as I'm the only one who can publish changes to NPM:

  • Download Subtitle Database into ~/Documents
  • Upgrade version in package.json
  • npm i
  • mkdir umd
  • npm i -g browserify uglify-js
  • npm run build
  • npm run minify
  • npm run test
  • Push changes to GitHub
  • Test in the browser
  • npm publish
Clone this wiki locally