@shawtickets/common
TypeScript icon, indicating that this package has built-in type declarations

1.0.25 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.251latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.251
1.0.240
1.0.230
1.0.220
1.0.210
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @shawtickets/common

Weekly Downloads

1

Version

1.0.25

License

ISC

Unpacked Size

19.8 kB

Total Files

44

Last publish

Collaborators

  • shawlu95