@nghitrum/dsforge 0.1.1

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/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@nghitrum/dsforge",
3
+ "version": "0.1.1",
4
+ "description": "AI-native design system generator — tokens → components → docs → npm",
5
+ "keywords": [
6
+ "design-system",
7
+ "tokens",
8
+ "cli",
9
+ "react",
10
+ "typescript"
11
+ ],
12
+ "license": "MIT",
13
+ "type": "module",
14
+ "bin": {
15
+ "dsforge": "dist/cli/index.js"
16
+ },
17
+ "main": "./dist/index.js",
18
+ "types": "./dist/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "import": "./dist/index.js",
22
+ "types": "./dist/index.d.ts"
23
+ }
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "templates"
28
+ ],
29
+ "scripts": {
30
+ "build": "tsup",
31
+ "postbuild": "node -e \"const fs=require('fs'),f='dist/cli/index.js',c=fs.readFileSync(f,'utf8');if(!c.startsWith('#!/'))fs.writeFileSync(f,'#!/usr/bin/env node\\n'+c);\" && chmod +x dist/cli/index.js",
32
+ "dev": "tsx src/cli/index.ts",
33
+ "test": "vitest run",
34
+ "test:watch": "vitest",
35
+ "typecheck": "tsc --noEmit",
36
+ "lint": "eslint src --ext .ts",
37
+ "clean": "rm -rf dist",
38
+ "purge": "rm -rf dist-ds design-system.config.json design-system.rules.json"
39
+ },
40
+ "dependencies": {
41
+ "chalk": "^5.3.0",
42
+ "commander": "^12.1.0",
43
+ "fs-extra": "^11.2.0",
44
+ "ora": "^8.1.0",
45
+ "zod": "^3.23.0"
46
+ },
47
+ "devDependencies": {
48
+ "@types/fs-extra": "^11.0.4",
49
+ "@types/node": "^20.14.0",
50
+ "tsup": "^8.5.1",
51
+ "tsx": "^4.15.0",
52
+ "typescript": "^5.5.0",
53
+ "vitest": "^4.0.18"
54
+ },
55
+ "engines": {
56
+ "node": ">=18.0.0"
57
+ }
58
+ }