-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
103 lines (103 loc) · 4.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "rebell",
"version": "1.0.1",
"description": "application for boilerplate typescript",
"main": "./src/bin/www.ts",
"scripts": {
"test": "cross-env TS_NODE_PROJECT=config/test/tsconfig.test.json mocha -r ts-node/register src/app/**/*.spec.ts",
"clean": "rimraf -G ./build/* && rimraf -G ./logs/*",
"remove:docker-image-dev": "docker image rm -f typescript-first-app-dev",
"remove:docker-image-prod": "docker image rm -f typescript-first-app-prod",
"lint": "eslint -c .eslintrc.cjs --ext .ts src/**/*.ts",
"build:pm2": "pm2 kill && npm run clean && npm run lint && npm run test && webpack",
"start:pm2-dev": "NODE_ENV=development npm run build:pm2",
"run:pm2-dev": "pm2 delete ./config/pm2/pm2-dev-process.config.js && pm2 start ./config/pm2/pm2-dev-process.config.js",
"start:pm2-prod": "NODE_ENV=production npm run build:pm2",
"run:pm2-prod": "pm2 delete ./config/pm2/pm2-prod-process.config.js && pm2 start ./config/pm2/pm2-prod-process.config.js",
"start:docker": "NODE_ENV=development NODE_DOCKER=true npm run build:docker",
"build:docker": "npm run clean && npm run lint && npm run test && webpack",
"start:docker-dev": "NODE_ENV=development NODE_DOCKER=true npm run build:docker-dev",
"build:docker-dev": "npm run remove:docker-image-dev && npm run clean && npm run lint && npm run test && webpack",
"run:docker-dev": "docker build -f Dockerfile.dev -t typescript-first-app-dev .",
"start:docker-prod": "NODE_ENV=production NODE_DOCKER=true npm run build:docker-prod",
"build:docker-prod": "npm run remove:docker-image-prod && npm run clean && npm run lint && npm run test && webpack",
"run:docker-prod": "docker build -f Dockerfile.prod -t typescript-first-app-prod .",
"start:dev": "NODE_ENV=development NODE_LOCAL=true npm run build:dev",
"build:dev": "npm run clean && npm run lint && webpack",
"run:dev": "NODE_ENV=development PORT=7030 node build/main.bundle.js",
"start:prod": "NODE_ENV=production NODE_LOCAL=true npm run build:prod",
"build:prod": "npm run clean && npm run lint && npm run test && webpack",
"run:prod": "NODE_ENV=production PORT=7030 node build/main.bundle.js",
"start": "npx nodemon src/bin/www.ts",
"dev": "nodemon"
},
"keywords": [
"express",
"nodejs",
"swc",
"chai",
"mocha",
"typescript",
"pm2",
"webpack",
"tslog",
"ajv"
],
"repository": {
"type": "git",
"url": "https://github.com/dhianica/rebell.git"
},
"author": "Muchammad Ilham <[email protected]>",
"license": "MIT",
"devDependencies": {
"@swc/core": "^1.3.50",
"@swc/helpers": "^0.5.0",
"@types/body-parser": "^1.19.2",
"@types/chai": "^4.3.4",
"@types/express": "^4.17.17",
"@types/lodash": "^4.14.194",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@types/serve-favicon": "^2.5.3",
"@types/source-map": "0.5.2",
"@types/supertest": "^2.0.12",
"@types/webpack": "^5.28.1",
"@types/webpack-sources": "^3.2.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.58.0",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"eslint": "^8.38.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-sonarjs": "^0.19.0",
"favicons-webpack-plugin": "^6.0.0",
"mocha": "^10.2.0",
"npm-check-updates": "^16.10.8",
"regenerator-runtime": "^0.13.11",
"source-map": "^0.7.4",
"supertest": "^6.3.3",
"swc-loader": "^0.2.3",
"terser-webpack-plugin": "^5.3.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"uuid": "^9.0.0",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1",
"webpack-node-externals": "^3.0.0",
"webpack-shell-plugin-next": "^2.3.1"
},
"dependencies": {
"body-parser": "^1.20.2",
"dayjs": "^1.11.7",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"fast-glob": "^3.2.12",
"favicons": "^7.1.2",
"lodash": "^4.17.21",
"mysql2": "^3.2.1",
"rebell-core": "^1.0.1",
"rebell-utils": "^1.0.3",
"serve-favicon": "^2.5.0"
}
}