-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.49 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.49 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
{
"name": "gitbook-nodejs",
"version": "1.0.0",
"description": "gitbook nodejs",
"author": "ruanshudong <ruanshudong@qq.com>",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=tars ./node_modules/.bin/nodemon --exec ./node_modules/.bin/ts-node ./src/bin/www.ts --watch ./src -e ts,tsx ",
"doc": "cross-env NODE_ENV=doc ./node_modules/.bin/nodemon --exec ./node_modules/.bin/ts-node ./src/bin/www.ts --watch ./src -e ts,tsx ",
"build": "npm run eslint && tsc; cp -rf ./src/config/*.json dist/config/; cp -rf ./src/locale dist",
"docker": "docker build . -t tarscloud/gitbook",
"eslint": "./node_modules/.bin/eslint src --ext .ts",
"start": "node dist/bin/www.js",
"tar": "sh package.sh",
"prd": "pm2 start dist/bin/www.js --name=gitbook",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@types/bluebird": "^3.5.33",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-helmet": "^5.2.0",
"@types/koa-static": "^4.0.1",
"@types/node": "^14.14.24",
"@types/validator": "^13.1.3",
"axios": "^0.19.0",
"bcrypt-nodejs": "0.0.3",
"callsite": "^1.0.0",
"cluster": "^0.7.7",
"debug": "^2.6.3",
"fs-extra": "^5.0.0",
"git-clone": "^0.1.0",
"highlight.js": "^10.5.0",
"install": "^0.11.0",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.0",
"koa-bodyparser": "^3.2.0",
"koa-compress": "^2.0.0",
"koa-convert": "^1.2.0",
"koa-helmet": "^4.0.0",
"koa-json": "^2.0.2",
"koa-limit": "^1.0.2",
"koa-logger": "^2.0.1",
"koa-multer": "^1.0.2",
"koa-onerror": "^1.2.1",
"koa-router": "^7.1.1",
"koa-send": "^4.1.0",
"koa-session": "^6.1.0",
"koa-static": "^4.0.3",
"koa-views": "^5.2.1",
"lodash": "^4.17.19",
"marked": "^2.0.0",
"mysql2": "^2.2.5",
"node-schedule": "^1.3.0",
"nodejieba": "^2.5.1",
"nodemailer": "^6.4.17",
"reflect-metadata": "^0.1.13",
"sequelize": "^5.22.3",
"sequelize-typescript": "^1.1.0",
"svg-captcha": "^1.4.0",
"validator": "^9.4.1"
},
"devDependencies": {
"@types/fs-extra": "^8.1.1",
"@types/koa": "^2.11.6",
"@types/koa-router": "^7.4.1",
"@types/lodash": "^4.14.167",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"eslint": "^6.8.0",
"eslint-config-alloy": "^3.10.0",
"eslint-plugin-vue": "^7.5.0",
"cross-env": "^7.0.2",
"nodemon": "^1.19.4",
"ts-node": "^8.10.2",
"typescript": "^3.9.7"
}
}