|
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | 7 | "test": "jest --coverage", |
8 | | - "start": "export ENVIRONMENT_NAME=local && nodemon", |
| 8 | + "start": "node dist/main.js", |
| 9 | + "start:development": "ENVIRONMENT_NAME=development node dist/main.js", |
| 10 | + "build:env": "webpack-cli --config webpack/production.config.js --stats-error-details", |
| 11 | + "build:dev": "webpack-cli --config webpack/dev.config.js --stats-error-details", |
| 12 | + "start:local": "ENVIRONMENT_NAME=local && yarn build:dev && yarn start", |
9 | 13 | "start:sharded": "export MONGO_PORT=60000 && yarn start", |
10 | 14 | "postinstall": "link-module-alias", |
11 | 15 | "preinstall": "source /usr/local/opt/nvm/nvm.sh; nvm use; command -v link-module-alias && link-module-alias clean || true", |
|
69 | 73 | "response-time": "^2.3.2", |
70 | 74 | "slack-notify": "^2.0.2", |
71 | 75 | "swagger-ui-express": "^4.3.0", |
72 | | - "uuid": "^8.3.2" |
| 76 | + "uuid": "^8.3.2", |
| 77 | + "webpack": "^5.74.0", |
| 78 | + "webpack-hot-middleware": "^2.25.2" |
73 | 79 | }, |
74 | 80 | "devDependencies": { |
75 | 81 | "@babel/core": "^7.16.7", |
76 | 82 | "@babel/eslint-parser": "^7.18.2", |
77 | 83 | "@babel/node": "^7.16.7", |
| 84 | + "@babel/plugin-transform-runtime": "^7.18.10", |
78 | 85 | "@babel/preset-env": "^7.18.2", |
79 | 86 | "@faker-js/faker": "^6.0.0-alpha.5", |
| 87 | + "babel-loader": "^8.2.5", |
80 | 88 | "eslint": "^8.6.0", |
81 | 89 | "eslint-config-prettier": "^8.5.0", |
82 | 90 | "eslint-plugin-prettier": "^4.0.0", |
| 91 | + "file-loader": "^6.2.0", |
83 | 92 | "jest": "^27.4.7", |
84 | 93 | "jest-coverage-badges": "^1.1.2", |
85 | 94 | "link-module-alias": "^1.2.0", |
86 | 95 | "mockingoose": "^2.15.2", |
87 | 96 | "pre-commit": "^1.2.2", |
88 | 97 | "prettier": "^2.6.2", |
89 | 98 | "prettier-standard": "^16.4.1", |
90 | | - "supertest": "^6.2.2" |
| 99 | + "regenerator-runtime": "^0.13.9", |
| 100 | + "supertest": "^6.2.2", |
| 101 | + "terser-webpack-plugin": "^5.3.6", |
| 102 | + "webpack-cli": "^4.10.0" |
91 | 103 | }, |
92 | 104 | "precommit": "lint:staged", |
93 | 105 | "lint-staged": { |
|
0 commit comments