1.1.0 • Published 10 months ago

simple-calculater-rfv-finish-v2 v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Reference

Start

  • config eslint in eslintrc.js and .eslintignore
  • config pretterrc
  • make sure the lib package with the right version in the package.json
  • Setup in package.json script to able to pushlish this package.

     "format": "prettier --write \"src/**/*.ts\"",
      "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
      "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
      "build": "tsc",
      "prepare": "npm run build",
      "prepublish": "npm run lint",
      "version" : "npm run format && git add -A src"
  • command npm pack -> checking the contain information of the package loign to the npm by basic token: npm login npm config set //registry.npmjs.org/:_authToken=npm_6cOsdfdfdsfdfrhH4vWTUADvxxiKxdxMzsBzxaprrqH16SkTK and npm config set registry https://registry.npmjs.org

    • npm publish -> push the package

npm package content after publish successful

1.1.0

10 months ago

1.0.0

10 months ago