|
31 | 31 | ], |
32 | 32 | "scripts": { |
33 | 33 | "test": "vitest", |
| 34 | + "benchonly": "vitest bench", |
| 35 | + "bench": "./scripts/build-both-branches.sh \"$BRANCH1\" \"$BRANCH2\" && vitest bench", |
34 | 36 | "format": "prettier --write .", |
35 | 37 | "coverage": "yarn test --coverage", |
36 | 38 | "lint": "eslint --report-unused-disable-directives --max-warnings 0", |
37 | 39 | "docs": "documentation readme src/twoBitFile.ts --section=TwoBitFile", |
38 | 40 | "postdocs": "yarn format && git commit -am 'readme'", |
39 | 41 | "clean": "rimraf dist esm", |
40 | | - "prebuild": "yarn docs && yarn clean", |
| 42 | + "prebuild": "yarn clean", |
41 | 43 | "build:esm": "tsc --outDir esm", |
42 | 44 | "build:es5": "tsc --module commonjs --outDir dist", |
43 | 45 | "build": "yarn build:esm && yarn build:es5", |
44 | 46 | "postbuild:es5": "echo '{\"type\": \"commonjs\"}' > dist/package.json", |
45 | | - "preversion": "npm run build", |
| 47 | + "preversion": "yarn docs && yarn build", |
46 | 48 | "version": "standard-changelog && git add CHANGELOG.md", |
47 | 49 | "postversion": "git push --follow-tags" |
48 | 50 | }, |
|
54 | 56 | "generic-filehandle2": "^2.0.1" |
55 | 57 | }, |
56 | 58 | "devDependencies": { |
57 | | - "@vitest/coverage-v8": "^3.0.1", |
| 59 | + "@vitest/coverage-v8": "^4.0.15", |
58 | 60 | "documentation": "^14.0.1", |
59 | 61 | "eslint": "^9.7.0", |
60 | 62 | "eslint-plugin-import": "^2.31.0", |
61 | | - "eslint-plugin-unicorn": "^61.0.2", |
| 63 | + "eslint-plugin-unicorn": "^62.0.0", |
62 | 64 | "prettier": "^3.4.2", |
63 | 65 | "rimraf": "^6.0.1", |
64 | 66 | "standard-changelog": "^7.0.1", |
65 | 67 | "typescript": "^5.5.3", |
66 | 68 | "typescript-eslint": "^8.13.0", |
67 | | - "vitest": "^3.0.1" |
| 69 | + "vitest": "^4.0.15" |
68 | 70 | }, |
69 | 71 | "publishConfig": { |
70 | 72 | "access": "public" |
|
0 commit comments