forked from facebook/relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 4.11 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "relay-github-root",
"description": "A framework for building data-driven React applications.",
"version": "16.1.0",
"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 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.18.6",
"@babel/generator": "^7.18.6",
"@babel/helper-check-duplicate-nodes": "^7.18.6",
"@babel/parser": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-optional-catch-binding": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.18.6",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-regenerator": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@babel/traverse": "^7.14.0",
"@babel/types": "^7.0.0",
"@jest/create-cache-key-function": "^26.6.2",
"babel-eslint": "^10.1.0",
"babel-plugin-macros": "^2.0.0",
"babel-plugin-syntax-hermes-parser": "0.18.2",
"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.23.1",
"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.30.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-relay": "1.8.3",
"eslint-plugin-relay-internal": "link:./packages/eslint-plugin-relay-internal",
"fbjs": "^3.0.2",
"flow-bin": "^0.225.1",
"glob": "^7.1.1",
"graphql": "15.3.0",
"gulp": "4.0.2",
"gulp-babel": "8.0.0",
"gulp-chmod": "3.0.0",
"gulp-header": "2.0.9",
"gulp-rename": "^2.0.0",
"gulp-util": "3.0.8",
"hermes-eslint": "0.18.2",
"invariant": "^2.2.4",
"jest": "^26.6.3",
"nullthrows": "^1.1.1",
"prettier": "2.8.8",
"prettier-plugin-hermes-parser": "0.18.2",
"promise-polyfill": "6.1.0",
"react": "17.0.2",
"react-refresh": "^0.9.0",
"react-test-renderer": "17.0.2",
"webpack": "^5.89.0",
"webpack-stream": "^7.0.0"
},
"resolutions": {
"glob-watcher": "^6.0.0"
},
"private": true,
"devEngines": {
"node": ">=4.x",
"npm": ">=2.x"
},
"prettier": {
"arrowParens": "avoid",
"bracketSameLine": true,
"bracketSpacing": false,
"requirePragma": true,
"singleQuote": true,
"trailingComma": "all",
"parser": "hermes"
},
"jest": {
"testRegex": "/__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"
],
"timers": "fake",
"transform": {
".*": "<rootDir>/scripts/jest/preprocessor.js"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
],
"testEnvironment": "node"
},
"devDependencies": {}
}