-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 6.83 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 6.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "xid",
"version": "0.0.6",
"private": true,
"description": "XID is an open-source, edge-native identity platform on Cloudflare Workers: OIDC/OAuth provider, multi-tenant RBAC, enterprise SSO federation (SAML and SCIM) and passkey-first hosted auth UI.",
"keywords": [
"authentication",
"authorization",
"cloudflare-workers",
"edge-computing",
"hono",
"iam",
"identity-provider",
"mfa",
"multi-tenancy",
"oauth2",
"oidc",
"openid-connect",
"passkeys",
"rbac",
"saml",
"scim",
"serverless",
"sso",
"typescript",
"webauthn"
],
"homepage": "https://xid.dev",
"bugs": {
"url": "https://github.com/StringKe/xid/issues"
},
"license": "MIT",
"author": "StringKe",
"repository": {
"type": "git",
"url": "git+https://github.com/StringKe/xid.git"
},
"type": "module",
"scripts": {
"changelog": "git-cliff --output CHANGELOG.md",
"dev": "turbo run dev --parallel",
"build": "turbo run build",
"check": "pnpm run sdk:distribution:contract && turbo run check && turbo run typecheck && pnpm run native:verify && pnpm run i18n:audit && pnpm run protocols:source-map && pnpm run docs:translations && pnpm run test:web-routes && pnpm run test:key-paths && pnpm run test:quality-gate && pnpm run test:release-contracts && pnpm run test:coverage-gate && pnpm run test:worker-coverage-gate",
"test:coverage-gate": "vitest run --config vitest.coverage-gate.config.ts --coverage",
"test:worker-coverage-gate": "XID_COVERAGE_GATE=worker vitest run --config vitest.coverage-gate.config.ts --coverage",
"smoke:l2-l3": "node apps/server/scripts/run-l2-l3-smoke.mjs",
"smoke:three-workers": "node scripts/run-three-worker-smoke.mjs",
"smoke:three-workers:browser": "XID_THREE_WORKER_BROWSER_ONLY=1 node scripts/run-three-worker-smoke.mjs",
"cloudflare:queues:plan": "node scripts/setup-cloudflare-queues.mjs",
"cloudflare:queues:check": "node scripts/setup-cloudflare-queues.mjs --check",
"cloudflare:queues:create": "node scripts/setup-cloudflare-queues.mjs --apply",
"native:verify": "node --test tests/native-sdk-contract.test.mjs",
"native:verify:platform": "node --test tests/native-sdk-contract.test.mjs",
"test:key-paths": "vitest run tests/key-path-checklist.test.mjs tests/cloudflare-queue-setup.test.mjs tests/cloudflare-security-rules.test.mjs tests/production/production-auth.test.mjs tests/production/wildcard-route-probe.test.mjs tests/production/goal-readiness-contract.test.mjs tests/production/web-route-owner.test.mjs",
"test:web-routes": "vitest run tests/public-docs.test.mjs tests/web-route-ownership.test.mjs && node scripts/verify-worker-routes.mjs",
"test:quality-gate": "vitest run tests/quality-gate-summary.test.mjs",
"test:release-contracts": "pnpm --filter @xid-kit/server exec vitest run scripts/__tests__/assert-migration-compatibility.test.mjs scripts/__tests__/ci-contract.test.mjs scripts/__tests__/observability-privacy-config.test.mjs",
"security:dependencies": "pnpm audit --prod --audit-level high",
"security:secret-scan": "node apps/server/scripts/check-repository-secrets.mjs",
"test:fuzz": "turbo run build --filter=@xid-kit/site && vitest run packages/crypto/src/__tests__/random.property.test.ts packages/core/src/__tests__/url.property.test.ts apps/server/tests/smoke/harness/saml-post-form.property.test.mjs tests/production/harness/public-content-checks.property.test.mjs",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"pack": "pnpm run sdk:distribution:verify",
"sdk:distribution:contract": "node scripts/verify-sdk-distribution.mjs --manifest-only",
"sdk:distribution:verify": "node scripts/verify-sdk-distribution.mjs",
"fmt": "vp fmt",
"lint": "vp lint",
"i18n:extract": "lingui extract --clean",
"i18n:compile": "lingui compile",
"i18n:audit": "pnpm --filter @xid-kit/server exec vitest run src/lib/i18n-ui-audit.test.ts && pnpm --filter @xid-kit/i18n test -- catalog.test.ts",
"i18n:runtime": "vitest run tests/runtime/i18n-runtime.test.mjs",
"seo:audit": "pnpm --filter @xid-kit/site test && pnpm --filter @xid-kit/site build",
"seo:sitemap": "pnpm --filter @xid-kit/site build",
"seo:llms": "pnpm --filter @xid-kit/site build",
"protocols:source-map": "vitest run tests/protocols/source-map-coverage.test.mjs",
"docs:translations": "vitest run tests/docs",
"goal:readiness": "vitest run tests/production/goal-readiness.test.mjs",
"smoke:production": "vitest run tests/production/smoke-production.test.mjs",
"smoke:production:auth": "vitest run tests/production/smoke-production-auth.test.mjs",
"smoke:production:browser": "vitest run tests/production/smoke-production-browser.test.mjs",
"smoke:production:magic-link-send": "XID_PRODUCTION_MAGIC_LINK_SEND_ONLY=1 vitest run tests/production/smoke-production-magic-link.test.mjs",
"smoke:production:magic-link": "vitest run tests/production/smoke-production-magic-link.test.mjs",
"smoke:production:password-reset-send": "XID_PRODUCTION_PASSWORD_RESET_SEND_ONLY=1 vitest run tests/production/smoke-production-password-reset.test.mjs",
"smoke:production:password-reset": "vitest run tests/production/smoke-production-password-reset.test.mjs",
"smoke:production:whatsapp-otp-send": "XID_PRODUCTION_PHONE_OTP_CHANNEL=whatsapp XID_PRODUCTION_PHONE_OTP_SEND_ONLY=1 vitest run tests/production/smoke-production-phone-otp.test.mjs",
"smoke:production:whatsapp-otp": "XID_PRODUCTION_PHONE_OTP_CHANNEL=whatsapp vitest run tests/production/smoke-production-phone-otp.test.mjs",
"smoke:production:sms-otp-send": "XID_PRODUCTION_PHONE_OTP_CHANNEL=sms XID_PRODUCTION_PHONE_OTP_SEND_ONLY=1 vitest run tests/production/smoke-production-phone-otp.test.mjs",
"smoke:production:sms-otp": "XID_PRODUCTION_PHONE_OTP_CHANNEL=sms vitest run tests/production/smoke-production-phone-otp.test.mjs",
"smoke:production:social-oauth": "vitest run tests/production/smoke-production-social-oauth.test.mjs",
"smoke:production:enterprise-sso": "vitest run tests/production/smoke-production-enterprise-sso.test.mjs",
"smoke:production:mfa-sms": "vitest run tests/production/smoke-production-mfa-sms.test.mjs"
},
"devDependencies": {
"@lingui/cli": "^6.6.0",
"@lingui/conf": "^6.6.0",
"@lingui/format-po": "^6.6.0",
"@vitest/coverage-v8": "catalog:",
"fast-check": "^4.9.0",
"turbo": "^2.10.8",
"typescript": "^6.0.3",
"vite-plus": "^0.2.8",
"vitest": "catalog:",
"wrangler": "^4.120.0"
},
"engines": {
"node": ">=22.12.0"
},
"packageManager": "pnpm@10.33.4",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"workerd",
"sharp"
],
"patchedDependencies": {
"@cloudflare/nimbus-docs@0.9.0": "patches/@cloudflare__nimbus-docs@0.9.0.patch",
"image-size@1.2.1": "patches/image-size@1.2.1.patch"
}
}
}