forked from facebook/relay
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 3.43 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
{
"name": "relay",
"description": "A framework for building data-driven React applications.",
"version": "13.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 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",
"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.14.0",
"@babel/generator": "^7.14.0",
"@babel/parser": "^7.14.0",
"@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.0.0",
"@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-tester": "^6.0.1",
"babel-preset-fbjs": "^3.4.0",
"cosmiconfig": "^5.0.5",
"cross-env": "^7.0.2",
"del": "6.0.0",
"eslint": "5.4.0",
"eslint-config-fbjs": "2.1.0",
"eslint-plugin-babel": "5.1.0",
"eslint-plugin-flowtype": "2.50.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.21.5",
"eslint-plugin-relay": "1.7.1",
"fbjs": "^3.0.2",
"flow-bin": "^0.171.0",
"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",
"invariant": "^2.2.4",
"jest": "^26.6.3",
"nullthrows": "^1.1.1",
"prettier": "^2.4.1",
"promise-polyfill": "6.1.0",
"react": "17.0.2",
"react-refresh": "^0.9.0",
"react-test-renderer": "17.0.2",
"webpack": "^4.30.0",
"webpack-stream": "^5.1.1"
},
"private": true,
"devEngines": {
"node": ">=4.x",
"npm": ">=2.x"
},
"prettier": {
"bracketSameLine": true,
"bracketSpacing": false,
"parser": "flow",
"requirePragma": true,
"singleQuote": true,
"trailingComma": "all"
},
"jest": {
"testRegex": "/__tests__/.*-test\\.js$",
"modulePathIgnorePatterns": [
"<rootDir>/lib/",
"<rootDir>/node_modules/(?!(fbjs/lib/|react/lib/))"
],
"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": {}
}