|
8 | 8 | "types": "./dist/index.d.ts", |
9 | 9 | "exports": { |
10 | 10 | "./test-utils": { |
11 | | - "types": "./dist/test-utils.d.ts", |
12 | | - "default": "./dist/test-utils.js" |
| 11 | + "types": "./dist/test-utils.d.mts", |
| 12 | + "require": "./dist/test-utils.js", |
| 13 | + "default": "./dist/test-utils.mjs" |
13 | 14 | }, |
14 | 15 | ".": { |
15 | 16 | "types": "./dist/index.d.mts", |
|
29 | 30 | "build": "run-s build:*", |
30 | 31 | "build:bundle": "tsup src/index.tsx", |
31 | 32 | "build:legacy": "tsup src/index.tsx --format esm --legacy-output --no-clean --no-dts", |
32 | | - "build:utils": "tsc -p tsconfig.test.json", |
| 33 | + "build:utils": "tsup src/test-utils.ts --no-clean --no-sourcemap", |
33 | 34 | "build:copy": "node scripts/build-copy.cjs", |
34 | 35 | "postbuild": "size-limit", |
35 | 36 | "dev": "run-p dev:*", |
|
74 | 75 | ] |
75 | 76 | }, |
76 | 77 | "simple-git-hooks": { |
77 | | - "pre-commit": "npx lint-staged && vitest run" |
| 78 | + "pre-commit": "npx lint-staged" |
78 | 79 | }, |
79 | 80 | "lint-staged": { |
80 | 81 | "*.{js,json,css,md,ts,tsx}": [ |
|
108 | 109 | "devDependencies": { |
109 | 110 | "@biomejs/biome": "^1.5.3", |
110 | 111 | "@size-limit/preset-small-lib": "^11.0.2", |
111 | | - "@testing-library/jest-dom": "^6.4.1", |
| 112 | + "@testing-library/jest-dom": "^6.4.2", |
112 | 113 | "@testing-library/react": "^14.2.1", |
113 | 114 | "@types/jest": "^29.5.12", |
114 | | - "@types/react": "^18.2.51", |
115 | | - "@types/react-dom": "^18.2.18", |
| 115 | + "@types/react": "^18.2.55", |
| 116 | + "@types/react-dom": "^18.2.19", |
116 | 117 | "jsdom": "^24.0.0", |
117 | | - "lint-staged": "^15.2.1", |
| 118 | + "lint-staged": "^15.2.2", |
118 | 119 | "microbundle": "^0.15.1", |
119 | 120 | "npm-run-all": "^4.1.5", |
120 | 121 | "react": "^18.2.0", |
|
0 commit comments