forked from adobe/react-spectrum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
170 lines (170 loc) · 6.69 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
{
"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"
},
"browserslist": [
"chrome >= 61",
"firefox >= 60",
"safari >= 11",
"edge >= 16"
],
"scripts": {
"check-types": "tsc",
"start": "cross-env NODE_ENV=storybook start-storybook -p 9003 --ci -c '.storybook'",
"build:storybook": "build-storybook -c .storybook -o dist/$(git rev-parse HEAD)/storybook",
"build:storybook-17": "yarn add -W react@^17.0.1 react-dom@^17.0.1 && NODE_ENV=production build-storybook -c .storybook -o dist/$(git rev-parse HEAD)/storybook-17",
"start:chromatic": "NODE_ENV=storybook start-storybook -p 9004 --ci -c '.chromatic'",
"build:chromatic": "build-storybook -c .chromatic -o dist/$(git rev-parse HEAD)/chromatic",
"start:docs": "PARCEL_WORKER_BACKEND=process DOCS_ENV=dev parcel 'packages/@react-{spectrum,aria,stately}/*/docs/*.mdx' 'packages/dev/docs/pages/**/*.mdx'",
"build:docs": "PARCEL_WORKER_BACKEND=process DOCS_ENV=staging parcel build 'packages/@react-{spectrum,aria,stately}/*/docs/*.mdx' 'packages/dev/docs/pages/**/*.mdx' --no-scope-hoist",
"test": "yarn jest",
"test:ssr": "yarn jest --config jest.ssr.config.js",
"ci-test": "yarn jest --maxWorkers=2 && yarn test:ssr --runInBand",
"ci-test-17": "yarn add -W react@^17.0.1 react-dom@^17.0.1 && yarn jest --maxWorkers=2 && yarn test:ssr --runInBand",
"lint": "yarn check-types && eslint packages --ext .js,.ts,.tsx && 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": "yarn build:icons && patch-package",
"plop": "plop --plopfile scripts/plopfile.js",
"chromatic": "chromatic --project-token 'q5msektqrfg' --build-script-name 'build:chromatic'",
"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"
},
"workspaces": [
"packages/react-stately",
"packages/react-aria",
"packages/*/*"
],
"devDependencies": {
"@actions/core": "^1.1.0",
"@actions/github": "^1.1.0",
"@adobe/spectrum-css-workflow-icons": "^1.0.0",
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/plugin-proposal-export-default-from": "^7.12.1",
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-syntax-class-properties": "^7.12.1",
"@babel/plugin-syntax-decorators": "^7.12.1",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@octokit/rest": "*",
"@parcel/babel-plugin-transform-runtime": "nightly",
"@parcel/babel-preset-env": "nightly",
"@parcel/transformer-inline": "nightly",
"@parcel/transformer-svg-react": "nightly",
"@spectrum-css/component-builder": "^1.0.0",
"@spectrum-css/vars": "^2.3.0",
"@storybook/addon-a11y": "^6.1.10",
"@storybook/addon-actions": "^6.1.10",
"@storybook/addon-knobs": "^6.1.10",
"@storybook/addon-links": "^6.1.10",
"@storybook/react": "^6.1.10",
"@testing-library/dom": "^7.23.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.0.4",
"@testing-library/react-hooks": "^3.4.1",
"@testing-library/user-event": "^12.1.3",
"@types/react": "^16.9.23",
"@types/storybook__react": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"autoprefixer": "^9.6.0",
"axe-core": "^3.0.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"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": "^2.4.2",
"chromatic": "^5.4.0",
"clsx": "^1.1.1",
"core-js": "^3.0.0",
"cross-env": "^7.0.2",
"cross-spawn": "^7.0.3",
"css-loader": "^2.1.1",
"eslint": "^7.10.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.0.2",
"eslint-plugin-jsdoc": "^30.6.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-monorepo": "^0.2.1",
"eslint-plugin-react": "^7.21.2",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-rulesdir": "^0.1.0",
"fast-glob": "^3.1.0",
"file-loader": "^0.9.0",
"full-icu": "^1.3.0",
"identity-obj-proxy": "^3.0.0",
"ignore-styles": "^5.0.1",
"jest": "^26.4.2",
"jest-matchmedia-mock": "^1.0.0",
"jsdom": "^16.3.0",
"lerna": "^3.13.2",
"lfcdn": "^0.4.2",
"md5": "^2.2.1",
"nyc": "^10.2.0",
"p-queue": "^6.2.1",
"parcel": "nightly",
"patch-package": "^6.2.0",
"plop": "^2.4.0",
"postcss-calc": "^6.0.0",
"postcss-custom-properties": "6.3.1",
"postcss-dir-pseudo-class": "^5.0.0",
"postcss-focus-ring": "^1.0.0",
"postcss-functions": "^3.0.0",
"postcss-import": "^12.0.1",
"postcss-inherit": "^4.1.0",
"postcss-loader": "^3.0.0",
"postcss-logical": "^4.0.0",
"postcss-modules": "^1.4.1",
"postcss-nested": "^4.1.2",
"postcss-svg": "^3.0.0",
"prop-types": "^15.6.0",
"raf": "^3.4.0",
"react": "^16.8.0 || ^17.0.0-rc.1",
"react-axe": "^3.0.2",
"react-dom": "^16.8.0 || ^17.0.0-rc.1",
"react-overlays": "0.8.3",
"react-test-renderer": "^16.9.0",
"recursive-readdir": "^2.2.2",
"regenerator-runtime": "0.13.3",
"rimraf": "^2.6.3",
"sinon": "^7.3.1",
"storybook-dark-mode": "^1.0.3",
"style-loader": "^0.23.1",
"tempy": "^0.5.0",
"typescript": "^3.8.3",
"url-loader": "^1.1.2",
"webpack": "^4.44.2",
"webpack-dev-middleware": "^3.6.1",
"webpack-hot-middleware": "^2.24.3",
"wsrun": "^5.0.0"
},
"resolutions": {
"@babel/core": "7.12.10",
"@babel/runtime": "7.12.5",
"postcss-calc": "6.0.2",
"jest-environment-jsdom": "26.3.0",
"jsdom": "16.3.0"
}
}