-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.66 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
{
"name": "jsfoo18-demo-serverapp",
"version": "1.0.0",
"description": "Express based server application to demo GraphQL with Apollo Server at JSFoo Conf 2018",
"main": "./dist/bin/server.js",
"scripts": {
"start": "concurrently \"npm run start:dev\" \"npm run watch\" ",
"start:dev": "NODE_ENV=development node --inspect ./dist/bin/server.js",
"start:prod": "NODE_ENV=production node ./dist/bin/server.js",
"build": "npm run clean:dist && tsc",
"build:ci": "npm run lint && npm run test && npm run build",
"test": "jest --coverage --verbose",
"lint": "tslint --fix -c tslint.json -p tsconfig.json",
"watch": "tsc -w",
"clean:dist": "rimraf ./dist",
"postinstall": "npm run build",
"precommit": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/techsavvyjitsu/jsfoo18-demo-serverapp.git"
},
"keywords": [
"graphql",
"jsfoo-2018",
"apollo",
"server"
],
"author": "Ashwin Hegde <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/techsavvyjitsu/jsfoo18-demo-serverapp/issues"
},
"homepage": "https://github.com/techsavvyjitsu/jsfoo18-demo-serverapp#readme",
"devDependencies": {
"@types/axios": "^0.14.0",
"@types/body-parser": "^1.17.0",
"@types/compression": "0.0.36",
"@types/cors": "^2.8.4",
"@types/debug": "0.0.30",
"@types/errorhandler": "0.0.32",
"@types/express": "^4.16.0",
"@types/graphql": "^0.13.1",
"@types/helmet": "0.0.38",
"@types/jest": "^23.0.0",
"@types/node": "^10.3.2",
"apollo-codegen": "^0.19.1",
"concurrently": "^3.5.1",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.1.3",
"prettier": "^1.13.5",
"prettier-check": "^2.0.0",
"rimraf": "^2.6.2",
"ts-jest": "^22.4.6",
"tslint": "^5.10.0",
"typescript": "^2.9.1"
},
"dependencies": {
"apollo-server-express": "^1.3.6",
"axios": "^0.18.0",
"body-parser": "^1.18.3",
"compression": "^1.7.2",
"cors": "^2.8.4",
"debug": "^3.1.0",
"errorhandler": "^1.5.0",
"express": "^4.16.3",
"express-validator": "^5.2.0",
"graphql": "^0.13.2",
"graphql-tools": "^3.0.2",
"helmet": "^3.12.1"
},
"lint-staged": {
"*.ts": [
"prettier --write \"{*config*.js,package.json,ts*.json,*config.js,src,__{tests,mocks}__}/**/*.ts\"",
"git add"
],
"*.js": [
"prettier --write \"{*config*.js,package.json,ts*.json,*config.js,src,__{tests,mocks}__}/**/*.ts\"",
"git add"
],
"*.json": [
"prettier --write \"{*config*.js,package.json,ts*.json,*config.js,src,__{tests,mocks}__}/**/*.ts\"",
"git add"
]
}
}