85 lines
4.7 KiB
JSON
85 lines
4.7 KiB
JSON
{
|
|
"name": "shd-build",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "infisical run --env=dev --path=/app --path=/shared/scheduler -- vite dev --host 0.0.0.0",
|
|
"build:app": "vite build",
|
|
"build:staging": "vite build",
|
|
"build": "vite build",
|
|
"brand:render": "node scripts/render-brand-assets.mjs",
|
|
"start": "node build",
|
|
"preview": "node build",
|
|
"db:migrate": "infisical run --env=dev --path=/app --path=/shared/scheduler -- node scripts/db-migrate.mjs",
|
|
"db:migrate:staging": "infisical run --env=staging --path=/app --path=/shared/scheduler -- node scripts/db-migrate.mjs",
|
|
"db:migrate:production": "infisical run --env=prod --path=/app --path=/shared/scheduler -- node scripts/db-migrate.mjs",
|
|
"db:seed-users": "infisical run --env=dev --path=/app -- node scripts/seed-initial-users.mjs",
|
|
"db:seed-users:reset": "infisical run --env=dev --path=/app -- node scripts/seed-initial-users.mjs --reset-passwords",
|
|
"db:backup": "infisical run --env=dev --path=/app -- node scripts/db-backup.mjs",
|
|
"db:backup:staging": "infisical run --env=staging --path=/app -- node scripts/db-backup.mjs",
|
|
"db:backup:production": "infisical run --env=prod --path=/app -- node scripts/db-backup.mjs",
|
|
"db:restore": "infisical run --env=dev --path=/app -- node scripts/db-restore.mjs",
|
|
"db:restore:production": "infisical run --env=prod --path=/app -- node scripts/db-restore.mjs",
|
|
"article:export": "infisical run --env=dev --path=/app -- node scripts/article-transfer.mjs export",
|
|
"isac:export": "infisical run --env=dev --path=/app -- node scripts/isac-data-export.mjs",
|
|
"isac:import": "infisical run --env=dev --path=/app -- node scripts/isac-data-import.mjs",
|
|
"isac:attributes:import": "infisical run --env=dev --path=/app -- node scripts/import-resurgence-attributes.mjs",
|
|
"isac:export:staging": "infisical run --env=staging --path=/app -- node scripts/isac-data-export.mjs",
|
|
"images:export": "infisical run --env=dev --path=/app -- node scripts/managed-images-export.mjs",
|
|
"images:import": "infisical run --env=dev --path=/app -- node scripts/managed-images-import.mjs",
|
|
"images:import:staging": "infisical run --env=staging --path=/app -- node scripts/managed-images-import.mjs",
|
|
"images:import:production": "infisical run --env=prod --path=/app -- node scripts/managed-images-import.mjs",
|
|
"stage:bootstrap:export": "infisical run --env=dev --path=/app -- node scripts/stage-bootstrap-export.mjs",
|
|
"production:bootstrap:export": "infisical run --env=dev --path=/app -- node scripts/environment-bootstrap-export.mjs production",
|
|
"notifications:digest": "infisical run --env=dev --path=/app -- node scripts/notification-digest.mjs",
|
|
"notifications:digest:production": "infisical run --env=prod --path=/app -- node scripts/notification-digest.mjs",
|
|
"notifications:oversight": "infisical run --env=dev --path=/app -- node scripts/oversight-notification-dispatch.mjs",
|
|
"notifications:oversight:production": "infisical run --env=prod --path=/app -- node scripts/oversight-notification-dispatch.mjs",
|
|
"notifications:system": "infisical run --env=dev --path=/app -- node scripts/system-notification-dispatch.mjs",
|
|
"notifications:system:production": "infisical run --env=prod --path=/app -- node scripts/system-notification-dispatch.mjs",
|
|
"notifications:seed-test": "infisical run --env=dev --path=/app -- node scripts/seed-test-notifications.mjs",
|
|
"assets:trim-icons": "node scripts/trim-static-icons.mjs",
|
|
"prepare": "node scripts/prepare.mjs",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"test": "vitest run",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
|
},
|
|
"lint-staged": {
|
|
"**/*": "prettier --write --ignore-unknown"
|
|
},
|
|
"devDependencies": {
|
|
"@infisical/cli": "0.43.116",
|
|
"@sveltejs/adapter-node": "^5.5.7",
|
|
"@sveltejs/kit": "^2.63.0",
|
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
"@types/node": "^26.1.1",
|
|
"@types/nodemailer": "^8.0.1",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.4.0",
|
|
"opentype.js": "^2.0.0",
|
|
"prettier": "3.9.6",
|
|
"svelte": "^5.56.1",
|
|
"svelte-check": "^4.6.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource/barlow": "^5.3.0",
|
|
"@fontsource/source-serif-4": "^5.3.0",
|
|
"@simplewebauthn/browser": "^13.3.0",
|
|
"@simplewebauthn/server": "^13.3.2",
|
|
"@tiptap/core": "3.29.2",
|
|
"@tiptap/extension-link": "3.29.2",
|
|
"@tiptap/extensions": "3.29.2",
|
|
"@tiptap/pm": "3.29.2",
|
|
"@tiptap/starter-kit": "3.29.2",
|
|
"@tursodatabase/database": "^0.7.1",
|
|
"argon2": "^0.45.1",
|
|
"nodemailer": "^9.0.3",
|
|
"openai": "^6.49.0",
|
|
"sharp": "^0.35.3"
|
|
}
|
|
}
|