|
10 | 10 | "type": "module", |
11 | 11 | "types": "./dist/index.d.ts", |
12 | 12 | "exports": { |
13 | | - "import": { |
14 | | - "import": "./esm/index.js" |
15 | | - }, |
16 | | - "require": { |
17 | | - "require": "./dist/index.js" |
18 | | - } |
| 13 | + "import": "./esm/index.js", |
| 14 | + "require": "./dist/index.js" |
19 | 15 | }, |
20 | 16 | "author": { |
21 | 17 | "name": "Colin Diesh", |
|
31 | 27 | "test": "vitest", |
32 | 28 | "benchonly": "vitest bench", |
33 | 29 | "bench": "./scripts/build-both-branches.sh \"$BRANCH1\" \"$BRANCH2\" && vitest bench", |
34 | | - "clean": "rimraf dist esm", |
| 30 | + "clean": "rm -rf dist esm", |
35 | 31 | "lint": "eslint --report-unused-disable-directives --max-warnings 0", |
36 | | - "docs": "documentation readme src/api.ts --section=API --shallow && yarn format", |
37 | 32 | "format": "prettier --write .", |
38 | 33 | "prebuild": "yarn clean", |
39 | 34 | "build:esm": "tsc --target esnext --outDir esm", |
|
52 | 47 | ], |
53 | 48 | "devDependencies": { |
54 | 49 | "@types/node": "^25.6.0", |
55 | | - "@typescript-eslint/eslint-plugin": "^8.59.0", |
56 | | - "@typescript-eslint/parser": "^8.59.0", |
57 | | - "@vitest/coverage-v8": "^4.1.5", |
58 | | - "documentation": "^14.0.3", |
59 | 50 | "eslint": "^10.2.1", |
60 | 51 | "eslint-plugin-import": "^2.32.0", |
61 | 52 | "prettier": "^3.8.3", |
62 | | - "rimraf": "^6.1.3", |
63 | 53 | "typescript": "^6.0.3", |
64 | 54 | "typescript-eslint": "^8.59.0", |
65 | 55 | "vitest": "^4.1.5" |
|
0 commit comments