-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
77 lines (77 loc) · 1.92 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
{
"name": "graphql-cost-analysis",
"version": "1.0.3",
"description": "Graphql query cost analyzer. Use it to protect your GraphQL servers against DoS attacks, compute data consumption per user and limit it.",
"main": "dist/index.js",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/pa-bru/graphql-cost-analysis.git"
},
"bugs": {
"url": "https://github.com/pa-bru/graphql-cost-analysis/issues"
},
"homepage": "https://github.com/pa-bru/graphql-cost-analysis",
"keywords": [
"graphql",
"graphql-js",
"cost",
"analysis",
"analyzer",
"analyzer",
"directive",
"complexity",
"query",
"validation",
"rule"
],
"author": "Paul-Adrien Bru",
"license": "MIT",
"peerDependencies": {
"graphql": ">=0.11.7"
},
"scripts": {
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run flow",
"precommit": "lint-staged",
"lint": "eslint src",
"prebuild": "rimraf dist",
"build": "babel src --out-dir dist --ignore '**/*.test.js'",
"test": "jest src",
"flow": "flow"
},
"dependencies": {
"selectn": "^1.1.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.1",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.1.2",
"babel-jest": "^23.6.0",
"eslint": "^4.14.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"flow-bin": "^0.62.0",
"graphql": "^0.12.3",
"graphql-tools": "^2.14.1",
"husky": "^0.14.3",
"jest": "^23.6.0",
"lint-staged": "^6.1.1",
"rimraf": "^2.6.2"
},
"lint-staged": {
"*.js": [
"eslint src --fix",
"git add"
]
}
}