|
4 | 4 | "files": ["dist"], |
5 | 5 | "license": "Apache-2.0", |
6 | 6 | "type": "module", |
7 | | - "main": "./dist/index.cjs", |
8 | | - "module": "./dist/index.js", |
9 | | - "types": "./dist/index.d.ts", |
| 7 | + "main": "./dist/index.js", |
10 | 8 | "homepage": "https://github.com/lokalise/shared-ts-libs", |
11 | 9 | "repository": { |
12 | 10 | "type": "git", |
13 | 11 | "url": "git://github.com/lokalise/shared-ts-libs.git" |
14 | 12 | }, |
15 | 13 | "exports": { |
16 | | - ".": { |
17 | | - "types": "./dist/index.d.ts", |
18 | | - "require": "./dist/index.cjs", |
19 | | - "import": "./dist/index.js" |
20 | | - } |
| 14 | + ".": "./dist/index.js", |
| 15 | + "./package.json": "./package.json" |
21 | 16 | }, |
22 | 17 | "publishConfig": { |
23 | 18 | "access": "public" |
24 | 19 | }, |
25 | 20 | "scripts": { |
26 | 21 | "build": "rimraf dist && vite build", |
27 | 22 | "clean": "rimraf dist", |
28 | | - "lint": "biome check . && tsc --project tsconfig.lint.json --noEmit", |
| 23 | + "lint": "biome check . && tsc", |
29 | 24 | "lint:fix": "biome check --write", |
30 | 25 | "test:ci": "vitest run --coverage", |
31 | 26 | "prepublishOnly": "npm run build", |
32 | 27 | "package-version": "echo $npm_package_version", |
33 | 28 | "postversion": "biome check --write package.json" |
34 | 29 | }, |
35 | 30 | "peerDependencies": { |
36 | | - "@lokalise/fastify-extras": ">=24.0.0", |
| 31 | + "@lokalise/fastify-extras": ">=27.0.0", |
37 | 32 | "prom-client": "^15.1.3", |
38 | 33 | "fastify-metrics": "^12.1.0" |
39 | 34 | }, |
40 | 35 | "devDependencies": { |
41 | 36 | "@biomejs/biome": "^1.9.4", |
42 | 37 | "@lokalise/biome-config": "^1.5.0", |
43 | | - "@lokalise/fastify-extras": "^26.1.1", |
| 38 | + "@lokalise/fastify-extras": "^27.0.0", |
44 | 39 | "@lokalise/package-vite-config": "latest", |
| 40 | + "@lokalise/tsconfig": "^1.0.2", |
45 | 41 | "@vitest/coverage-v8": "^3.0.7", |
46 | 42 | "rimraf": "^6.0.1", |
47 | 43 | "typescript": "5.8.2", |
48 | 44 | "vite": "6.2.1", |
| 45 | + "vite-plugin-dts": "^4.5.3", |
49 | 46 | "vitest": "^3.0.7" |
50 | 47 | } |
51 | 48 | } |
0 commit comments