forked from vaneui/vaneui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.54 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.54 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
{
"name": "@vaneui/ui",
"version": "0.2.1",
"description": "A simple and lightweight UI component library for React, built with Tailwind CSS.",
"author": "",
"license": "ISC",
"homepage": "https://vaneui.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/vaneui/vaneui.git"
},
"keywords": [
"react",
"ui",
"components",
"vane",
"vaneui",
"tailwind",
"headless",
"typescript"
],
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"./vars": {
"import": "./dist/vars.css",
"default": "./dist/vars.css"
},
"./css": {
"import": "./dist/ui.css",
"default": "./dist/ui.css"
}
},
"scripts": {
"clean": "rimraf dist",
"type-check": "tsc --noEmit",
"build:js": "npm run type-check && npm run clean && rollup -c --bundleConfigAsCjs",
"build:css:vars": "npx @tailwindcss/cli -i src/components/css/vars.css -o ./dist/vars.css",
"build:css:ui": "npx @tailwindcss/cli -i src/components/index.css -o ./dist/ui.css",
"build": "npm run clean && npm run build:js && npm run build:css:ui && npm run build:css:vars",
"test": "tsc --noEmit && node node_modules/jest/bin/jest.js",
"playground": "npm run build && cd playground && npm run dev",
"playground:dev": "cd playground && npm run dev"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@tailwindcss/cli": "^4.0.14",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.14",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.7.0",
"concurrently": "^8.2.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.0.4",
"jsdom": "^26.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^5.0.10",
"rollup": "^4.34.9",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.36.0",
"tailwind-merge": "^3.0.2",
"tailwindcss": "^4.0.14",
"ts-jest": "^29.3.1",
"tslib": "^2.8.1",
"typescript": "^5.8.2",
"vite": "^7.0.6"
}
}