|
25 | 25 | ], |
26 | 26 | "scripts": { |
27 | 27 | "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", |
33 | 28 | "clean": "rimraf dist esm", |
| 29 | + "format": "prettier --write .", |
| 30 | + "lint": "eslint --report-unused-disable-directives --max-warnings 0", |
34 | 31 | "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", |
37 | 34 | "postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json", |
| 35 | + "preversion": "pnpm lint && pnpm test --run && pnpm build", |
| 36 | + "postversion": "git push --follow-tags", |
38 | 37 | "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", |
39 | 41 | "postbuild": "webpack", |
40 | | - "preversion": "pnpm lint && pnpm test run && pnpm build", |
41 | 42 | "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" |
44 | 44 | }, |
45 | 45 | "keywords": [ |
46 | 46 | "bionode", |
|
0 commit comments