1.0.4 • Published 3 years ago

@s4pod/common v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

This is the auth backend for the project

Steps:

  1. Initiate node project: npm init -y
  2. Install dependencies and dev dependencies
  3. Initiate typescipt for the project tsc --init
  4. Create necessary scripts (i.e., dev, start, etc.)
  5. Initialize eslint npx eslint --init
  6. Install prettier and create a .prettierrc.js config file npm install -D prettier --save-exact
  7. Install eslint-config-prettier
  8. Add "prettier" to extends in .eslintrc.js
  9. Modify tsconfig.json and package.json files (since this is an npm package)

Publishing to npm

First time publishing

After changing the package name in package.json to an appropriate name that is the same as organization name on npm, run: npm publish --access public

Successive publishes

  1. git commit everything
  2. Increment version number npm version patch
  3. Build the package npm run build
  4. Publish the build npm publish