forked from adobe/react-spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
255 lines (255 loc) · 11.3 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
{
"name": "react-spectrum-monorepo",
"private": true,
"version": "2.21.0-beta.0",
"description": "Spectrum UI components in React",
"repository": {
"type": "git",
"url": "https://github.com/adobe/react-spectrum"
},
"packageManager": "yarn@4.2.2",
"scripts": {
"check-types": "tsc && tsc-strict",
"install-16": "yarn add react@^16.8.0 react-dom@^16.8.0 @testing-library/react@^12 @testing-library/react-hooks@^8 @testing-library/dom@^8 && node scripts/oldReactSupport.mjs",
"install-17": "yarn add react@^17 react-dom@^17 @testing-library/react@^12 @testing-library/react-hooks@^8 @testing-library/dom@^8 && node scripts/oldReactSupport.mjs",
"install-19": "node ./scripts/install-react-19.mjs && yarn add react@next react-dom@next",
"start": "cross-env NODE_ENV=storybook storybook dev -p 9003 --ci -c '.storybook'",
"build:storybook": "storybook build -c .storybook -o dist/$(git rev-parse HEAD)/storybook",
"build:storybook-16": "storybook build -c .storybook -o dist/$(git rev-parse HEAD)/storybook-16",
"build:storybook-17": "storybook build -c .storybook -o dist/$(git rev-parse HEAD)/storybook-17",
"build:storybook-19": "storybook build -c .storybook -o dist/$(git rev-parse HEAD)/storybook-19",
"start:chromatic": "CHROMATIC=1 NODE_ENV=storybook storybook dev -p 9004 --ci -c '.chromatic'",
"build:chromatic": "CHROMATIC=1 storybook build -c .chromatic -o dist/$(git rev-parse HEAD)/chromatic",
"start:chromatic-fc": "CHROMATIC=1 NODE_ENV=storybook storybook dev -p 9005 --ci -c '.chromatic-fc'",
"build:chromatic-fc": "CHROMATIC=1 storybook build -c .chromatic-fc -o dist/$(git rev-parse HEAD)/chromatic-fc",
"start:docs": "DOCS_ENV=dev parcel 'packages/@react-{spectrum,aria,stately}/*/docs/*.mdx' 'packages/react-aria-components/docs/**/*.mdx' 'packages/@internationalized/*/docs/*.mdx' 'packages/dev/docs/pages/**/*.mdx'",
"build:docs": "DOCS_ENV=staging parcel build 'packages/@react-{spectrum,aria,stately}/*/docs/*.mdx' 'packages/react-aria-components/docs/**/*.mdx' 'packages/@internationalized/*/docs/*.mdx' 'packages/dev/docs/pages/**/*.mdx'",
"test": "cross-env STRICT_MODE=1 yarn jest",
"test-loose": "cross-env VIRT_ON=1 yarn jest",
"test-storybook": "test-storybook --url http://localhost:9003 --browsers chromium --no-cache",
"build": "make build",
"test:ssr": "cross-env STRICT_MODE=1 yarn jest --config jest.ssr.config.js",
"ci-test": "cross-env STRICT_MODE=1 yarn jest --maxWorkers=2 && cross-env STRICT_MODE=1 yarn test:ssr --runInBand",
"lint": "yarn check-types & eslint packages --ext .js,.ts,.tsx & yarn constraints & node scripts/lint-packages.js",
"jest": "node scripts/jest.js",
"copyrights": "babel-node --presets @babel/env ./scripts/addHeaders.js",
"build:icons": "babel-node --presets @babel/env ./scripts/buildIcons.js",
"clean:icons": "babel-node --presets @babel/env ./scripts/cleanIcons.js",
"postinstall": "patch-package && yarn build:icons",
"plop": "plop --plopfile scripts/plopfile.js",
"chromatic": "NODE_ENV=production CHROMATIC=1 chromatic --project-token $CHROMATIC_PROJECT_TOKEN --build-script-name 'build:chromatic'",
"chromatic:forced-colors": "NODE_ENV=production CHROMATIC=1 chromatic --project-token $CHROMATIC_FC_PROJECT_TOKEN --build-script-name 'build:chromatic-fc'",
"merge:css": "babel-node --presets @babel/env ./scripts/merge-spectrum-css.js",
"release": "lerna publish from-package --yes",
"publish:nightly": "lerna publish -y --canary --preid nightly --dist-tag=nightly --exact --force-publish=* --no-push --no-verify-access",
"build:api-published": "node scripts/buildPublishedAPI.js",
"build:api-branch": "node scripts/buildBranchAPI.js",
"compare:apis": "node scripts/compareAPIs.js",
"check-apis": "yarn build:api-branch --githash=\"origin/main\" --output=\"base-api\" && yarn build:api-branch && yarn compare:apis",
"check-published-apis": "yarn build:api-published && yarn build:api-branch && yarn compare:apis",
"bumpVersions": "node scripts/bumpVersions.js",
"test:parcel": "jest --testMatch '**/*.parceltest.{ts,tsx}'",
"blc:local": "npx git+ssh://git@github.com:ktabors/rsp-blc.git -u http://localhost:1234/",
"blc:prod": "npx git+ssh://git@github.com:ktabors/rsp-blc.git -u https://react-spectrum.adobe.com/"
},
"workspaces": [
"packages/react-stately",
"packages/react-aria",
"packages/react-aria-components",
"packages/tailwindcss-react-aria-components",
"packages/*/*"
],
"devDependencies": {
"@actions/core": "^1.1.0",
"@actions/github": "^1.1.0",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/eslint-parser": "^7.24.1",
"@babel/node": "^7.23.9",
"@babel/plugin-proposal-decorators": "^7.24.1",
"@babel/plugin-syntax-decorators": "7.24.1",
"@babel/plugin-syntax-import-assertions": "^7.24.1",
"@babel/plugin-transform-runtime": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@babel/register": "^7.23.7",
"@faker-js/faker": "^8.4.1",
"@octokit/rest": "*",
"@parcel/bundler-library": "2.11.1-dev.3224",
"@parcel/config-default": "2.0.0-dev.1601",
"@parcel/core": "2.0.0-dev.1599",
"@parcel/optimizer-data-url": "2.0.0-dev.1601",
"@parcel/optimizer-terser": "2.0.0-dev.1601",
"@parcel/packager-ts": "2.0.0-dev.1601",
"@parcel/reporter-cli": "2.0.0-dev.1601",
"@parcel/resolver-glob": "2.12.1-dev.3224",
"@parcel/transformer-inline": "2.0.0-dev.1601",
"@parcel/transformer-inline-string": "2.0.0-dev.1601",
"@parcel/transformer-svg-react": "2.12.1-dev.3224",
"@parcel/transformer-typescript-types": "2.0.0-dev.1601",
"@spectrum-css/component-builder": "1.0.1",
"@spectrum-css/vars": "^2.3.0",
"@storybook/addon-a11y": "^7.6.19",
"@storybook/addon-actions": "^7.6.19",
"@storybook/addon-controls": "^7.6.19",
"@storybook/addon-links": "^7.6.19",
"@storybook/api": "^7.6.19",
"@storybook/components": "^7.6.19",
"@storybook/manager-api": "^7.6.19",
"@storybook/preview": "^7.6.19",
"@storybook/preview-api": "^7.6.19",
"@storybook/react": "^7.6.19",
"@storybook/test-runner": "^0.16.0",
"@storybook/testing-library": "^0.2.2",
"@swc/jest": "^0.2.36",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^15.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0",
"@types/storybook__react": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@yarnpkg/types": "^4.0.0",
"autoprefixer": "^9.6.0",
"axe-core": "^4.6.3",
"axe-playwright": "^1.1.11",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-macros": "^3.0.1",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-transform-glob-import": "^1.0.1",
"babelify": "^10.0.0",
"chalk": "^4.1.2",
"chromatic": "^11.3.0",
"clsx": "^2.0.0",
"color-space": "^1.16.0",
"concurrently": "^6.0.2",
"core-js": "^3.0.0",
"cross-env": "^7.0.2",
"cross-spawn": "^7.0.3",
"css-parse": "^2.0.0",
"delta-e": "^0.0.8",
"diff": "^5.1.0",
"eslint": "^8.38.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^40.3.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-monorepo": "^0.3.2",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-rulesdir": "^0.2.2",
"fast-check": "^2.19.0",
"fast-glob": "^3.1.0",
"framer-motion": "^11.3.0-alpha.0",
"fs-extra": "^10.0.0",
"full-icu": "^1.3.0",
"glob-promise": "^6.0.5",
"identity-obj-proxy": "^3.0.0",
"ignore-styles": "^5.0.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-junit": "^15.0.0",
"jest-matchmedia-mock": "^1.1.0",
"lerna": "^3.13.2",
"lfcdn": "^0.4.2",
"lucide-react": "^0.294.0",
"md5": "^2.2.1",
"npm-cli-login": "^1.0.0",
"nyc": "^10.2.0",
"p-queue": "^6.2.1",
"parcel": "2.0.0-dev.1599",
"parcel-resolver-storybook": "https://gitpkg.vercel.app/mischnic/storybook-parcel/packages/parcel-resolver-storybook?master",
"patch-package": "^6.2.0",
"plop": "^2.4.0",
"postcss": "^8.4.24",
"postcss-custom-properties": "^13.2.0",
"postcss-import": "^15.1.0",
"prop-types": "^15.6.0",
"raf": "^3.4.0",
"react": "^18.2.0",
"react-axe": "^3.0.2",
"react-dom": "^18.2.0",
"react-frame-component": "^5.0.0",
"react-test-renderer": "^16.9.0",
"recast": "^0.23",
"recursive-readdir": "^2.2.2",
"regenerator-runtime": "0.13.3",
"rimraf": "^2.6.3",
"sharp": "^0.31.2",
"sinon": "^7.3.1",
"storybook": "^7.6.19",
"storybook-builder-parcel": "https://gitpkg.vercel.app/mischnic/storybook-parcel/packages/storybook-builder-parcel?master",
"storybook-dark-mode": "^3.0.3",
"storybook-react-parcel": "https://gitpkg.vercel.app/mischnic/storybook-parcel/packages/storybook-react-parcel?master",
"tailwind-variants": "^0.1.18",
"tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"tempy": "^0.5.0",
"typescript": "^5.5.0",
"typescript-strict-plugin": "^2.0.0",
"verdaccio": "^5.13.0",
"walk-object": "^4.0.0",
"wsrun": "^5.0.0",
"yargs": "^17.2.1"
},
"resolutions": {
"@babel/cli": "7.24.1",
"@babel/core": "7.24.3",
"@babel/parser": "7.24.4",
"@babel/runtime": "7.24.4",
"@babel/preset-env": "7.24.4",
"@babel/traverse": "7.24.1",
"@babel/types": "7.24.0",
"postcss": "8.4.24",
"postcss-custom-properties": "13.2.0",
"postcss-import": "15.1.0",
"react-refresh": "0.9.0",
"remark-parse": "10.0.1",
"browserslist": "4.23.0",
"caniuse-lite": "1.0.30001563",
"@storybook/core-common": "7.6.19",
"storybook-builder-parcel/@storybook/core-common": "7.6.19",
"@parcel/cache": "2.0.0-dev.1601",
"@parcel/codeframe": "2.0.0-dev.1601",
"@parcel/diagnostic": "2.0.0-dev.1601",
"@parcel/events": "2.0.0-dev.1601",
"@parcel/fs": "2.0.0-dev.1601",
"@parcel/logger": "2.0.0-dev.1601",
"@parcel/markdown-ansi": "2.0.0-dev.1601",
"@parcel/node-resolver-core": "3.3.1-dev.3224",
"@parcel/package-manager": "2.0.0-dev.1601",
"@parcel/plugin": "2.0.0-dev.1601",
"@parcel/profiler": "2.12.1-dev.3224",
"@parcel/rust": "2.12.1-dev.3224",
"@parcel/types": "2.0.0-dev.1601",
"@parcel/utils": "2.0.0-dev.1601",
"@parcel/workers": "2.0.0-dev.1601",
"@types/react": "npm:types-react@19.0.0-rc.0",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.0"
},
"@parcel/transformer-css": {
"cssModules": {
"global": true,
"exclude": [
"**/*.global.css",
"packages/@react-aria/example-theme/**",
"packages/@react-spectrum/style-macro-s1/**",
"packages/@react-spectrum/tree/**",
"packages/@react-spectrum/color/src/*.tsx"
]
},
"drafts": {
"nesting": true
},
"pseudoClasses": {
"focusVisible": "focus-ring",
"hover": "is-hovered"
}
},
"alias": {
"@storybook/react-dom-shim": "@storybook/react-dom-shim/dist/react-18"
}
}