Skip to content

Commit 6f6e46d

Browse files
committed
Simplify package.json
1 parent 7424c87 commit 6f6e46d

2 files changed

Lines changed: 35 additions & 2088 deletions

File tree

package.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@
1010
"type": "module",
1111
"types": "./dist/index.d.ts",
1212
"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"
1915
},
2016
"author": {
2117
"name": "Colin Diesh",
@@ -31,9 +27,8 @@
3127
"test": "vitest",
3228
"benchonly": "vitest bench",
3329
"bench": "./scripts/build-both-branches.sh \"$BRANCH1\" \"$BRANCH2\" && vitest bench",
34-
"clean": "rimraf dist esm",
30+
"clean": "rm -rf dist esm",
3531
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
36-
"docs": "documentation readme src/api.ts --section=API --shallow && yarn format",
3732
"format": "prettier --write .",
3833
"prebuild": "yarn clean",
3934
"build:esm": "tsc --target esnext --outDir esm",
@@ -52,14 +47,9 @@
5247
],
5348
"devDependencies": {
5449
"@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",
5950
"eslint": "^10.2.1",
6051
"eslint-plugin-import": "^2.32.0",
6152
"prettier": "^3.8.3",
62-
"rimraf": "^6.1.3",
6353
"typescript": "^6.0.3",
6454
"typescript-eslint": "^8.59.0",
6555
"vitest": "^4.1.5"

0 commit comments

Comments
 (0)