Files
selfphoneng/package.json
T
iamdoubz a0121d4975 test: Asterisk upgrade check
verified.ts records what the code relies on Asterisk doing and the version it
was measured on; pnpm test fails while the Dockerfile pins another one.
pnpm test:asterisk-upgrade boots the image next to a TLS provider and lists
every behaviour that moved and what depends on it.
2026-10-28 17:01:26 -05:00

34 lines
1.4 KiB
JSON

{
"name": "selfphoneng",
"version": "0.0.11",
"private": true,
"license": "AGPL-3.0-or-later",
"type": "module",
"packageManager": "pnpm@11.10.0",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "pnpm --parallel --filter @selfphoneng/api --filter @selfphoneng/web dev",
"build": "pnpm -r build",
"test": "vitest run",
"lint": "eslint . && prettier --check .",
"format": "prettier --write .",
"typecheck": "pnpm -r typecheck",
"test:asterisk-upgrade": "node --conditions=source apps/api/test/asterisk/upgrade-test.ts",
"test:asterisk": "node apps/api/test/asterisk/load-golden.mjs && node --conditions=source apps/api/test/asterisk/call-test.ts && node --conditions=source apps/api/test/asterisk/trunk-test.ts && node --conditions=source apps/api/test/asterisk/voicemail-test.ts && node --conditions=source apps/api/test/asterisk/moh-test.ts && node --conditions=source apps/api/test/asterisk/rec-test.ts && node --conditions=source apps/api/test/asterisk/upgrade-test.ts"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.19.2",
"@typescript/native": "npm:typescript@^7.0.2",
"eslint": "^10.13.0",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.13.0",
"prettier": "^3.9.10",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"typescript-eslint": "^8.71.2",
"vitest": "^5.0.5"
}
}