forked from reshaped-ui/reshaped
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
200 lines (200 loc) · 5.92 KB
/
package.json
File metadata and controls
200 lines (200 loc) · 5.92 KB
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
{
"name": "reshaped",
"description": "Professionally crafted design system in React & Figma for building products of any scale and complexity",
"version": "3.8.0-canary.0",
"license": "MIT",
"email": "hello@reshaped.so",
"homepage": "https://reshaped.so",
"keywords": [
"react",
"ui",
"design-system",
"react-components",
"component-library",
"components",
"css-modules",
"figma",
"ui-kit",
"accessibility",
"accessible"
],
"repository": {
"type": "git",
"url": "https://github.com/reshaped-ui/reshaped.git"
},
"bugs": {
"url": "https://github.com/reshaped-ui/reshaped/issues"
},
"author": {
"name": "Dmitry Belyaev",
"email": "blv.dmitry@gmail.com",
"url": "https://reshaped.so"
},
"sideEffects": [
"*.css"
],
"files": [
"bin/cli.js",
"dist/**/*"
],
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./themes": {
"types": "./dist/themes/index.d.ts",
"default": "./dist/cjs/themes/index.js"
},
"./config/postcss": {
"types": "./dist/config/postcss.d.ts",
"default": "./dist/cjs/config/postcss.js"
},
"./config/tailwind": {
"types": "./dist/config/tailwind.d.ts",
"default": "./dist/cjs/config/tailwind.js"
},
"./bundle": {
"types": "./dist/bundle.d.ts",
"import": "./dist/bundle.js"
},
"./bundle.css": "./dist/bundle.css",
"./themes/reshaped/*": "./dist/themes/reshaped/*",
"./themes/slate/*": "./dist/themes/slate/*",
"./themes/figma/*": "./dist/themes/figma/*",
"./themes/fragments/twitter/*": "./dist/themes/fragments/twitter/*",
"./package.json": "./package.json"
},
"bin": {
"reshaped": "./bin/cli.js"
},
"scripts": {
"dev": "storybook dev -p 3001 --disable-telemetry",
"clean": "sh ./bin/clean.sh",
"build": "yarn clean && yarn build:stories && yarn build:esm && yarn build:css && yarn build:cjs && yarn build:bundle",
"build:themes": "node bin/cli.js theming --config dist/cjs/cli/theming/reshaped.config.js --output src/themes",
"build:esm": "tsc -p tsconfig.esm.json && resolve-tspaths -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json && resolve-tspaths -p tsconfig.cjs.json && node ./bin/format-cjs-build.js",
"build:css": "postcss \"src/**/*.css\" --dir dist --base src --config tools/build",
"build:stories": "tsc -p tsconfig.stories.json && resolve-tspaths -p tsconfig.stories.json",
"build:bundle": "vite build && cp dist/index.d.ts dist/bundle.d.ts",
"build:size": "yarn clean && yarn build:esm && yarn build:bundle",
"build:storybook": "storybook build -o dist/app --disable-telemetry",
"build:chromatic": "STORYBOOK_ENV=chromatic storybook build",
"changelog": "node bin/generate-changelog.js",
"version": "yarn changelog && git add CHANGELOG.md",
"release": "node bin/release.js",
"release:patch": "node bin/release.js patch",
"release:minor": "node bin/release.js minor",
"release:major": "node bin/release.js major",
"release:lib": "yarn build && yarn publish",
"release:canary": "yarn build && yarn publish --tag canary",
"release:test": "yarn build && yarn pack --filename reshaped-test.tgz",
"release:copy": "sh ./bin/release-copy.sh",
"chromatic": "chromatic -b build:chromatic --project-token=$(cat .chromatic)",
"test:vrt": "yarn chromatic",
"test:vrt:turbo": "yarn chromatic --only-changed",
"test:browser": "vitest run --project=storybook",
"test:unit": "vitest run --project=unit",
"test:size": "size-limit",
"lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint './src/**/*.{ts,tsx}' --fix",
"lint:css": "stylelint 'src/**/*.css'",
"commit": "git-cz"
},
"browserslist": [
"defaults and not IE 11"
],
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@commitlint/types": "19.8.1",
"@eslint/js": "9.34.0",
"@size-limit/preset-big-lib": "11.2.0",
"@storybook/addon-a11y": "9.1.3",
"@storybook/addon-docs": "9.1.3",
"@storybook/addon-vitest": "9.1.3",
"@storybook/react-vite": "9.1.3",
"@types/culori": "4.0.0",
"@types/events": "3.0.3",
"@types/node": "24.3.0",
"@types/react": "19.1.12",
"@types/react-dom": "19.1.9",
"@vitejs/plugin-react": "4.6.0",
"@vitest/browser": "3.2.4",
"@vitest/coverage-istanbul": "3.2.4",
"@vitest/coverage-v8": "3.2.4",
"chromatic": "13.1.3",
"conventional-changelog-cli": "5.0.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "9.34.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"lefthook": "1.12.3",
"playwright": "1.55.0",
"postcss": "8.5.6",
"postcss-cli": "11.0.1",
"postcss-each": "1.1.0",
"postcss-nested": "7.0.2",
"prettier": "3.6.2",
"react": "18",
"react-dom": "18",
"react-shadow": "20.6.0",
"resolve-tspaths": "0.8.23",
"size-limit": "11.2.0",
"storybook": "9.1.3",
"stylelint": "16.23.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "39.0.0",
"ts-node": "10.9.2",
"typescript": "5.9.2",
"typescript-eslint": "8.41.0",
"vite": "7.1.3",
"vite-tsconfig-paths": "5.1.4",
"vitest": "3.2.4",
"vitest-browser-react": "1.0.1"
},
"peerDependencies": {
"postcss": "^8",
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
},
"dependencies": {
"@csstools/postcss-global-data": "3.0.0",
"chalk": "4.1.2",
"commander": "14.0.0",
"cssnano": "7.1.1",
"csstype": "3.1.3",
"culori": "4.0.2",
"postcss-custom-media": "11.0.6"
},
"size-limit": [
{
"name": "Library / JS",
"path": "dist/bundle.js",
"webpack": false
},
{
"name": "Library / CSS",
"path": "dist/bundle.css",
"webpack": false
},
{
"name": "Theming / JS",
"path": "dist/tests/themingWithoutDefinition.js",
"webpack": true
},
{
"name": "Theming with a default theme definition / JS",
"path": "dist/tests/themingWithDefinition.js",
"webpack": true
}
],
"engines": {
"node": ">=22"
}
}