npm run demo loads Acacia Hill; --profile/--scenario any of the eight demo churches, around @crosscode/demo's people (the same account ids as Accounts), in the scenario's active-member band: a prayer wall with three months of commitments and the scenario's gaps, a campaign, testimonies, prayer requests, announcements, the church's own devotionals or Cross Code's from the Hub, and events (Cross Events' or the Website's through the feed when linked, else the App's own). The devotionals' passages are copied word for word from the public- domain KJV and BSB by scripts/demo-passages.ts (no Bible text written by hand). The sender never sends anything to a demo person. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"name": "@crosscode/app-backend",
|
|
"version": "0.1.0",
|
|
"description": "Church App: the member, admin and public API, sign-in through Accounts, the Hub client and background jobs",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.build.json && node -e \"require('fs').writeFileSync('dist/build.json', JSON.stringify({ version: require('./package.json').version, builtAt: new Date().toISOString() }))\"",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "node --import tsx --test --test-reporter=spec \"tests/**/*.test.ts\"",
|
|
"postinstall": "prisma generate",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:deploy": "prisma migrate deploy && prisma generate",
|
|
"prisma:status": "prisma migrate status",
|
|
"demo": "tsx scripts/demo.ts"
|
|
},
|
|
"dependencies": {
|
|
"@crosscode/auth-client": "*",
|
|
"@crosscode/contracts": "*",
|
|
"@crosscode/demo": "*",
|
|
"@prisma/adapter-pg": "^7.10.1",
|
|
"@prisma/client": "^7.10.1",
|
|
"cron-parser": "^5.10.2",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^5.3.0",
|
|
"nodemailer": "^10.3.0",
|
|
"pg-boss": "^11.1.2",
|
|
"sharp": "^0.35.5",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^20.19.43",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@types/supertest": "^7.2.1",
|
|
"prisma": "^7.10.1",
|
|
"supertest": "^7.3.1",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|