/app
|-/.env
| |- .env.dev # for development
| |- .env.prod # for production
|- /src
| |- index.ts # entry point
|- /webpack
| |- base.config.js
| |- dev.config.js
| |- prod.config.js
|- nodemon.json
|- package.json
|- tsconfig.json
$ cp .env/.env.sample .env/.env.dev
$ cp .env/.env.sample .env/.env.prod
$ npm install
$ npm run dev
$ npm run format
$ npm run build:dev
$ npm run build