-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
package.json
127 lines (127 loc) · 5.75 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
{
"private": true,
"workspaces": [
"packages/*",
"examples/benchmark",
"examples/normalizr-*",
"examples/coin-app",
"website"
],
"scripts": {
"changeset:version": "run changeset version && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install",
"changeset:publish": "run build && run changeset publish",
"lint": "eslint",
"format": "eslint --fix \"packages/*/src/**/*.{js,ts,tsx,cts}\"",
"clean:types": "rimraf packages/*/*.tsbuildinfo",
"build": "yarn build:types && yarn workspaces foreach -Wptiv --no-private run build",
"build:bundle": "yarn workspaces foreach -Wptiv --no-private run build:bundle",
"build:clean": "yarn workspaces foreach -Wpti --no-private run build:clean",
"build:types": "yarn build:copy:ambient && tsc --build && yarn workspaces foreach -Wpti --no-private run build:legacy-types",
"ci:build": "yarn ci:build:types && yarn workspaces foreach -Wptiv --no-private run build:lib",
"ci:build:types": "yarn build:copy:ambient && tsc --build",
"ci:build:legacy-types": "yarn workspaces foreach -WptivR -j 10 --from @data-client/react --from @data-client/rest --from @data-client/graphql run build:legacy-types",
"ci:build-test-lib": "yarn workspace @data-client/test run build:lib && yarn workspace @data-client/test run build:bundle",
"ci:build:esmodule": "yarn workspaces foreach -WptivR --from @data-client/react --from @data-client/rest --from @data-client/graphql run build:lib && yarn workspace @data-client/normalizr run build:js:node && yarn workspace @data-client/endpoint run build:js:node",
"build:copy:ambient": "mkdirp ./packages/endpoint/lib && copyfiles --flat ./packages/endpoint/src/schema.d.ts ./packages/endpoint/lib/ && copyfiles --flat ./packages/endpoint/src/endpoint.d.ts ./packages/endpoint/lib/ && mkdirp ./packages/rest/lib && copyfiles --flat ./packages/rest/src/RestEndpoint.d.ts ./packages/rest/lib && copyfiles --flat ./packages/rest/src/next/RestEndpoint.d.ts ./packages/rest/lib/next && mkdirp ./packages/react/lib && copyfiles --flat ./packages/react/src/server/redux/redux.d.ts ./packages/react/lib/server/redux",
"copy:websitetypes": "./scripts/copywebsitetypes.sh",
"test": "NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest",
"test:ci": "ANANSI_JEST_TYPECHECK=false yarn test --ci",
"test:coverage": "ANANSI_JEST_TYPECHECK=false yarn test --coverage",
"prepare": "yarn build:copy:ambient && tsc --build",
"prepack": "yarn prepare",
"prepublishOnly": "yarn workspaces foreach -Wpti --no-private run build:legacy-types",
"g:babel": "cd $INIT_CWD && babel --root-mode upward src --source-maps inline --extensions '.ts,.tsx,.cts,.js' --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"g:babel-lite": "cd $INIT_CWD && babel --root-mode upward src --source-maps inline --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
"g:rollup": "cd $INIT_CWD && rollup -c",
"g:clean": "cd $INIT_CWD && rimraf lib ts3.4 legacy dist *.tsbuildinfo",
"g:downtypes": "cd $INIT_CWD && downlevel-dts",
"g:tsc": "cd $INIT_CWD && tsc",
"g:legacy-types": "cd $INIT_CWD && ../../scripts/build-legacy-types.sh",
"g:runs": "cd $INIT_CWD && run-s",
"g:copy": "cd $INIT_CWD && copyfiles",
"g:lint": "cd $INIT_CWD && eslint"
},
"engines": {
"node": ">=14"
},
"browserslist": [
"extends @anansi/browserslist-config"
],
"devDependencies": {
"@anansi/babel-preset": "6.0.12",
"@anansi/browserslist-config": "1.5.1",
"@anansi/eslint-plugin": "1.0.23",
"@anansi/jest-preset": "0.11.9",
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/node": "7.26.0",
"@babel/preset-flow": "^7.18.6",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.26.1",
"@data-client/react": "workspace:^",
"@data-client/test": "workspace:^",
"@js-temporal/polyfill": "^0.4.4",
"@react-navigation/native": "^7.0.0",
"@react-navigation/native-stack": "^7.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "16.1.0",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/react-native": "12.9.0",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2",
"babel-plugin-module-resolver": "5.0.2",
"babel-plugin-syntax-hermes-parser": "^0.26.0",
"benchmark": "^2.1.4",
"conventional-changelog-anansi": "^0.2.0",
"copyfiles": "^2.4.1",
"core-js": "3.39.0",
"coveralls": "^3.1.0",
"cpy-cli": "5.0.0",
"cross-fetch": "^4.0.0",
"downlevel-dts": "^0.10.0",
"eslint": "9.17.0",
"globals": "^15.9.0",
"ignore-styles": "^5.0.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"mkdirp": "^3.0.0",
"nock": "13.3.1",
"node-fetch": "^3.3.0",
"npm-run-all": "^4.1.5",
"prettier": "3.4.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-native": "0.76.5",
"react-native-safe-area-context": "^5.0.0",
"react-native-screens": "^4.1.0",
"react-test-renderer": "^19.0.0",
"rimraf": "^6.0.0",
"rollup": "2.79.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-banner2": "^1.2.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-dts": "^5.0.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "10.9.2",
"typescript": "5.6",
"whatwg-fetch": "3.0.0"
},
"resolutions": {
"whatwg-fetch": "3.0.0",
"downlevel-dts/typescript": "4.9.0-dev.20220903"
},
"packageManager": "[email protected]",
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"arrowParens": "avoid",
"experimentalTernaries": true
}
}