-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 1.72 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
{
"name": "relay-store-types-generator",
"version": "0.1.2",
"main": "dist/index.js",
"bin": {
"relay-store-types-generator": "dist/index.js"
},
"author": "Gabriel Nordeborn",
"license": "MIT",
"sideEffects": false,
"repository": "https://github.com/zth/relay-store-types-generator",
"description": "Generate types for the Relay store from your GraphQL schema.",
"files": [
"package.json",
"README.md",
"LICENSE",
"dist",
"yarn.lock"
],
"scripts": {
"build": "rm -rf dist && tsc -m commonjs --outDir dist",
"test:build-assets": "yarn build && node dist/index.js --flow --schema ./test/testSchema.graphql --out-dir ./test --custom-scalars-path ./test/testCustomScalars.js",
"prepublish": "yarn build"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"graphql",
"relay",
"relaymodern",
"react"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 80
},
"dependencies": {
"@babel/generator": "^7.4.4",
"@babel/types": "^7.4.4",
"array-flat-polyfill": "^1.0.1",
"commander": "^2.20.0",
"graphql": "^14.3.0",
"invariant": "^2.2.4",
"typescript": "^3.4.5"
},
"devDependencies": {
"@types/babel__generator": "^7.0.2",
"@types/commander": "^2.12.2",
"@types/graphql": "^14.2.0",
"@types/invariant": "^2.2.29",
"@types/node": "^12.0.0",
"@types/prettier": "^1.16.3",
"flow-bin": "^0.98.1",
"husky": "^2.3.0",
"lint-staged": "^8.1.7",
"prettier": "1.17.0"
}
}