1.0.4 • Published 3 years ago
@jlsticketing/common v1.0.4
Common Library
Setup
- git init .
- create gitignore
- touch .gitignore
- npm init -y
- npm i -D typescript del-cli
- npx tsc --init
- In package json change the following
- main: ./build/index.js
- types: ./build/index.d.ts
- tell npm what set of files 100% include in publish version
- files: [
"build/**/*"
]
- npm version patch | minor | major
publishing
- git status
- git diff
- npm version patch
- npm run build
- git status
- git diff
- git commit -m "comment"
- npm publish --access public