This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
/
package.json
111 lines (111 loc) · 3.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "relay-compiler-language-typescript",
"version": "15.0.1",
"description": "A language plugin for Relay that adds TypeScript support, including emitting type definitions.",
"keywords": [
"graphql",
"react",
"relay",
"typescript"
],
"homepage": "https://github.com/relay-tools/relay-compiler-language-typescript",
"bugs": {
"url": "https://github.com/relay-tools/relay-compiler-language-typescript/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/relay-tools/relay-compiler-language-typescript.git"
},
"license": "MIT",
"contributors": [
{
"name": "Kaare Hoff Skovgaard",
"email": "[email protected]"
},
{
"name": "Eloy Durán",
"email": "[email protected]"
}
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "rimraf lib && tsc --project tsconfig.build.json",
"lint": "tslint -c tslint.json --project tsconfig.json",
"prettier": "prettier --write '{src,types,test}/**/*.ts'",
"prepublish": "npm run build",
"relay": "node bin/relay-compiler.js --schema test/schema.graphql --src test/ --outputDir __generated__",
"sync-fixtures": "ts-node ./syncFixtures.ts",
"test": "npm run type-check && jest",
"type-check": "tsc --noEmit --pretty",
"watch": "concurrently 'tsc --watch --project tsconfig.build.json' 'chokidar \"lib/**/*.js\" -c \"yalc publish --force --push\"'",
"release": "npx [email protected] shipit -v",
"prepare": "husky install"
},
"lint-staged": {
"**/*.json": [
"prettier --write",
"git add"
],
"{src,types}/**/*.ts": [
"tslint -c tslint.json --fix",
"prettier --write",
"git add"
]
},
"prettier": {},
"jest": {
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"testRegex": "test/.+?-test\\.tsx?$",
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"dependencies": {
"invariant": "^2.2.4"
},
"devDependencies": {
"@babel/runtime": "7.23.1",
"@types/invariant": "2.2.35",
"@types/jest": "^27.0.2",
"@types/node": "18.16.3",
"@types/relay-compiler": "^8.0.1",
"@types/relay-runtime": "^12.0.0",
"babel-plugin-relay": "^12.0.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^7.0.0",
"glob": "^7.1.6",
"graphql": "^15.6.0",
"husky": "^7.0.0",
"jest": "^27.2.2",
"jest-cli": "^27.2.2",
"lint-staged": "^12.0.2",
"prettier": "^2.2.1",
"relay-compiler": "^12.0.0",
"relay-runtime": "^12.0.0",
"relay-test-utils-internal": "^12.0.0",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "4.9.5"
},
"peerDependencies": {
"@types/react-relay": ">=11.0.2",
"@types/relay-runtime": ">=12.0.0",
"relay-compiler": ">=12.0.0",
"relay-runtime": ">=12.0.0",
"typescript": ">=4.5.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}