๐Ÿ“ฆ colinhacks / zshy

๐Ÿ“„ package.json ยท 34 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{
  "name": "my-pkg",
  "version": "1.0.0",
  "description": "Test fixture for zshy - represents a typical TypeScript library",
  "type": "module",
  "scripts": {
    "build": "tsx ../../src/index.ts --project tsconfig.json"
  },
  "devDependencies": {
    "typescript": "^5.8.3"
  },
  "zshy": {
    "exports": {
      ".": "./src/index.ts"
    },
    "cjs": false,
    "conditions": {
      "custom-cjs": "esm"
    }
  },
  "files": [
    "dist"
  ],
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "custom-cjs": "./dist/index.js",
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  }
}