|
14 | 14 | "type": "github", |
15 | 15 | "url": "https://github.com/sponsors/tannerlinsley" |
16 | 16 | }, |
| 17 | + "scripts": { |
| 18 | + "clean": "rimraf ./build && rimraf ./coverage", |
| 19 | + "test:eslint": "eslint ./src", |
| 20 | + "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"", |
| 21 | + "test:types:ts47": "node ../../node_modules/typescript47/lib/tsc.js -p tsconfig.legacy.json", |
| 22 | + "test:types:ts48": "node ../../node_modules/typescript48/lib/tsc.js -p tsconfig.legacy.json", |
| 23 | + "test:types:ts49": "node ../../node_modules/typescript49/lib/tsc.js -p tsconfig.legacy.json", |
| 24 | + "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js -p tsconfig.legacy.json", |
| 25 | + "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js -p tsconfig.legacy.json", |
| 26 | + "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json", |
| 27 | + "test:types:ts53": "tsc", |
| 28 | + "test:lib": "vitest", |
| 29 | + "test:lib:dev": "pnpm run test:lib --watch", |
| 30 | + "test:build": "publint --strict && attw --pack", |
| 31 | + "build": "tsup" |
| 32 | + }, |
17 | 33 | "type": "module", |
18 | 34 | "types": "build/legacy/index.d.ts", |
19 | 35 | "main": "build/legacy/index.cjs", |
|
35 | 51 | "files": [ |
36 | 52 | "build", |
37 | 53 | "src" |
38 | | - ], |
39 | | - "scripts": { |
40 | | - "clean": "rimraf ./build && rimraf ./coverage", |
41 | | - "test:eslint": "eslint ./src", |
42 | | - "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"", |
43 | | - "test:types:ts47": "node ../../node_modules/typescript47/lib/tsc.js -p tsconfig.legacy.json", |
44 | | - "test:types:ts48": "node ../../node_modules/typescript48/lib/tsc.js -p tsconfig.legacy.json", |
45 | | - "test:types:ts49": "node ../../node_modules/typescript49/lib/tsc.js -p tsconfig.legacy.json", |
46 | | - "test:types:ts50": "node ../../node_modules/typescript50/lib/tsc.js -p tsconfig.legacy.json", |
47 | | - "test:types:ts51": "node ../../node_modules/typescript51/lib/tsc.js -p tsconfig.legacy.json", |
48 | | - "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json", |
49 | | - "test:types:ts53": "tsc", |
50 | | - "test:lib": "vitest", |
51 | | - "test:lib:dev": "pnpm run test:lib --watch", |
52 | | - "test:build": "publint --strict && attw --pack", |
53 | | - "build": "tsup" |
54 | | - } |
| 54 | + ] |
55 | 55 | } |
0 commit comments