|
16 | 16 | "types": "./src/*.ts", |
17 | 17 | "import": "./src/*.ts", |
18 | 18 | "default": "./src/*.ts" |
19 | | - } |
| 19 | + }, |
| 20 | + "#safe-formdata": "./src/index.ts" |
20 | 21 | }, |
21 | 22 | "type": "module", |
22 | 23 | "main": "./dist/index.js", |
|
36 | 37 | "dev": "tsup --watch", |
37 | 38 | "lint": "oxlint . --deny-warnings", |
38 | 39 | "lint:fix": "oxlint . --fix-suggestions", |
39 | | - "check:type": "tsc --noEmit", |
40 | 40 | "format:biome": "biome check --write --assist-enabled true", |
41 | 41 | "format:prettier": "prettier --cache --write \"**/*.{md,yml,yaml}\"", |
42 | 42 | "format": "npm-run-all2 format:biome format:prettier", |
|
46 | 46 | "check:format": "npm-run-all2 check:biome check:prettier", |
47 | 47 | "check:source": "npm-run-all2 lint check:format", |
48 | 48 | "check": "bun run check:source", |
| 49 | + "check:type:source": "tsc --noEmit", |
| 50 | + "check:type:example": "tsc --project tsconfig.examples.json --noEmit", |
| 51 | + "check:type": "npm-run-all2 check:type:source check:type:example", |
49 | 52 | "check:prettier:ci": "prettier --check \"**/*.{md,yml,yaml}\"", |
50 | 53 | "check:format:ci": "npm-run-all2 check:biome check:prettier:ci", |
51 | 54 | "check:source:ci": "npm-run-all2 lint check:format:ci", |
|
54 | 57 | "test:coverage": "vitest run --coverage", |
55 | 58 | "build": "tsup", |
56 | 59 | "check:package": "publint && attw --pack . --ignore-rules cjs-resolves-to-esm", |
57 | | - "prepublishOnly": "bun run check:type && bun run test:coverage && bun run build && bun run check:package" |
| 60 | + "prepublishOnly": "bun run check:type:source && bun run test:coverage && bun run build && bun run check:package" |
58 | 61 | }, |
59 | 62 | "devDependencies": { |
60 | 63 | "@arethetypeswrong/cli": "0.18.2", |
|
0 commit comments