Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 1.84 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
{
"name": "variations",
"version": "1.4.0",
"description": "A React component library that enables rapid prototyping and exploration of UI variations. Built for Next.js App Router and AI coding agents.",
"license": "MIT",
"author": "Dan Perrera",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./next": {
"types": "./dist/next.d.ts",
"import": "./dist/next.js",
"require": "./dist/next.cjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"AGENTS.md"
],
"sideEffects": false,
"scripts": {
"build": "vite build && vite build -c vite.next.config.ts",
"dev": "vite",
"dev:pack": "npm run build && npm pack",
"typecheck": "tsc --noEmit",
"example:next": "npm run build && npm --prefix examples/next install && npm --prefix examples/next run dev -- -p 3456"
},
"keywords": [
"react",
"variations",
"ui",
"components",
"design",
"prototype",
"nextjs",
"app-router",
"a-b",
"agent"
],
"peerDependencies": {
"next": ">=13",
"react": ">=18",
"react-dom": ">=18"
},
"peerDependenciesMeta": {
"next": {
"optional": true
}
},
"devDependencies": {
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite-plugin-dts": "^4.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/dperrera/variations.git"
},
"bugs": {
"url": "https://github.com/dperrera/variations/issues"
},
"homepage": "https://github.com/dperrera/variations#readme"
}