-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
108 lines (108 loc) · 3.41 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
{
"name": "relay-hooks",
"version": "9.2.0",
"keywords": [
"graphql",
"relay",
"hooks",
"react",
"ssr"
],
"main": "lib/index.js",
"module": "./lib/es/index.js",
"unpkg": "lib/umd/relay-hooks.min.js",
"license": "MIT",
"description": "Relay Hooks",
"author": {
"name": "morrys"
},
"homepage": "https://relay-tools.github.io/relay-hooks/docs/relay-hooks.html",
"repository": {
"type": "git",
"url": "https://github.com/relay-tools/relay-hooks"
},
"scripts": {
"clean": "rimraf lib",
"relay-compile-test": "relay-compiler",
"compile": "npm run clean && tsc && tsc --project tsconfig.esm.json && npm run build:js && npm run build:replace && npm run rollup",
"rollup": "rollup -c",
"build": "npm run compile && npm run test",
"test": "npm run relay-compile-test && jest --clearCache && npm run execute-test",
"execute-test": "cross-env NODE_ENV=test jest --coverage",
"format": "prettier --write \"src/**/*.{j,t}s*\"",
"format:ci": "prettier --list-different \"src/**/*.{j,t}s*\"",
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"prepublishOnly": "npm run build",
"build:js": "babel lib --out-dir lib --extensions \".js,.jsx\" && babel lib/es --out-dir lib/es --extensions \".js,.jsx\"",
"build:replace": "replace-in-file --configFile=replace.config.js"
},
"relay": {
"src": "./__tests__",
"schema": "./__tests__/testschema.graphql",
"excludes": [
"__generated__",
"node_modules"
],
"language": "typescript",
"artifactDirectory": "./__tests__/__generated__/"
},
"dependencies": {
"@restart/hooks": "^0.4.9",
"fbjs": "^3.0.2"
},
"peerDependencies": {
"react": "^16.9.0 || ^17 || ^18",
"relay-runtime": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"babel-preset-fbjs": "^3.3.0",
"@babel/cli": "^7.8.3",
"@babel/runtime": "7.18.9",
"@rollup/plugin-commonjs": "14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-babel": "5.2.2",
"@types/fbjs": "^3.0.0",
"@types/jest": "24.0.18",
"@types/node": "13.9.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-test-renderer": "^18.0.0",
"@types/relay-runtime": "^14.1.9",
"@typescript-eslint/eslint-plugin": "5.10.0",
"@typescript-eslint/parser": "5.10.0",
"replace-in-file": "6.2.0",
"cross-env": "^7.0.2",
"eslint": "8.7.0",
"eslint-config-prettier": "8.3.0",
"eslint-import-resolver-typescript": "2.5.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"graphql": "^14.2.0",
"jest": "^26.0.0",
"lerna": "^3.16.4",
"prettier": "2.8.6",
"promise-polyfill": "6.1.0",
"react": "^18.0.0",
"react-test-renderer": "^18.0.0",
"relay-compiler": "^18.0.0",
"relay-runtime": "^18.0.0",
"relay-test-utils": "^18.0.0",
"relay-test-utils-internal": "^18.0.0",
"rimraf": "^2.5.4",
"rollup": "^2.23.0",
"rollup-plugin-sourcemaps": "0.6.2",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-typescript2": "^0.27.1",
"ts-relay-plugin": "1.0.1",
"ts-jest": "^26.5.6",
"typescript": "^4.5.4"
},
"funding": {
"url": "https://github.com/sponsors/morrys"
}
}