-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 4.59 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 4.59 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
{
"name": "silver-ui",
"version": "1.9.7",
"packageManager": "pnpm@11.10.0+sha512.0b7f8b98060031904c017e3a41eb187a16d40eeb829b95c4f8cb03681761fc4ab53dd219115b9b447f4dce1a05a214764461e7d3703392a9f32f9511ce8c86c8",
"description": "A comprehensive themeable React component library",
"license": "MIT",
"homepage": "https://www.silver-ui.com",
"repository": {
"type": "git",
"url": "git+https://github.com/czarandy/silver-ui.git"
},
"bugs": {
"url": "https://github.com/czarandy/silver-ui/issues"
},
"type": "module",
"sideEffects": [
"**/*.css"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./styles.css": "./dist/styles.css",
"./hooks": {
"import": {
"types": "./dist/hooks/index.d.ts",
"default": "./dist/hooks/index.js"
},
"require": {
"types": "./dist/hooks/index.d.cts",
"default": "./dist/hooks/index.cjs"
}
},
"./*": {
"import": {
"types": "./dist/components/*/index.d.ts",
"default": "./dist/components/*/index.js"
},
"require": {
"types": "./dist/components/*/index.d.cts",
"default": "./dist/components/*/index.cjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"prepare": "husky && panda codegen",
"storybook": "storybook dev -p 6006 --ci",
"build": "panda codegen && tsup && node scripts/preserve-use-client.mjs && tsc -p tsconfig.build.json && node scripts/prune-private-declarations.mjs && node scripts/rewrite-declaration-aliases.mjs && node scripts/emit-cjs-declarations.mjs && panda cssgen --outfile dist/styles.css --minify && node scripts/inject-system-theme.mjs",
"build:storybook": "panda codegen && storybook build",
"sync:brand": "cp brand/logo.svg brand/wordmark.svg site/public/ && cp brand/wordmark.svg site/src/assets/",
"build:site": "pnpm sync:brand && pnpm -C site build",
"test": "vitest run",
"test:watch": "vitest",
"smoke:package": "pnpm build && node scripts/package-smoke-test.mjs",
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc --noEmit",
"check:exports": "pnpm build && publint && attw --pack . --profile node16 --exclude-entrypoints ./styles.css --include-entrypoints ./Button ./hooks",
"clean": "rm -rf dist storybook-static",
"theme": "npx tsx scripts/generate-theme.ts",
"version": "node scripts/generate-version.mjs && git add src/utils/version.ts",
"release": "bash scripts/release.sh"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix --no-warn-ignored",
"prettier --write"
],
"*.{js,cjs,mjs,jsx,json,css,md,html,yml,yaml}": [
"prettier --write"
]
},
"engines": {
"node": ">=22"
},
"peerDependencies": {
"react": ">=19",
"react-dom": ">=19"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@eslint-react/eslint-plugin": "^5.11.3",
"@eslint/js": "^10.0.1",
"@pandacss/dev": "^1.11.4",
"@storybook/addon-docs": "^10.4.6",
"@storybook/addon-themes": "^10.4.6",
"@storybook/react": "^10.4.6",
"@storybook/react-vite": "^10.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.1.6",
"@vitest/eslint-plugin": "^1.6.20",
"eslint": "^10.6.0",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jest-dom-ya": "^1.0.1",
"eslint-plugin-jsdoc": "^63.0.12",
"eslint-plugin-jsx-a11y-x": "^0.2.0",
"eslint-plugin-perfectionist": "^5.10.0",
"eslint-plugin-react-compiler": "19.1.0-rc.2",
"eslint-plugin-storybook": "^10.4.6",
"eslint-plugin-testing-library": "^7.16.2",
"eslint-plugin-use-client": "^1.2.0",
"globals": "^17.7.0",
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"lint-staged": "^17.0.8",
"postcss": "^8.5.16",
"prettier": "^3.9.4",
"publint": "^0.3.21",
"react": "19.2.7",
"react-dom": "19.2.7",
"storybook": "^10.4.6",
"tsup": "^8.5.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.63.0",
"vitest": "^4.1.10"
},
"dependencies": {
"@js-temporal/polyfill": "^0.5.1",
"lucide-react": "^1.23.0"
}
}