-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
97 lines (97 loc) · 2.56 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
{
"name": "lexis-back",
"version": "0.1.0",
"description": "Back-end for the language-learning platform Lexis",
"readme": "README.md",
"license": "MIT",
"dependencies": {
"apollo-server-koa": "^1.1.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-jest": "^21.0.2",
"babel-plugin-root-import": "^5.1.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"body-parser": "^1.18.1",
"crypto": "^1.0.1",
"es6-promisify": "^5.0.0",
"graphql": "^0.11.3",
"graphql-server-koa": "^1.1.2",
"graphql-tools": "^1.2.2",
"jsonwebtoken": "^7.4.3",
"kcors": "^2.2.1",
"koa": "^2.3.0",
"koa-body": "^2.3.0",
"koa-bodyparser": "^4.2.0",
"koa-convert": "^1.2.0",
"koa-csrf": "^3.0.6",
"koa-jwt": "2",
"koa-multer": "^1.0.2",
"koa-passport": "^4.0.0",
"koa-router": "^7.2.1",
"koa-static": "^4.0.1",
"koa2-cors": "^2.0.3",
"mongodb": "^2.2.31",
"mongoose": "^4.11.11",
"mongoose-schema-extend": "^0.2.2",
"nodemon": "^1.12.1",
"passport-local": "^1.0.0",
"redis": "^2.8.0",
"winston": "^2.3.1"
},
"devDependencies": {
"chai": "^4.1.1",
"dotenv": "^4.0.0",
"eslint": "^4.7.2",
"eslint-plugin-flowtype": "^2.36.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-standard": "^3.0.1",
"express-to-koa": "^1.0.6",
"flow-bin": "^0.54.1",
"flow-remove-types": "^1.2.1",
"graceful-fs": "^4.1.11",
"jest": "^21.1.0",
"prettier-standard": "^7.0.1",
"server-destroy": "^1.0.1",
"standard": "^10.0.3"
},
"standard": {
"ignore": [
"build"
],
"global": [
"localStorage",
"alert"
],
"plugins": [
"flowtype"
],
"parser": "babel-eslint"
},
"scripts": {
"start": "nodemon --watch dist --delay 1 dist/index.js",
"test": "jest",
"test-start": "jest",
"compile": "nodemon --watch src node_modules/.bin/babel src/ -- src/ -d dist/",
"test-full": "standard && flow && jest",
"format": "./node_modules/.bin/prettier-standard \"src/**/*.{js,jsx}\"",
"precommit": "lint-staged"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/"
]
},
"lint-staged": {
"**/src/**/*.{js,jsx,json,css}": [
"yarn run format",
"git add"
]
}
}