summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-10 00:14:49 -0800
committerFuwn <[email protected]>2026-02-10 00:14:49 -0800
commit3bf0a85f912d39595f0f9d329ee316e1af79dd86 (patch)
tree34d8dce12a12d14a61774e47f2eaeed21bc7289e /package.json
parentfix: reduce lint warnings from 34 to 0 (diff)
downloadasa.news-3bf0a85f912d39595f0f9d329ee316e1af79dd86.tar.xz
asa.news-3bf0a85f912d39595f0f9d329ee316e1af79dd86.zip
feat: add vitest tests and GitHub Actions CI
24 tests covering webhook URL validation (SSRF), API key generation/ hashing, and HTML sanitization. CI workflow runs lint, typecheck (build), and test on push/PR to main.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 6dee777..38a8f47 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
- "lint": "turbo lint"
+ "lint": "turbo lint",
+ "test": "turbo test"
},
"devDependencies": {
"turbo": "^2"