-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.05 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
{
"name": "bare-nodejs-server",
"version": "0.0.1",
"description": "Starter Node.js GraphQL server",
"private": true,
"main": "src/start.js",
"scripts": {
"start": "npm run update-graphql-imports && nodemon -e js,graphql --exec babel-node -r dotenv/config -- ./src/index.js",
"build": "babel src --quiet -d dist --ignore .test.js",
"serve": "npm run build && node -r dotenv/config -- dist",
"lint": "eslint ./src --ext .js --fix",
"format": "prettier --write src/**/*.js",
"update-graphql-imports": "rm -rf ./node_modules/.cache/@babel"
},
"engines": {
"node": ">=14.0.0"
},
"author": "Justin Woodward <justinwoodward92@gmail.com>",
"license": "MIT",
"dependencies": {
"@hapi/boom": "^9.1.0",
"apollo-datasource-rest": "^0.9.7",
"apollo-server-express": "^2.18.2",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"dotenv": "^8.2.0",
"express": "^4.16.4",
"graphql": "^15.3.0",
"graphql-tag": "^2.11.0",
"morgan": "^1.10.0",
"uuid": "^8.3.1"
},
"devDependencies": {
"@babel/cli": "^7.10.3",
"@babel/core": "^7.10.3",
"@babel/node": "^7.10.3",
"@babel/plugin-proposal-export-default-from": "^7.10.1",
"@babel/plugin-proposal-export-namespace-from": "^7.10.1",
"@babel/plugin-proposal-optional-chaining": "^7.10.3",
"@babel/preset-env": "^7.10.3",
"babel-eslint": "^10.1.0",
"babel-plugin-import-graphql": "^2.7.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jest": "^23.17.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-security": "^1.4.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"jest-extended": "^0.11.5",
"lint-staged": "^10.2.11",
"nodemon": "^2.0.4",
"prettier": "^2.0.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js,*.md,*.json": [
"eslint --fix",
"prettier --write"
]
}
}