/
package.json
115 lines (115 loc) · 2.99 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
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "community",
"author": "xugaoyang <i@xugaoyang.com>",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=8.9.1",
"npm": ">=5.5.1"
},
"scripts": {
"prestart": "npm run -s build",
"start": "NODE_ENV=production PORT=3000 node ./dist/app.js",
"dev": "nodemon ./src/app.js --exec \"node -r dotenv/config -r babel-register\"",
"clean": "rimraf dist",
"build": "npm run clean && mkdir -p dist && babel src -s -D -d dist --ignore src/public && cp -r src/public dist",
"test": "jest --watch",
"lint": "esw -w src test",
"config": "cp src/config/index.default.js src/config/index.pro.js"
},
"dependencies": {
"babel-cli": "^6.24.1",
"babel-runtime": "^6.26.0",
"bcrypt": "^1.0.3",
"bluebird": "^3.5.1",
"body-parser": "~1.17.1",
"bytes": "^3.0.0",
"connect-busboy": "0.0.2",
"connect-mongo": "^1.3.2",
"cookie-parser": "~1.4.3",
"cors": "^2.8.4",
"date-fns": "^1.29.0",
"debug": "~2.6.3",
"ejs": "~2.5.6",
"ejs-mate": "^2.3.0",
"express": "~4.15.2",
"express-graphql": "^0.6.11",
"express-jwt": "^5.3.0",
"express-session": "^1.15.5",
"express-useragent": "^1.0.8",
"graphql": "^0.12.3",
"highlight.js": "^9.12.0",
"jsonfile": "3.0.1",
"jwt-simple": "^0.5.1",
"log4js": "^2.3.3",
"marked": "^0.3.16",
"method-override": "^2.3.10",
"mongoose": "^4.11.11",
"morgan": "~1.8.1",
"multiline": "^1.0.2",
"nodemailer": "^4.1.0",
"nodemailer-smtp-transport": "^2.7.4",
"passport": "^0.4.0",
"passport-github": "^1.1.0",
"pm2": "^2.7.2",
"qn": "^1.3.0",
"ramda": "^0.25.0",
"rimraf": "^2.6.1",
"serve-favicon": "~2.4.2",
"shelljs": "^0.7.8",
"sitemap": "^1.13.0",
"superagent": "^3.6.0",
"utility": "^1.12.0",
"uuid": "^3.2.1",
"validator": "^8.2.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^20.0.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.24.1",
"dotenv": "^4.0.0",
"eslint": "^3.19.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jest": "^20.0.0",
"eslint-watch": "^3.1.0",
"jest": "^20.0.0",
"nodemon": "^1.11.0",
"supertest": "^3.0.0"
},
"eslintConfig": {
"plugins": [
"import",
"promise",
"jest"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"node": true,
"jest": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"jest/no-focused-tests": 2,
"jest/no-identical-title": 2
}
},
"jest": {
"testEnvironment": "node",
"globals": {
"__DEV__": true
}
}
}