-
Notifications
You must be signed in to change notification settings - Fork 626
/
package.json
96 lines (96 loc) · 3.21 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
{
"private": true,
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-syntax-class-properties": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.20.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@tsconfig/node18": "1.0.1",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"acorn": "^8.7.1",
"babel-jest": "^29.6.3",
"babel-plugin-syntax-hermes-parser": "0.20.1",
"chalk": "^4.0.0",
"debug": "^2.2.0",
"eslint": "^8.57.0",
"eslint-config-fb-strict": "^27.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-ft-flow": "^2.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-lint": "^1.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-relay": "^1.8.3",
"flow-bin": "^0.232.0",
"glob": "^7.1.1",
"hermes-eslint": "0.20.1",
"invariant": "^2.2.4",
"istanbul-api": "3.0.0",
"istanbul-lib-coverage": "3.0.0",
"jest": "^29.6.3",
"jest-junit": "^10.0.0",
"jest-watch-typeahead": "^2.2.0",
"jsonc-eslint-parser": "^2.3.0",
"metro-babel-register": "*",
"micromatch": "^4.0.4",
"prettier": "2.8.8",
"prettier-plugin-hermes-parser": "0.20.1",
"progress": "^2.0.0",
"typescript": "5.0.4"
},
"scripts": {
"build-clean": "rm -rf ./packages/*/build",
"build": "node ./scripts/build.js",
"clean-all": "rm -rf ./node_modules && rm -rf ./packages/*/node_modules && yarn run build-clean",
"lint-fix": "eslint . --fix --cache",
"lint": "eslint . --cache",
"postpublish": "yarn workspaces run cleanup-release",
"publish": "yarn run build-clean && yarn run build && yarn workspaces run prepare-release && npm publish --workspaces",
"start": "node packages/metro/src/cli",
"test": "yarn run typecheck && yarn run lint && yarn run build && yarn run jest",
"test-coverage": "yarn run build && yarn run jest --coverage -i && node scripts/mapCoverage.js",
"test-smoke": "yarn start build --config packages/metro/src/integration_tests/metro.config.js TestBundle.js --out /tmp/TestBundle",
"typecheck": "flow check",
"typecheck-ts": "tsc --project tsconfig.json",
"update-babel-flow-lib-defs": "node -r @babel/register ./scripts/updateBabelFlowLibraryDefinitions",
"update-version": "node ./scripts/updateVersion"
},
"workspaces": [
"packages/*"
],
"jest": {
"modulePathIgnorePatterns": [
"/node_modules/",
"packages/[^/]+/build/"
],
"snapshotFormat": {
"escapeString": true,
"printBasicPrototype": true
},
"testEnvironment": "node",
"testRegex": "/__tests__/.*-test\\.js$",
"fakeTimers": {
"enableGlobally": true,
"legacyFakeTimers": false
},
"transform": {
"\\.js$": "<rootDir>/scripts/babelJestTransformer.js"
},
"setupFiles": [
"<rootDir>/scripts/setupJest.js"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"license": "MIT",
"dependencies": {},
"engines": {
"node": ">=18"
}
}