๐Ÿ“ฆ colinhacks / zshy

๐Ÿ“„ package.json ยท 87 lines
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": "zshy",
  "version": "0.0.0",
  "type": "module",
  "description": "Gold-standard build tool for TypeScript libraries",
  "keywords": [
    "typescript",
    "build-tool",
    "compiler",
    "dual-package",
    "esm",
    "cjs",
    "library",
    "tsc"
  ],
  "homepage": "https://github.com/colinhacks/zshy#readme",
  "bugs": {
    "url": "https://github.com/colinhacks/zshy/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/colinhacks/zshy.git"
  },
  "license": "MIT",
  "author": {
    "name": "Colin McDonnell",
    "email": "colin@colinhacks.com",
    "url": "https://colinhacks.com"
  },
  "funding": {
    "type": "github",
    "url": "https://github.com/sponsors/colinhacks"
  },
  "module": "./dist/index.js",
  "bin": "./dist/index.cjs",
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.18.2",
    "@biomejs/biome": "^2.0.5",
    "@types/node": "latest",
    "@types/react": "^19.1.8",
    "@types/semver": "^7.7.0",
    "react": "^19.1.0",
    "semver": "^7.7.2",
    "tsx": "^4.20.3",
    "typescript": "^5.8.3",
    "vitest": "^2.1.5",
    "my-pkg": "link:./test"
  },
  "peerDependencies": {
    "typescript": ">5.5.0"
  },
  "dependencies": {
    "arg": "^5.0.2",
    "fast-glob": "^3.3.2",
    "table": "^6.9.0"
  },
  "scripts": {
    "build": "tsx src/index.ts",
    "test": "vitest run",
    "test:basic": "tsx ./src/index.ts --project ./test/basic/tsconfig.json --dry-run",
    "clean": "git clean -xdf . -e node_modules"
  },
  "zshy": {
    "exports": {
      ".": "./src/index.ts"
    },
    "bin": "./src/index.ts",
    "conditions": {
      "@zod/source": "src"
    }
  },
  "main": "./dist/index.cjs",
  "types": "./dist/index.d.cts",
  "exports": {
    ".": {
      "@zod/source": "./src/index.ts",
      "types": "./dist/index.d.cts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "dist"
  ],
  "packageManager": "pnpm@9.15.9"
}