- Installation from package.json
npm install
- or you can also use npm i PACKAGES -D to install them for development manually
- Test the code
npm run test
- the script uses package node-dev to watch the code continoualy in modification
- Test the code in TypeScript
npm run dev
- the script uses package nodemon to run TypeScript code directly
- Compile TypeScript to JavaScript for server-side and client side
npm run build-server or npm run build-client
- you need to set up tsconfig.json of TypeScript first