deno.json
Rama main · réplica de lectura del repositorio original.
{
"name": "tickets",
"version": "1.0.0",
"exports": "./src/index.ts",
"workspace": [
"e2e-payments"
],
"tasks": {
"serve": "deno run $SERVE_WATCH --env-file --allow-net --allow-env --allow-read --allow-write --allow-sys --allow-ffi src/index.ts",
"start": "deno task build:static && deno task serve",
"dev": "deno task build:static && SERVE_WATCH=--watch deno task serve",
"build:static": "deno run --allow-env --allow-read --allow-write --allow-run --allow-net scripts/build-static-assets.ts",
"build:edge": "deno run --allow-env --allow-read --allow-write --allow-run --allow-net scripts/build-edge.ts",
"bundle:report": "deno task build:edge && deno run -A scripts/bench/bundle-composition/report.ts",
"bench:cold-start": "deno run -A scripts/bench/cold-start/first-request.ts",
"build:deploy": "deno run --allow-env --allow-read --allow-write --allow-run --allow-net scripts/build-deploy.ts",
"deploy:edge": "deno run --env-file --allow-env --allow-read --allow-write --allow-run --allow-net scripts/deploy-edge.ts",
"test": "deno run --v8-flags=--expose-gc -A scripts/run-tests.ts",
"test:coverage": "deno run --v8-flags=--expose-gc -A scripts/run-tests.ts --coverage",
"test:files": "deno run --v8-flags=--expose-gc -A scripts/run-test-files.ts",
"suite:production": "deno run -A scripts/production-suite/run.ts",
"cov:files": "deno run -A scripts/cov-files.ts",
"test:screenshot-contract": "deno task build:static && deno test --no-check -A test/scripts/*-browser.contract.ts test/ui/client/scanner/*-browser.contract.ts && deno task test:files test/ui/client/admin/markdown-editor-images-browser.contract.ts && deno task test:files test/ui/client/scanner-sw-browser.contract.ts && deno test --no-check --config=e2e-payments/deno.json -A e2e-payments/src/providers/*-browser.contract.ts",
"specs": "deno run --v8-flags=--expose-gc -A scripts/run-specs.ts",
"specs:evidence": "deno run --v8-flags=--expose-gc -A scripts/run-spec-evidence.ts",
"specs:check": "deno run --allow-read scripts/check-specs.ts",
"specs:files": "deno run --v8-flags=--expose-gc -A scripts/run-specs.ts",
"test:raw": "deno task build:static && deno test --no-check --allow-net --allow-env --allow-read --allow-write --allow-run --allow-sys --allow-ffi --preload ./test/test-utils/preload.ts test/",
"lint": "deno run -A scripts/biome.ts check --write --unsafe src test scripts cli e2e-payments",
"lint:ci": "deno run -A scripts/biome.ts check --error-on-warnings src test scripts cli e2e-payments",
"typecheck": "deno check -q src test cli scripts && deno check -q --config=e2e-payments/deno.json e2e-payments/src",
"unread-fields": "deno run -A scripts/unread-fields.ts",
"cpd": "deno run -A scripts/cpd.ts --config .jscpd.json --baseline .jscpd.baseline.json --fail-on-new-clones && deno run -A scripts/cpd.ts --config .jscpd.test.json --baseline .jscpd.test-baseline.json --fail-on-new-clones && deno run -A scripts/cpd.ts --config .jscpd.specs.json --baseline .jscpd.specs-baseline.json --fail-on-new-clones && deno run -A scripts/cpd.ts --config .jscpd.helpers.json --baseline .jscpd.helpers-baseline.json --fail-on-new-clones && deno run -A scripts/cpd.ts --config .jscpd.support.json --baseline .jscpd.support-baseline.json --fail-on-new-clones && deno run -A scripts/cpd.ts --config .jscpd.css.json src/ui/static/style.scss src/ui/static/_entity-page.scss src/ui/static/_field-visibility.scss src/ui/static/_public-url-rows.scss && deno run -A scripts/cpd.ts --config .jscpd.renamed.json --baseline .jscpd.renamed-baseline.json --fail-on-new-clones && deno task cpd:tla",
"cpd:renamed": "deno run -A scripts/cpd.ts --config .jscpd.renamed.json --baseline .jscpd.renamed-baseline.json --fail-on-new-clones",
"cpd:specs": "deno run -A scripts/cpd.ts --config .jscpd.specs.json --baseline .jscpd.specs-baseline.json --fail-on-new-clones",
"cpd:tla": "deno run -A scripts/tla-cpd.ts",
"locales:generate": "deno run --allow-read=src/locales --allow-write=src/locales/message-groups.generated.ts scripts/locale-groups/run.ts",
"check:tla": "deno run --allow-read=verification,scripts,src scripts/check-tla.ts",
"check:copy": "deno run --allow-read=src/locales scripts/check-copy.ts",
"check:ste": "deno run --allow-read=. --allow-write=scripts/check-ste/baseline.json scripts/check-ste.ts",
"check:alias-exports": "deno run --allow-read=src,test,scripts,cli,e2e-payments --allow-env --allow-sys --allow-ffi scripts/check-alias-exports.ts",
"check:empty-catch": "deno run --allow-read=src,test,scripts,cli,e2e-payments --allow-env --allow-sys --allow-ffi scripts/check-empty-catch.ts",
"check:double-casts": "deno run --allow-read=src,test,scripts,cli,e2e-payments --allow-env --allow-sys --allow-ffi --allow-write=scripts/check-double-casts/baseline.json scripts/check-double-casts.ts",
"check:file-lengths": "deno run --allow-read=src,test,scripts,cli,e2e-payments --allow-write=scripts/check-file-lengths/over-limit.json scripts/counts-check.ts file-lengths",
"check:call-chains": "deno run --allow-read=src --allow-env --allow-sys --allow-ffi scripts/check-call-chains.ts",
"check:merged-tree": "deno run --allow-run --allow-read --allow-write --allow-env scripts/check-merged-tree.ts",
"check:required-checks":
"env -u LD_LIBRARY_PATH deno run --allow-read=scripts/required-checks --allow-run=gh scripts/required-checks/check.ts",
"check:coverage-exclusions": "env -u LD_LIBRARY_PATH deno run --allow-read=. --allow-sys --allow-run=git scripts/check-coverage-exclusions.ts",
"check:test-quality": "env -u LD_LIBRARY_PATH deno run --allow-read=. --allow-env=GITHUB_ACTIONS --allow-run=git scripts/check-test-quality.ts",
"check:presence-assertions": "deno run --allow-read=test,scripts --allow-write=scripts/check-presence-assertions/registry.json scripts/counts-check.ts presence-assertions",
"check:comments": "deno run --allow-read=src scripts/check-comments.ts",
"check:comment-ste": "deno run --allow-read=src,scripts/check-comments/ste-baseline.json --allow-write=scripts/check-comments/ste-baseline.json scripts/check-comments-ste.ts",
"check:e2e-labels": "deno run --allow-read=src,e2e-payments scripts/check-e2e-labels.ts",
"check:effects": "deno run --allow-read=deno.json,src --allow-env --allow-sys --allow-ffi scripts/check-effects.ts",
"check:imports": "deno run --allow-read=deno.json,src,test,scripts,cli,e2e-payments --allow-env --allow-sys --allow-ffi scripts/check-imports.ts",
"check:unread-fields": "env -u LD_LIBRARY_PATH deno run --allow-read --allow-env=TSC_WATCHFILE,TSC_NONPOLLING_WATCHER,TSC_WATCHDIRECTORY,TSC_WATCH_POLLINGINTERVAL_LOW,TSC_WATCH_POLLINGINTERVAL_MEDIUM,TSC_WATCH_POLLINGINTERVAL_HIGH,TSC_WATCH_POLLINGCHUNKSIZE_LOW,TSC_WATCH_POLLINGCHUNKSIZE_MEDIUM,TSC_WATCH_POLLINGCHUNKSIZE_HIGH,TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS_LOW,TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS_MEDIUM,TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS_HIGH,NODE_INSPECTOR_IPC,VSCODE_INSPECTOR_OPTIONS,NODE_ENV --allow-run=deno scripts/check-unread-fields.ts",
"precommit": "deno run -A scripts/precommit.ts",
"precommit:mutation": "deno run -A scripts/precommit-mutation.ts",
"find-unused-src": "deno run --allow-read scripts/find-unused-src.ts",
"cycles": "deno run -A scripts/cycles.ts",
"line-counts": "deno run --allow-read=src,test scripts/line-counts.ts",
"grade:code": "deno run --allow-read=src,verification,deno.json,scripts,/run/secrets/opencode_api_key --allow-env --allow-sys --allow-ffi --allow-net=opencode.ai --allow-write=. scripts/grade-code.ts",
"diff-code-lines": "deno run --allow-env=PATH --allow-run=git scripts/diff-code-lines.ts",
"contract:diff": "deno run --allow-run --allow-read --allow-write --allow-env scripts/contract-drift.ts",
"verify:models": "deno run -A scripts/verify-models.ts",
"unit-tests-report": "deno run --allow-read=src,test,deno.json scripts/unit-tests-report.ts",
"upgrade": "deno run --allow-read --allow-write --allow-net scripts/safe-upgrade.ts",
"backup": "deno run --env-file --allow-env --allow-read --allow-write --allow-net --allow-sys --allow-ffi scripts/backup.ts",
"bugs": "deno run --env-file --allow-env --allow-net scripts/bugs.ts",
"restore": "deno run --allow-env --allow-read --allow-write --allow-net --allow-sys --allow-ffi scripts/restore.ts",
"snapshot": "deno run --allow-env --allow-read --allow-write --allow-net --allow-sys --allow-ffi scripts/database-snapshot.ts",
"migrate:turso": "deno run --allow-env --allow-read --allow-write --allow-net --allow-sys --allow-ffi scripts/turso-migration.ts",
"migrate:sites": "deno run --allow-env --allow-read --allow-write --allow-net --allow-sys --allow-ffi scripts/site-migration.ts",
"rotate:db-key": "deno run --env-file --allow-env --allow-read --allow-write --allow-net --allow-sys --allow-ffi scripts/rotate-database-key.ts",
"cli:api": "deno run --allow-env --allow-read --allow-run cli/api.ts",
"cli:import-frontmatter":
"deno run --allow-env --allow-read --allow-write --allow-net --allow-run cli/import-frontmatter.ts",
"test:quality-audit": "deno run --allow-read scripts/test-quality-audit.ts",
"mutation": "deno run -A scripts/mutation.ts",
"check:equivalents": "deno run -A scripts/check-equivalent-mutants.ts",
"mutation:audit-equivalents": "deno run -A scripts/audit-equivalent-mutants.ts",
"pr-queue": "deno run --allow-run=gh scripts/pr-queue.ts",
"screenshot": "deno run -A scripts/screenshots.ts",
"screenshot:all": "deno task screenshot all",
"screenshot:attendees-list": "deno task screenshot attendees-list",
"screenshot:listing": "deno task screenshot listing",
"screenshot:listing-attendees": "deno task screenshot listing-attendees",
"e2e": "deno run -A --config=e2e-payments/deno.json e2e-payments/src/main.ts",
"e2e:email": "deno run -A scripts/email-sandbox-e2e/main.ts"
},
"imports": {
"#accounting/": "./src/shared/accounting/",
"#booking/": "./src/shared/booking/",
"#cli/": "./cli/",
"#crypto/": "./src/shared/crypto/",
"#db/": "./src/shared/db/",
"#e2e/": "./e2e-payments/src/",
"#fp": "./src/fp.ts",
"#fp-strings": "./src/fp-strings.ts",
"#i18n": "./src/shared/i18n.ts",
"#jsx/": "./src/shared/jsx/",
"#jsx/jsx-dev-runtime": "./src/shared/jsx/jsx-runtime.ts",
"#jsx/jsx-runtime": "./src/shared/jsx/jsx-runtime.ts",
"#locales/": "./src/locales/",
"#payment/": "./src/shared/payment/",
"#routes": "./src/features/app/request.ts",
"#routes/": "./src/features/",
"#scripts/": "./scripts/",
"#shared/": "./src/shared/",
"#src/": "./src/",
"#static/": "./src/ui/static/",
"#templates/": "./src/ui/templates/",
"#test-utils/": "./test/test-utils/",
"#test/": "./test/",
"#types": "./src/shared/types.ts",
"@botpoison/browser": "npm:@botpoison/browser@^0.1.30",
"@bunny.net/edgescript-sdk": "npm:@bunny.net/edgescript-sdk@^0.12.1",
"@bunny.net/storage-sdk": "npm:@bunny.net/storage-sdk@^0.3.1",
"@cucumber/cucumber": "npm:@cucumber/cucumber@13.2.0",
"@cucumber/cucumber/api": "npm:@cucumber/cucumber@13.2.0/api",
"@cucumber/gherkin": "npm:@cucumber/gherkin@41.0.0",
"@cucumber/messages": "npm:@cucumber/messages@34.0.1",
"@cucumber/tag-expressions": "npm:@cucumber/tag-expressions@10.0.0",
"@formatjs/icu-messageformat-parser": "npm:@formatjs/icu-messageformat-parser@^2.11",
"@iframe-resizer/child": "npm:@iframe-resizer/child@^5.5.9",
"@iframe-resizer/core": "npm:@iframe-resizer/core@^5.5.9",
"@iframe-resizer/parent": "npm:@iframe-resizer/parent@^5.5.9",
"@jridgewell/sourcemap-codec": "npm:@jridgewell/sourcemap-codec@^1.5.5",
"@jsquash/jpeg/": "npm:/@jsquash/jpeg@^1.5.0/",
"@jsquash/png/": "npm:/@jsquash/png@^3.1.1/",
"@jsquash/webp/": "npm:/@jsquash/webp@^1.5.0/",
"@libsql/client": "npm:@libsql/client@^0.17.2",
"@libsql/core/config": "npm:@libsql/core@0.17.2/config",
"@libsql/core/uri": "npm:@libsql/core@0.17.2/uri",
"@libsql/core/util": "npm:@libsql/core@0.17.2/util",
"@libsql/hrana-client": "npm:@libsql/hrana-client@0.9.0",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.1",
"@sentry/core": "npm:@sentry/core@^10.60.0",
"@sentry/deno": "npm:@sentry/deno@^10.60.0",
"@std/assert": "jsr:@std/assert@^1.0.19",
"@std/tar": "jsr:@std/tar@^0.1.9",
"@std/cli": "jsr:@std/cli@^1.0.30",
"@std/collections": "jsr:@std/collections@^1.2.0",
"@std/csv": "jsr:@std/csv@^1.0.6",
"@std/dotenv": "jsr:@std/dotenv@^0.225.7",
"@std/expect": "jsr:@std/expect@^1.0.18",
"@std/http": "jsr:@std/http@^1.1.1",
"@std/path": "jsr:@std/path@^1.1.4",
"@std/testing": "jsr:@std/testing@^1.0.17",
"@std/testing/bdd": "./test/test-utils/bdd.ts",
"auto-console-group": "npm:auto-console-group@^1.3.0",
"esbuild": "npm:esbuild@^0.28.0",
"fast-check": "npm:fast-check@^3.23.0",
"fflate": "npm:fflate@^0.8.2",
"happy-dom": "npm:happy-dom@^15.11.7",
"intl-messageformat": "npm:intl-messageformat@^10",
"jsqr": "npm:jsqr@^1.4.0",
"leaflet": "npm:leaflet@^1.9.4",
"liquidjs": "npm:liquidjs@^10.25.5",
"marked": "npm:marked@^18.0.0",
"playwright": "npm:playwright@1.61.1",
"prosemirror-commands": "npm:prosemirror-commands@^1.7.0",
"prosemirror-history": "npm:prosemirror-history@^1.4.1",
"prosemirror-inputrules": "npm:prosemirror-inputrules@^1.5.0",
"prosemirror-keymap": "npm:prosemirror-keymap@^1.2.3",
"prosemirror-markdown": "npm:prosemirror-markdown@^1.13.4",
"prosemirror-model": "npm:prosemirror-model@^1.25.0",
"prosemirror-schema-list": "npm:prosemirror-schema-list@^1.5.0",
"prosemirror-state": "npm:prosemirror-state@^1.4.4",
"prosemirror-view": "npm:prosemirror-view@^1.42.0",
"promise-limit": "npm:promise-limit@2.7.0",
"sass": "npm:sass@^1.101.0",
"sharp": "npm:sharp@^0.34.5",
"stripe": "npm:stripe@^22.0.1",
"temporal-polyfill": "npm:temporal-polyfill@^0.3.0",
"typescript": "npm:typescript@5.9.2",
"uqr": "npm:uqr@^0.1.3",
"valibot": "npm:valibot@^1.4.1",
"wasm-feature-detect": "npm:wasm-feature-detect@^1.8.0"
},
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"noUncheckedIndexedAccess": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"exactOptionalPropertyTypes": true,
"jsx": "react-jsx",
"jsxImportSource": "#jsx"
},
"test": {
"include": [
"test/"
]
}
}