Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.76 KB
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
{
"name": "blog",
"version": "2.0.0",
"description": "",
"main": "koa.js",
"engines": {
"node": "12.18.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node koa.js --env=production",
"dev": "node koa.js --env=production",
"lint-client": "cd dva-version && eslint --ext .js src test",
"dev-pc": "npm-run-all --parallel server pc-server",
"dev-mobile": "npm-run-all --parallel server mobile-server",
"build-pc": "npm run rm-old && cd pc && npm run build",
"build-mobile": "npm run rm-mobile && cd umi-mobile && npm run build",
"rm-old": "rm -r public/pc-src",
"rm-mobile": "rm -r public/mobile",
"server": "nodemon -i ./pc/ koa -i ./umi-mobile -i ./views --env=development",
"pc-server": "cd pc && npm run dev",
"mobile-server": "cd umi-mobile && npm run dev",
"lint-server": "eslint ./controllers/**/*.js ./middleware/**/*.js ./common/**/*.js",
"lint-server-fix": "eslint --fix ./controllers/**/*.js ./middleware/**/*.js ./common/**/*.js",
"precommit": "npm run lint-server",
"push": "node push.js"
},
"author": "Ada",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"babel-core": "^6.26.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^7.1.5",
"babel-plugin-transform-remove-strict-mode": "0.0.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-latest": "^6.24.1",
"eslint": "^4.14.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-config-umi": "^0.1.1",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-standard": "^4.0.1",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-concat": "^2.6.1",
"gulp-uglify": "^3.0.2",
"happypack": "^5.0.1",
"js-cookie": "^2.2.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2"
},
"dependencies": {
"ejs": "^2.6.1",
"emailjs": "^3.2.1",
"js-base64": "^2.4.8",
"jsonwebtoken": "^8.5.1",
"koa": "^2.6.2",
"koa-bodyparser": "^4.2.1",
"koa-json": "^2.0.2",
"koa-jwt": "^3.5.1",
"koa-logger": "^3.2.0",
"koa-router": "^7.4.0",
"koa-session": "^5.10.1",
"koa-static": "^5.0.0",
"koa-views": "^6.1.4",
"moment-timezone": "^0.5.32",
"mongoose": "^5.2.6",
"netease-music-sdk": "^0.3.3",
"request": "^2.88.2",
"scs-sdk": "^0.1.4",
"svg-captcha": "^1.3.12"
}
}