-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
82 lines (82 loc) · 2.2 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
{
"name": "relay-local-schema",
"version": "0.8.0",
"description": "Use Relay without a GraphQL server",
"files": [
"lib"
],
"main": "lib/index.js",
"scripts": {
"build": "babel src -d lib --delete-dir-on-start",
"build-fixtures": "npm run update-schema && npm run relay-compiler",
"lint": "eslint src test",
"prepublish": "npm run build",
"relay-compiler": "relay-compiler --watchman false --src test --schema test/fixtures/schema.graphql",
"tdd": "jest --watch",
"test": "npm run build-fixtures && npm run lint && npm run testonly -- --coverage",
"testonly": "jest --runInBand --verbose",
"update-schema": "babel-node test/fixtures/updateSchema.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --fix"
},
"prettier": {
"printWidth": 79,
"singleQuote": true,
"trailingComma": "all"
},
"jest": {
"collectCoverageFrom": [
"src/**"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/relay-tools/relay-local-schema.git"
},
"keywords": [
"relay",
"graphql",
"react"
],
"author": "Jimmy Jia",
"license": "CC0-1.0",
"bugs": {
"url": "https://github.com/relay-tools/relay-local-schema/issues"
},
"homepage": "https://github.com/relay-tools/relay-local-schema#readme",
"peerDependencies": {
"graphql": ">=0.5.0",
"relay-runtime": ">=1.0.0"
},
"devDependencies": {
"@4c/babel-preset": "^7.4.1",
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/node": "^7.14.7",
"babel-jest": "^26.6.3",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-relay": "^10.1.3",
"codecov": "^3.8.2",
"eslint": "^7.29.0",
"eslint-config-4catalyzer": "^1.2.0",
"eslint-config-4catalyzer-jest": "^2.1.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-prettier": "^3.4.0",
"graphql": "^15.5.1",
"graphql-relay": "^0.7.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.3.2",
"relay-compiler": "^10.1.3",
"relay-runtime": "^10.1.3"
}
}