forked from scaleway/ultraviolet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
195 lines (195 loc) · 6.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
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
{
"name": "root",
"private": true,
"workspaces": [
"packages/*",
"examples/*"
],
"packageManager": "[email protected]",
"engines": {
"node": ">=18.x",
"pnpm": ">=8.x"
},
"os": [
"darwin",
"linux"
],
"scripts": {
"build": "pnpm --filter '@ultraviolet/*' recursive run build",
"build:profile": "cross-env PROFILE=true pnpm run build",
"build:storybook": "pnpm run build && STORYBOOK_ENVIRONMENT=production storybook build",
"build:storybook:stats": "pnpm run build:storybook --webpack-stats-json",
"build:examples": "pnpm --filter '{examples/**}' recursive exec -- pnpm run build",
"check:deps": "npx depcheck . --skip-missing=true --ignores='bin,eslint,webpack,jest,husky,@commitlint/*,@babel/*,babel-*'",
"commit": "npx git-cz -a --disable-emoji",
"start": "STORYBOOK_ENVIRONMENT=development storybook dev -p 6006",
"start:production": "STORYBOOK_ENVIRONMENT=production storybook dev -p 6006",
"format": "prettier --write '**/*.{ts,tsx,js,json,md,mdx}'",
"lint:fix": "pnpm run lint --fix",
"lint": "eslint --report-unused-disable-directives --cache --ext js,mjs,ts,tsx .",
"prebuild": "shx rm -rf dist",
"test:unit": "LC_ALL=en_US.UTF-8 jest --config .jest/unit.config.ts",
"test:unit:coverage": "pnpm run test:unit --coverage",
"test:unit:watch": "pnpm run test:unit --watch",
"test:unit:update": "pnpm run test:unit --updateSnapshot",
"test:a11y": "LC_ALL=en_US.UTF-8 jest --config .jest/a11y.config.ts",
"prepare": "husky",
"size": "pnpm run build && size-limit",
"tokens:update": "node ./scripts/figma-synchronise-tokens.mjs && pnpm prettier --write packages/themes/src/themes/console",
"chromatic": "chromatic --exit-zero-on-changes",
"release": "pnpm build && pnpm changeset publish",
"svg": "npx svgo --pretty --multipass",
"svg:all": "pnpm run svg -r -f .",
"typecheck": "pnpm --filter '@ultraviolet/*' recursive run typecheck"
},
"lint-staged": {
"*.(j|t|mj)s?(x)": [
"prettier --write",
"eslint --fix --ext js,mjs,ts,tsx"
],
"*.svg": [
"pnpm run svg"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"size-limit": [
{
"path": [
"packages/*/dist/**/*.js",
"!packages/illustrations",
"!packages/plus",
"!packages/icons"
],
"limit": "230 kB",
"webpack": false,
"brotli": true,
"running": false
}
],
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"react": "18",
"react-dom": "18"
}
},
"packageExtensions": {
"jest": {
"dependencies": {
"ts-node": "10.9.2"
}
}
}
},
"devDependencies": {
"@babel/core": "7.24.3",
"@babel/eslint-parser": "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/runtime": "7.24.1",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@emotion/babel-plugin": "11.11.0",
"@emotion/cache": "11.11.0",
"@emotion/eslint-plugin": "11.11.0",
"@emotion/jest": "11.11.0",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.0",
"@jest/globals": "29.7.0",
"@jest/types": "29.6.3",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-url": "8.0.2",
"@scaleway/eslint-config-react": "3.17.5",
"@scaleway/jest-helpers": "4.0.0",
"@scaleway/tsconfig": "1.1.1",
"@scaleway/use-i18n": "6.1.3",
"@size-limit/file": "9.0.0",
"@size-limit/preset-big-lib": "9.0.0",
"@storybook/addon-a11y": "7.6.17",
"@storybook/addon-essentials": "7.6.17",
"@storybook/addon-interactions": "7.6.17",
"@storybook/addon-links": "7.6.17",
"@storybook/addons": "7.6.17",
"@storybook/api": "7.6.17",
"@storybook/blocks": "7.6.17",
"@storybook/client-api": "7.6.17",
"@storybook/components": "7.6.17",
"@storybook/core-events": "7.6.17",
"@storybook/csf": "canary",
"@storybook/mdx2-csf": "1.1.0",
"@storybook/preview-web": "7.6.17",
"@storybook/react": "7.6.17",
"@storybook/react-webpack5": "7.6.17",
"@storybook/testing-react": "2.0.1",
"@storybook/theming": "7.6.17",
"@svgr/rollup": "8.1.0",
"@svgr/webpack": "8.1.0",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.2.2",
"@testing-library/user-event": "14.5.2",
"@types/node": "18.19.26",
"@types/react": "18.2.64",
"@types/react-datepicker": "4.19.6",
"@types/react-dom": "18.2.21",
"@types/seedrandom": "3.0.8",
"@types/zxcvbn": "4.4.4",
"@ultraviolet/ui": "workspace:*",
"babel-loader": "9.1.3",
"babel-plugin-annotate-pure-calls": "0.4.0",
"babel-plugin-named-exports-order": "0.0.2",
"chromatic": "11.2.0",
"cross-env": "7.0.3",
"cz-conventional-changelog": "3.3.0",
"date-fns": "3.6.0",
"emoji-toolkit": "8.0.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-testing-library": "6.2.0",
"expect": "29.7.0",
"file-loader": "6.2.0",
"husky": "9.0.11",
"identity-obj-proxy": "3.0.0",
"jest": "29.7.0",
"jest-axe": "8.0.0",
"jest-environment-jsdom": "29.7.0",
"jest-junit": "16.0.0",
"lint-staged": "15.2.2",
"postcss": "8.4.38",
"prettier": "3.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"read-pkg": "9.0.1",
"regenerator-runtime": "0.14.1",
"require-from-string": "2.0.2",
"rollup": "4.13.0",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-multi-input": "1.4.1",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-visualizer": "5.12.0",
"seedrandom": "3.0.5",
"shx": "0.3.4",
"size-limit": "9.0.0",
"storybook": "7.6.17",
"storybook-dark-mode": "3.0.3",
"timekeeper": "2.3.1",
"typescript": "5.4.3",
"webpack": "5.90.3",
"zxcvbn": "4.4.2"
}
}