Add http-server npm scripts

This commit is contained in:
Sebastian Martinez
2024-06-07 12:22:28 +02:00
parent 23107912af
commit adc6c6c290
+3 -1
View File
@@ -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": {