-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.85 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.85 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
85
86
87
88
89
90
91
92
{
"name": "serain-talk",
"description": "Next generation forum engine designed for cnCalc.org",
"version": "1.0.0",
"author": "ntzyz <ntzyz@live.cn>",
"contributors": [
"kasora <kasorasun@gmail.com>"
],
"private": false,
"scripts": {
"init": "node ./database-init/index.js",
"lint": "eslint --fix $(find . \\( -name \"*.js\" -o -name \"*.vue\" \\) -not \\( -path \"./coverage/*\" -o -path \"./node_modules/*\" -o -path \"./web/node_modules/*\" -o -path \"./app/public/*\" -o -path \"./web/dist/*\" -o -path \"./uploads/*\" -o -name \".*\" \\))",
"test": "cross-env NODE_ENV=mocha nyc mocha ./test/**/*.js -R spec --recursive -u tdd --timeout 999999 --colors --full-trace --exit",
"cover": "nyc report --reporter=text-lcov | coveralls && rm -rf ./coverage && rm -rf ./.nyc_output",
"postinstall": "cd web ; which cnpm > /dev/null 2> /dev/null ; if test \"$?\" -eq \"0\" ; then cnpm i ; else npm i ; fi ;",
"build": "cd web && npm run build",
"dev": "node --inspect ./index.js",
"production:stable": "cross-env NODE_ENV=production RELEASE=stable node ./index.js",
"production:beta": "cross-env NODE_ENV=production RELEASE=beta node ./index.js"
},
"nyc": {
"require": [
"babel-plugin-istanbul",
"@babel/register",
"@babel/polyfill"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true,
"instrument": true
},
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-async-to-generator"
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"dependencies": {
"body-parser": "^1.19.0",
"chalk": "^4.1.0",
"cookie-parser": "^1.4.5",
"express": "^4.17.1",
"express-validation": "^3.0.6",
"highlight.js": "^10.2.1",
"joi": "^17.2.1",
"joi-to-json-schema": "^5.1.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.20",
"markdown-it": "^11.0.1",
"mmmagic": "^0.5.3",
"mongodb": "^3.6.2",
"multer": "^1.4.2",
"nodejieba": "^2.4.1",
"nodemailer": "^6.4.14",
"sharp": "^0.26.1",
"socket.io": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/plugin-transform-async-to-generator": "^7.10.4",
"@babel/polyfill": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/register": "^7.11.5",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.11.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^7.0.1",
"mocha": "^8.1.3",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"power-assert": "^1.6.1",
"supertest": "^5.0.0"
}
}