diff --git a/package.json b/package.json index 72ba964f..af27987a 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,12 @@ "build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets", "postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets", "check": "scripts/check", + "check:http-server": "cd http-server && cargo clippy --all --tests && cargo fmt --all --check", "format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --write", "test:unit": "TZ='UTC' vitest run", "test:e2e": "NODE_CONFIG_ENV='test' TZ='UTC' playwright test", - "test:http-client:unit": "NODE_CONFIG_ENV='test' TZ='UTC' vitest run --config http-client/vite.config.ts --reporter verbose" + "test:http-client:unit": "NODE_CONFIG_ENV='test' TZ='UTC' vitest run --config http-client/vite.config.ts --reporter verbose", + "test:http-server": "cd http-server && cargo test --all-features" }, "type": "module", "engines": {