1.0.25 • Published 2 years ago
@shawtickets/common v1.0.25
How to publish
- Rename the package name in package.json
- Create a git in the library
- Login npm in CLI
- Run
npm version patch
to increment version number - Publish to shawtickets
npm login
git commit -m ""
npm version patch
npm publish --access public
Set up typescript
We write typescript but publish javasript to NPM after transpire.
tsc --init
npm install typescript del-cli --save-dev
npm install express \
express-validator \
cookie-session \
jsonwebtoken \
http-status-codes \
@types/cookie-session \
@types/express \
@types/jsonwebtoken
Patch
The steps can be condensed into "pub" script in package.json.
git add .
git commit -m "Some message"
npm version patch
npm run build
npm publish
1.0.25
2 years ago
1.0.24
2 years ago
1.0.23
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago