artefact-design-system 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +46 -0
- package/LICENSE +21 -0
- package/README.md +30 -0
- package/context/COMPONENTS.md +90 -0
- package/context/DESIGN.md +242 -0
- package/dist/index.d.ts +834 -0
- package/dist/index.js +3975 -0
- package/dist/index.js.map +1 -0
- package/dist/style.css +2 -0
- package/package.json +85 -0
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "artefact-design-system",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Артефакт design system — Foundation/Primitives/Components/Sections on top of shadcn/ui + Radix, published as an installable package.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"private": false,
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/gpogrebnyack/artefact-design-system.git"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"/AGENTS.md",
|
|
15
|
+
"context/DESIGN.md",
|
|
16
|
+
"context/COMPONENTS.md"
|
|
17
|
+
],
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"module": "./dist/index.js",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./style.css": "./dist/style.css"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build:js": "tsup",
|
|
30
|
+
"build:css": "tailwindcss -i src/index.css -o dist/style.css --minify",
|
|
31
|
+
"build": "npm run lint:design && npm run check:context && npm run typecheck && npm run build:js && npm run build:css",
|
|
32
|
+
"lint:design": "design.md lint context/DESIGN.md",
|
|
33
|
+
"check:context": "node scripts/check-context-sync.mjs",
|
|
34
|
+
"typecheck": "tsc --noEmit",
|
|
35
|
+
"dev:css": "tailwindcss -i src/index.css -o dist/style.css --watch",
|
|
36
|
+
"storybook": "storybook dev -p 6009 --no-open",
|
|
37
|
+
"build-storybook": "storybook build",
|
|
38
|
+
"prepare": "simple-git-hooks",
|
|
39
|
+
"prepublishOnly": "npm run build"
|
|
40
|
+
},
|
|
41
|
+
"simple-git-hooks": {
|
|
42
|
+
"pre-commit": "npm run lint:design && npm run check:context && npm run typecheck"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"react": "^19.0.0",
|
|
46
|
+
"react-dom": "^19.0.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@phosphor-icons/react": "^2.1.10",
|
|
50
|
+
"class-variance-authority": "^0.7.1",
|
|
51
|
+
"clsx": "^2.1.1",
|
|
52
|
+
"lucide-react": "^1.23.0",
|
|
53
|
+
"next-themes": "^0.4.6",
|
|
54
|
+
"radix-ui": "^1.6.1",
|
|
55
|
+
"react-is": "^19.2.7",
|
|
56
|
+
"recharts": "^3.8.0",
|
|
57
|
+
"sonner": "^2.0.7",
|
|
58
|
+
"tailwind-merge": "^3.6.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
62
|
+
"@fontsource-variable/geist": "^5.2.9",
|
|
63
|
+
"@google/design.md": "^0.3.0",
|
|
64
|
+
"@storybook/addon-a11y": "^10.4.6",
|
|
65
|
+
"@storybook/addon-docs": "^10.4.6",
|
|
66
|
+
"@storybook/addon-mcp": "^0.6.0",
|
|
67
|
+
"@storybook/react-vite": "^10.4.6",
|
|
68
|
+
"@tailwindcss/cli": "^4.3.2",
|
|
69
|
+
"@tailwindcss/vite": "^4.3.2",
|
|
70
|
+
"@types/node": "^24.13.2",
|
|
71
|
+
"@types/react": "^19.2.17",
|
|
72
|
+
"@types/react-dom": "^19.2.3",
|
|
73
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
74
|
+
"react": "^19.2.7",
|
|
75
|
+
"react-dom": "^19.2.7",
|
|
76
|
+
"shadcn": "^4.13.0",
|
|
77
|
+
"simple-git-hooks": "^2.13.1",
|
|
78
|
+
"storybook": "^10.4.6",
|
|
79
|
+
"tailwindcss": "^4.3.2",
|
|
80
|
+
"tsup": "^8.3.5",
|
|
81
|
+
"tw-animate-css": "^1.4.0",
|
|
82
|
+
"typescript": "~6.0.2",
|
|
83
|
+
"vite": "^8.1.1"
|
|
84
|
+
}
|
|
85
|
+
}
|