This project is simple typescript code for setting new project.
This project use the typescript and transpile with "ts-node" module. Also it use the wepack bundler.
This is install node dependency code. I recommend use 'yarn' because I use it when I make this project.
npm install
or
yarn install
If you finish install dependency, you can start implement your service. Entry code file is in 'src/index.ts'. And webpack output file is in 'build/' directory.
yarn build
This export optimized JavaScript bundle and it builds as production environment.
yarn build-dev
This build the project as development environment.
yarn start
yarn watch
This command watching your typescript code. So if you change the ts code, it build and run automatically. It builds and run as development mode.
yarn watch-prod
This command is same as yarn watch
but it runs as production mode.