-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
73 lines (73 loc) · 2.03 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
{
"name": "dgraphql",
"version": "0.7.1",
"description": "Generate graphql schema for dgraph.",
"main": "lib/index.js",
"bin": {
"dgraphql": "lib/cli.js"
},
"homepage": "https://github.com/dpeek/dgraphql",
"bugs": {
"url": "https://github.com/dpeek/dgraphql/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/dpeek/dgraphql.git"
},
"author": "David Peek",
"license": "BSD-2-Clause",
"scripts": {
"test": "yarn run dgraph:init && jest --coverage",
"test:watch": "yarn run dgraph:init && jest --watch",
"check": "flow",
"lint": "eslint",
"prepare": "babel src --optional runtime --ignore __tests__ --out-dir lib/",
"start": "yarn run dgraph:init && babel-node example",
"dgraph:start": "docker-compose up -d",
"dgraph:stop": "docker-compose down",
"dgraph:init":
"babel-node src/cli.js update -s ./src/__tests__/schema.graphql"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"dgraph-js": "^1.0.0",
"graphql": "^0.12.0",
"graphql-tools": "^2.14.0",
"invariant": "^2.2.2",
"pluralize": "^5.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^8.0.3",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-0": "^6.24.1",
"codecov": "^3.0.0",
"commander": "^2.12.2",
"eslint": "^4.13.0",
"eslint-config-standard-flow": "^1.0.1",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-jest": "^21.4.2",
"express": "^4.15.3",
"express-graphql": "^0.6.6",
"flow-bin": "^0.49.1",
"jest": "^22.0.0"
},
"babel": {
"presets": ["flow", "env", "stage-0"],
"plugins": ["transform-runtime"]
},
"eslintConfig": {
"extends": ["standard", "standard-flow"],
"parser": "babel-eslint",
"plugins": ["babel", "jest"],
"env": {
"jest/globals": true
}
},
"jest": {
"testRegex": "\\.test\\.js$",
"coveragePathIgnorePatterns": ["/node_modules/", "__tests__"]
}
}