@myasticketing/common
v1.0.11
Published
1- Install Typescript and del-cli ``` npm i typescript del-cli --save-dev ```
Downloads
12
Readme
Common
1- Install Typescript and del-cli
npm i typescript del-cli --save-dev2- Create tsconfig.json file
tsc --init3- Update script section of package.json
"scripts": {
"clean": "del ./build/*",
"build": "npm run clean && tsc"
}
4- Update tsconfig.json
4.1- uncomment
"declaration": true,4.2- uncomment and update path of outDir
"outDir": "./build"5- install modules
npm i express
express-validator
jsonwebtoken
cookie-session
@types/cookie-session
@types/express
@types/jsonwebtoken