Skip to content

Commit

Permalink
webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Nov 16, 2023
1 parent e8b4c5b commit e5d9f3e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 104 deletions.
49 changes: 25 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.0.0",
"description": "Backend for PROJECT",
"scripts": {
"----------------------------------------------": "",
"test": "node bin/test",
"test:update": "node bin/test/manual/update",
"------------------------BUILDS------------------------": "",
"build": "npm run build:sdk && npm run build:main && npm run build:test",
"build:api": "rimraf packages/api/lib && nestia sdk && tsc -p packages/api/tsconfig.json",
"build:main": "rimraf lib && tsc",
Expand All @@ -14,31 +16,31 @@
"dev": "npm run build:test -- --watch",
"eslint": "eslint src && eslint test",
"eslint:fix": "eslint src --fix && eslint test --fix",
"package:api": "npm run build:api && cd packages/api && npm publish",
"package:models": "npm run build:models && cd packags/models && npm publish",
"prepare": "ts-patch install && npm run build:prisma",
"prettier": "prettier src --write && prettier test --write",
"webpack": "webpack",
"-----------------------------------------------": "",
"reset-for-debugging": "npm run test -- --reset true --include __nothing__",
"test": "node bin/test",
"test:update": "node bin/test/manual/update",
"generate:password": "npx ts-node src/test/manual/password",
"generate:uuid": "ts-node test/manual/uuid",
"reset:dev": "git pull && npm install && npm run build && npm run stop && npm run test -- --mode dev && npm run start:updator:master && npm run start dev",
"------------------------WEBPACK------------------------": "",
"webpack": "rimraf dist && npm run build:prisma && webpack",
"webpack:prune": "npm ci --omit=dev --ignore-scripts && npm run build:prisma",
"webpack:start": "node dist/server",
"webpack:start:updator:master": "node dist/updator-master",
"webpack:start:updator:slave": "node dist/updator-slave",
"------------------------DEPLOYS------------------------": "",
"package:api": "npm run build:api && cd packages/api && npm publish",
"start": "node lib/executable/server",
"start:updator:master": "node lib/executable/updator-master",
"start:updator:slave": "node lib/executable/updator-slave",
"schema": "node lib/executable/schema",
"------------------------------------------------": "",
"revert": "node lib/executable/revert",
"start": "pm2 start lib/executable/server.js -i 0 --name PROJECT-backend-server --wait-ready --listen-timeout 120000 --kill-timeout 15000 --",
"start:local": "pm2 start lib/executable/server.js -i 2 --name PROJECT-backend-server --wait-ready --listen-timeout 120000 --kill-timeout 15000 -- local",
"start:updator:master": "pm2 start --name PROJECT-backend-updator-master lib/executable/updator-master.js",
"start:updator:slave": "pm2 start --name PROJECT-backend-updator-slave lib/executable/updator-slave.js",
"start:reload": "pm2 reload PROJECT-backend-server",
"stop": "pm2 delete PROJECT-backend-server",
"stop:updator:master": "pm2 delete PROJECT-backend-updator-master",
"stop:updator:slave": "pm2 delete PROJECT-backend-updator-slave",
"update": "node lib/executable/update",
"-------------------------------------------------": ""
"--------------------------PM2--------------------------": "",
"pm2:start": "pm2 start lib/executable/server.js -i 0 --name PROJECT-backend-server --wait-ready --listen-timeout 120000 --kill-timeout 15000 --",
"pm2:start:local": "pm2 start lib/executable/server.js -i 2 --name PROJECT-backend-server --wait-ready --listen-timeout 120000 --kill-timeout 15000 -- local",
"pm2:start:updator:master": "pm2 start --name PROJECT-backend-updator-master lib/executable/updator-master.js",
"pm2:start:updator:slave": "pm2 start --name PROJECT-backend-updator-slave lib/executable/updator-slave.js",
"pm2:start:reload": "pm2 reload PROJECT-backend-server",
"pm2:stop": "pm2 delete PROJECT-backend-server",
"pm2:stop:updator:master": "pm2 delete PROJECT-backend-updator-master",
"pm2:stop:updator:slave": "pm2 delete PROJECT-backend-updator-slave"
},
"repository": {
"type": "git",
Expand All @@ -64,14 +66,12 @@
"@typescript-eslint/parser": "^5.26.0",
"chalk": "^4.1.2",
"cli": "^1.0.1",
"copy-webpack-plugin": "^11.0.0",
"eslint-plugin-deprecation": "^1.4.1",
"inquirer": "^8.2.5",
"nestia": "^5.0.2",
"pm2": "^4.5.6",
"prettier": "^2.6.2",
"prettier-plugin-prisma": "^5.0.0",
"prisma-markdown": "^1.0.7",
"rimraf": "^3.0.2",
"sloc": "^0.2.1",
"ts-loader": "^9.5.0",
Expand All @@ -81,7 +81,7 @@
"typescript-transform-paths": "^3.4.6",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"write-file-webpack-plugin": "^4.5.1"
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@nestia/core": "^2.3.9",
Expand All @@ -95,6 +95,7 @@
"jsonwebtoken": "^9.0.2",
"mutex-server": "^0.3.1",
"prisma": "^5.3.1",
"prisma-markdown": "^1.0.7",
"source-map-support": "^0.5.19",
"tstl": "^2.5.13",
"typia": "^5.2.6"
Expand Down
80 changes: 0 additions & 80 deletions webpack.config.js

This file was deleted.

0 comments on commit e5d9f3e

Please sign in to comment.