-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
49 lines (49 loc) · 1.36 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
{
"name": "project-trainsite-api",
"description": "Backend API server for the Coding Train website",
"private": true,
"version": "0.1.0",
"author": "The Coding Train Website Team",
"license": "MIT",
"engines": {
"node": ">=8.4.0"
},
"scripts": {
"dev": "cross-env NODE_ENV=development DISABLE_LOGGING=true keystone dev --entry=src/index.js",
"build": "cross-env NODE_ENV=production keystone build --entry=src/index.js",
"start": "cross-env NODE_ENV=production keystone start --entry=src/index.js",
"format": "prettier --write src/**/*.js",
"lint": "eslint src/**/*.js",
"fix": "yarn run lint --fix"
},
"dependencies": {
"@keystonejs/adapter-mongoose": "^5.0.0",
"@keystonejs/app-admin-ui": "^5.0.0",
"@keystonejs/app-graphql": "^5.0.0",
"@keystonejs/auth-password": "^5.0.0",
"@keystonejs/fields": "^5.1.0",
"@keystonejs/keystone": "^5.0.0",
"cross-env": "^5.2.0"
},
"devDependencies": {
"eslint": "^6.6.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"prettier": "1.19.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
}
}