Skip to content

Commit ae53658

Browse files
committed
Simplify package.json
1 parent 681e7bf commit ae53658

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@
2525
],
2626
"scripts": {
2727
"test": "vitest",
28-
"benchonly": "vitest bench",
29-
"bench": "./scripts/build-both-branches.sh \"$BRANCH1\" \"$BRANCH2\" && vitest bench",
30-
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
31-
"format": "prettier --write .",
32-
"docs": "documentation readme --shallow src/tabixIndexedFile.ts --section TabixIndexedFile",
3328
"clean": "rimraf dist esm",
29+
"format": "prettier --write .",
30+
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
3431
"prebuild": "pnpm clean",
35-
"build:esm": "tsc --target es2020 --outDir esm",
36-
"build:es5": "tsc --target es2020 --module commonjs --moduleResolution bundler --outDir dist",
32+
"build:esm": "tsc --outDir esm",
33+
"build:es5": "tsc --module commonjs --moduleResolution bundler --outDir dist",
3734
"postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json",
35+
"preversion": "pnpm lint && pnpm test --run && pnpm build",
36+
"postversion": "git push --follow-tags",
3837
"build": "pnpm build:esm && pnpm build:es5",
38+
"benchonly": "vitest bench",
39+
"bench": "./scripts/build-both-branches.sh \"$BRANCH1\" \"$BRANCH2\" && vitest bench",
40+
"docs": "documentation readme --shallow src/tabixIndexedFile.ts --section TabixIndexedFile",
3941
"postbuild": "webpack",
40-
"preversion": "pnpm lint && pnpm test run && pnpm build",
4142
"prepublishOnly": "pnpm lint && pnpm test run && pnpm build",
42-
"version": "standard-changelog && git add CHANGELOG.md",
43-
"postversion": "git push --follow-tags"
43+
"version": "standard-changelog && git add CHANGELOG.md"
4444
},
4545
"keywords": [
4646
"bionode",

0 commit comments

Comments
 (0)