@utktickets/common
v1.0.12
Published
1) git init -y 2) change name parameter to "@utktickets/common" in package.json 3) git add . 4) git commit -m "commit-message" 5) npm login 6) npm publish --access public
Readme
- git init -y
- change name parameter to "@utktickets/common" in package.json
- git add .
- git commit -m "commit-message"
- npm login
- npm publish --access public
Our commong library will be wriiten in TS and published as javascript 7) npm install -g typescript ts-node 8) npm install typescript del-cli --save-dev del-cli tool is for cleaning build files 9) Go to tsconfig file a) uncomment declaration so that it still generates type def files for our javascript b)uncomment outdir
- make changes in package.json "main": "./build/index.js", "types": "./build/index.ts", "files": [ #tells npm which files to publish "build/**/*" ],
build and patching 11) git add . 12) git commit -m "" 13) npm version patch (Increases version no in package.json) 14) npm run build 15) npm publish
