-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
49 lines (49 loc) · 1.74 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
{
"name": "http_mysql",
"version": "0.1.2",
"private": true,
"scripts": {
"start": "cross-env PORT=80 npx gulp start",
"dev": "cross-env PORT=3000 npx gulp dev",
"test": "npx gulp test",
"pm2_start": "cross-env PORT=80 npx gulp pm2_start",
"pm2_restart": "pm2 restart http_mysql",
"pm2_stop": "pm2 stop http_mysql",
"pm2_rm": "npm run pm2_stop && pm2 delete http_mysql",
"pm2_list": "pm2 list",
"pm2_log": "pm2 logs",
"pm2_setlog": "pm2 set pm2-logrotate:max_size 10M",
"docker_build": "docker build -t http_mysql .",
"docker_start": "docker-compose up -d --remove-orphans && npm run docker_log",
"docker_stop": "docker-compose stop",
"docker_log": "docker-compose logs -f --tail=\"100\"",
"docker_rm": "docker-compose stop && docker-compose rm -f",
"webpack_build": "webpack --config ./web/webpack/webpack.prod.js",
"webpack_analyz": "cross-env analyz=true npm run web_build"
},
"dependencies": {
"core-js": "^3.6.4",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"express": "^4.17.3",
"gulp-cli": "^2.3.0",
"mysql": "^2.18.1",
"pm2": "^5.2.2"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"babel-loader": "^8.3.0",
"clean-webpack-plugin": "^3.0.0",
"esm": "^3.2.25",
"mocha": "^10.1.0",
"request": "^2.88.2",
"source-map-loader": "^4.0.1",
"uglifyjs-webpack-plugin": "^2.2.0",
"gulp": "^4.0.2",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-merge": "^4.2.2",
"webpack-node-externals": "^2.5.2"
}
}