upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-15 17:03:40 +0530
committerYour Name <you@example.com>2026-05-15 17:03:40 +0530
commita7d0a672d59bf8985a6fc0e61b49015fabd96513 (patch)
tree46814d1757649a640f53805a8d9dfc1b0f354289 /package.json
parent8a2307a5ced6da94cc674602219d5a68a1246264 (diff)
Phase 1 working: captive portal, DNS hijack, NAT-based access control
- Fix WiFi init order: netif creation before esp_wifi_init, set mode before set_config - Replace broken netif input filter with NAPT on/off per authentication state - NAPT disabled by default, enabled when client granted, disabled on revoke - Fix test helpers: use -I wlp59s0 for ping, handle nslookup exit code 1 - All 20 API tests pass, all 6 smoke tests pass
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..d6e270b
--- /dev/null
+++ b/package.json
@@ -0,0 +1,15 @@
1{
2 "name": "esp32-tollgate-tests",
3 "version": "1.0.0",
4 "private": true,
5 "scripts": {
6 "test": "node tests/api.mjs && node tests/network.mjs",
7 "test:api": "node tests/api.mjs",
8 "test:network": "node tests/network.mjs",
9 "test:portal": "npx playwright test tests/captive-portal.spec.mjs",
10 "test:smoke": "node tests/smoke.mjs"
11 },
12 "devDependencies": {
13 "@playwright/test": "^1.52.0"
14 }
15}