-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
147 lines (147 loc) · 5.76 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"version": "1.0.0",
"name": "relay-devtools",
"repository": "relayjs/relay-devtools",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/shells"
],
"modulePaths": [
"<rootDir>"
],
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/src/$1",
"\\.css$": "<rootDir>/src/__tests__/__mocks__/cssMock.js"
},
"setupFiles": [
"<rootDir>/src/__tests__/setupEnv"
],
"setupFilesAfterEnv": [
"<rootDir>/src/__tests__/setupTests"
],
"snapshotSerializers": [
"<rootDir>/src/__tests__/storeSerializer"
],
"testMatch": [
"**/__tests__/**/*-test.js"
]
},
"scripts": {
"build:core:backend": "cd ./packages/relay-devtools-core && yarn build:backend",
"build:core:standalone": "cd ./packages/relay-devtools-core && yarn build:standalone",
"build:demo": "cd ./shells/dev && cross-env NODE_ENV=development cross-env TARGET=remote webpack --config webpack.config.js",
"build:extension": "cross-env NODE_ENV=production yarn run build:extension:chrome && yarn run build:extension:firefox",
"build:extension:dev": "cross-env NODE_ENV=development yarn run build:extension:chrome && yarn run build:extension:firefox",
"build:extension:chrome": "cross-env NODE_ENV=production node ./shells/browser/chrome/build",
"build:extension:chrome:crx": "cross-env NODE_ENV=production node ./shells/browser/chrome/build --crx",
"build:extension:chrome:dev": "cross-env NODE_ENV=development node ./shells/browser/chrome/build",
"build:extension:firefox": "cross-env NODE_ENV=production node ./shells/browser/firefox/build",
"build:extension:firefox:dev": "cross-env NODE_ENV=development node ./shells/browser/firefox/build",
"build:standalone": "cd packages/relay-devtools-core && yarn run build",
"deploy": "yarn run deploy:demo && yarn run deploy:chrome && yarn run deploy:firefox",
"deploy:demo": "yarn run build:demo && cd shells/dev/ && now deploy && now alias relay-devtools-experimental",
"deploy:chrome": "node ./shells/browser/chrome/deploy",
"deploy:firefox": "node ./shells/browser/firefox/deploy",
"linc": "lint-staged",
"lint": "eslint '**/*.js'",
"lint:ci": "eslint '**/*.js' --max-warnings 0",
"precommit": "yarn run prettier:ci && yarn run lint:ci && yarn run typecheck",
"prettier": "prettier --write '**/*.{js,json,css,html,md}'",
"prettier:ci": "prettier --check '**/*.{js,json,css,html,md}'",
"start": "cd ./shells/dev && cross-env NODE_ENV=development cross-env TARGET=local webpack-dev-server --open",
"start:core:backend": "cd ./packages/relay-devtools-core && yarn start:backend",
"start:core:standalone": "cd ./packages/relay-devtools-core && yarn start:standalone",
"start:electron": "cd ./packages/relay-devtools && node bin.js",
"start:prod": "cd ./shells/dev && cross-env NODE_ENV=production cross-env TARGET=local webpack-dev-server --open",
"test": "jest",
"test-debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:chrome": "node ./shells/browser/chrome/test",
"test:firefox": "node ./shells/browser/firefox/test",
"test:standalone": "cd packages/relay-devtools && yarn start",
"typecheck": "flow check",
"relay": "relay-compiler",
"watch:chrome:frontend": "cross-env NODE_ENV=development node ./shells/browser/chrome/watch"
},
"devEngines": {
"node": "10.x || 11.x"
},
"lint-staged": {
"{shells,src}/**/*.{js,json,css}": [
"prettier --write",
"git add"
],
"**/*.js": "eslint --max-warnings 0"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@babel/plugin-transform-flow-strip-types": "^7.7.4",
"@babel/plugin-transform-react-jsx-source": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"@babel/preset-flow": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/runtime": "^7.25.0",
"@reach/menu-button": "^0.5.4",
"@reach/tooltip": "^0.5.4",
"archiver": "^3.0.0",
"babel-eslint": "9.0.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-relay": "^17.0.0",
"chance": "^1.0.18",
"child-process-promise": "^2.2.1",
"chrome-launch": "^1.1.4",
"classnames": "2.2.1",
"clipboard-js": "^0.3.6",
"cross-env": "^6.0.3",
"crx": "^5.0.0",
"css-loader": "^1.0.1",
"es6-symbol": "3.0.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-config-react-app": "^5.0.2",
"eslint-plugin-flowtype": "^4.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"events": "^3.0.0",
"firefox-profile": "^1.0.2",
"flow-bin": "^0.241.0",
"fs-extra": "^3.0.1",
"graphql": "^16.9.0",
"jest": "^24.9.0",
"lint-staged": "^7.0.5",
"local-storage-fallback": "^4.1.1",
"lodash.throttle": "^4.1.1",
"log-update": "^2.0.0",
"lru-cache": "^4.1.3",
"nullthrows": "^1.0.0",
"object-assign": "4.0.1",
"opener": "^1.5.1",
"prettier": "^1.19.1",
"prop-types": "^15.7.2",
"react": "^0.0.0-50b50c26f",
"react-dom": "^0.0.0-50b50c26f",
"react-relay": "17.0.0",
"react-test-renderer": "^0.0.0-50b50c26f",
"react-virtualized-auto-sizer": "^1.0.2",
"relay-compiler": "17.0.0",
"rimraf": "^2.6.3",
"scheduler": "^0.0.0-50b50c26f",
"style-loader": "^0.23.1",
"web-ext": "^3.0.0",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"yargs": "^14.2.0"
}
}