aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2024-02-03 12:12:20 +0700
committerGitHub <noreply@github.com>2024-02-03 05:12:20 +0000
commit3fc7362fe189b73d9cb9a0ff3338d755ca7e7003 (patch)
tree4c5bfb646b1b4603e7bf7273b98ad292cfe4a7ca /package.json
parent16423a1bc89d8a0e6439c8d3f7441fd3d36e85df (diff)
Add vitest benchmark (#583)
* add basic benches * add package.json script * fix header * add codspeed plugin * add benchmark GitHub action * add env * revert change * merge upstream * update names
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 0f8e82cd..c4dc2dd8 100644
--- a/package.json
+++ b/package.json
@@ -10,6 +10,7 @@
},
"type": "module",
"scripts": {
+ "bench": "vitest bench",
"build": "node ./dev/bin/build.js",
"build-libs": "node ./dev/bin/build-libs.js",
"test": "npm run test-lint-js && npm run test-ts && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-build",
@@ -46,6 +47,7 @@
"sourceDir": "ext"
},
"devDependencies": {
+ "@codspeed/vitest-plugin": "^3.1.0",
"@playwright/test": "^1.39.0",
"@stylistic/eslint-plugin-ts": "^1.5.1",
"@stylistic/stylelint-plugin": "^2.0.0",