|
10 | 10 | "type": "module", |
11 | 11 | "exports": { |
12 | 12 | ".": { |
13 | | - "types": "./src/types/index.d.ts", |
14 | | - "import": "./src/index.mjs" |
| 13 | + "types": "./dist/types/index.d.mts", |
| 14 | + "import": "./dist/index.mjs" |
15 | 15 | } |
16 | 16 | }, |
17 | 17 | "files": [ |
18 | | - "src" |
| 18 | + "dist" |
19 | 19 | ], |
20 | 20 | "keywords": [ |
21 | 21 | "cli", |
|
29 | 29 | "esm" |
30 | 30 | ], |
31 | 31 | "scripts": { |
32 | | - "lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c .config/eslint.config.js .", |
33 | | - "lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint -c .config/eslint.config.js --fix .", |
34 | | - "format": "prettier --config .config/prettier.config.js --write ." |
35 | | - }, |
36 | | - "devDependencies": { |
37 | | - "@hypernym/eslint-config": "^2.0.2", |
38 | | - "@hypernym/prettier-config": "^2.0.2", |
39 | | - "eslint": "^8.51.0", |
40 | | - "prettier": "^3.0.3" |
| 32 | + "build": "hyperbundler", |
| 33 | + "lint": "eslint .", |
| 34 | + "lint:fix": "eslint --fix .", |
| 35 | + "format": "prettier --write .", |
| 36 | + "prepublishOnly": "pnpm build" |
41 | 37 | }, |
| 38 | + "sideEffects": false, |
| 39 | + "packageManager": "[email protected]", |
42 | 40 | "engines": { |
43 | | - "node": ">=v18.0.0" |
| 41 | + "node": ">=20.0.0", |
| 42 | + "pnpm": ">=9.0.0" |
| 43 | + }, |
| 44 | + "peerDependencies": { |
| 45 | + "@types/node": ">=20.0.0", |
| 46 | + "typescript": ">=5.0.0" |
| 47 | + }, |
| 48 | + "peerDependenciesMeta": { |
| 49 | + "@types/node": { |
| 50 | + "optional": true |
| 51 | + }, |
| 52 | + "typescript": { |
| 53 | + "optional": true |
| 54 | + } |
| 55 | + }, |
| 56 | + "devDependencies": { |
| 57 | + "@hypernym/bundler": "^0.14.0", |
| 58 | + "@hypernym/eslint-config": "^3.5.1", |
| 59 | + "@hypernym/prettier-config": "^3.2.0", |
| 60 | + "@hypernym/tsconfig": "^2.4.0", |
| 61 | + "@types/node": "^22.8.6", |
| 62 | + "eslint": "^9.14.0", |
| 63 | + "prettier": "^3.3.3", |
| 64 | + "typescript": "^5.6.3" |
44 | 65 | } |
45 | 66 | } |
0 commit comments