-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 4.22 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 4.22 KB
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
112
113
114
115
116
117
118
119
120
121
{
"name": "relay-github-root",
"description": "A framework for building data-driven React applications.",
"version": "20.1.1",
"license": "MIT",
"homepage": "https://relay.dev",
"bugs": "https://github.com/facebook/relay/issues",
"repository": "facebook/relay",
"scripts": {
"build": "gulp dist",
"build:clean": "gulp cleanbuild",
"build:watch": "gulp watch",
"jest": "cross-env NODE_ENV=test OSS=true jest \"$@\"",
"lint": "eslint --max-warnings 0 .",
"postinstall": "npm run build",
"prepublishOnly": "npm run build:clean",
"prettier": "find . -name node_modules -prune -or -name dist -prune -or -name '*.js' -print | xargs prettier --write",
"prettier-check": "find . -name node_modules -prune -or -name dist -prune -or -name '*.js' -print | xargs prettier --check",
"test": "f() { EXIT=0; npm run typecheck || EXIT=$?; npm run test-dependencies || EXIT=$?; npm run jest \"$@\" || EXIT=$?; exit $EXIT; }; f",
"test-dependencies": "node ./scripts/testDependencies.js",
"typecheck": "flow check"
},
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/generator": "^7.29.1",
"@babel/helper-check-duplicate-nodes": "^7.24.7",
"@babel/parser": "^7.29.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-transform-async-to-generator": "^7.24.7",
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@babel/plugin-transform-regenerator": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/runtime": "^7.25.0",
"@babel/traverse": "^7.29.0",
"@babel/types": "^7.29.0",
"@jest/create-cache-key-function": "^29.7.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"babel-eslint": "^10.1.0",
"babel-plugin-macros": "^2.0.0",
"babel-plugin-syntax-hermes-parser": "0.33.3",
"babel-plugin-tester": "^6.0.1",
"babel-preset-fbjs": "^3.4.0",
"cosmiconfig": "^5.0.5",
"cross-env": "^7.0.2",
"del": "6.0.0",
"eslint": "^8.57.0",
"eslint-config-fbjs": "4.0.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-ft-flow": "2.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "26.5.3",
"eslint-plugin-jsx-a11y": "6.6.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-relay": "1.8.3",
"eslint-plugin-relay-internal": "link:./packages/eslint-plugin-relay-internal",
"fbjs": "^3.0.2",
"flow-bin": "^0.304.0",
"graphql": "15.3.0",
"gulp": "4.0.2",
"gulp-babel": "8.0.0",
"gulp-chmod": "3.0.0",
"gulp-rename": "^2.0.0",
"hermes-eslint": "0.33.3",
"invariant": "^2.2.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"nullthrows": "^1.1.1",
"prettier": "3.6.2",
"prettier-plugin-hermes-parser": "0.34.1",
"promise-polyfill": "6.1.0",
"react": "0.0.0-experimental-7670501b-20241124",
"react-dom": "0.0.0-experimental-7670501b-20241124",
"react-refresh": "0.0.0-experimental-7670501b-20241124",
"react-test-renderer": "0.0.0-experimental-7670501b-20241124"
},
"resolutions": {
"glob-watcher": "^6.0.0",
"@babel/traverse": "^7.23.2"
},
"private": true,
"jest": {
"testMatch": [
"<rootDir>/packages/**/__tests__/**/*-test.js"
],
"modulePathIgnorePatterns": [
"<rootDir>/lib/",
"<rootDir>/node_modules/(?!(fbjs/lib/|react/lib/))",
"<rootDir>/packages/relay-flight-experimental/"
],
"rootDir": "",
"roots": [
"<rootDir>/node_modules/fbjs/lib/",
"<rootDir>/packages/"
],
"setupFiles": [
"<rootDir>/scripts/jest/environment.js"
],
"fakeTimers": {
"enableGlobally": true,
"legacyFakeTimers": true
},
"transform": {
".*": "<rootDir>/scripts/jest/preprocessor.js"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
],
"testEnvironment": "node",
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
}
},
"devDependencies": {}
}