-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.75 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.75 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
{
"name": "graphql-bookstore-server",
"description": "Example demonstrating the patterns in real-world GraphQL applications and implementing them using Apollo GraphQL",
"version": "0.1.0",
"main": "dist/index.js",
"author": "Naresh Bhatia",
"license": "MIT",
"homepage": "https://github.com/archfirst/graphql-bookstore-server",
"repository": {
"type": "git",
"url": "https://github.com/archfirst/graphql-bookstore-server.git"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"del-cli": "^1.1.0",
"eslint": "^4.16.0",
"husky": "^0.14.3",
"json-server": "^0.14.0",
"lint-staged": "^6.1.0",
"nodemon": "^1.14.12",
"prettier": "^1.10.2"
},
"dependencies": {
"axios": "^0.17.1",
"body-parser": "^1.18.2",
"cors": "^2.8.4",
"dotenv": "^5.0.0",
"express": "^4.16.2",
"graphql": "^0.11.7",
"graphql-server-express": "^1.3.2",
"graphql-subscriptions": "^0.5.6",
"graphql-tools": "^2.19.0",
"subscriptions-transport-ws": "^0.9.5"
},
"scripts": {
"start-db": "json-server --watch data/db.json --port 9000",
"watch": "nodemon --watch src --exec npm run watch:serve",
"watch:serve": "babel-node --inspect src/index.js",
"lint": "eslint src --ext .js",
"build": "del-cli dist && npm run lint && babel src -d dist",
"start": "node dist/index.js",
"format": "prettier --print-width 80 --tab-width 4 --single-quote --write 'src/**/*.js'",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --print-width 80 --tab-width 4 --single-quote --write",
"git add"
]
}
}