2025-08-20 18:02:50 +09:00
|
|
|
{
|
2025-09-17 18:43:43 +09:00
|
|
|
"name": "@customer-portal/domain",
|
2025-08-20 18:02:50 +09:00
|
|
|
"version": "1.0.0",
|
2025-12-10 13:59:41 +09:00
|
|
|
"type": "module",
|
2025-10-03 14:26:55 +09:00
|
|
|
"description": "Unified domain layer with contracts, schemas, and provider mappers",
|
2025-12-02 11:06:54 +09:00
|
|
|
"private": true,
|
|
|
|
|
"sideEffects": false,
|
2025-10-03 14:26:55 +09:00
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
2025-12-02 11:06:54 +09:00
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
2025-12-26 17:27:22 +09:00
|
|
|
"imports": {
|
|
|
|
|
"#toolkit/*": "./dist/toolkit/*",
|
|
|
|
|
"#internal/services/providers/salesforce": "./dist/services/providers/salesforce/index.js"
|
|
|
|
|
},
|
2025-09-09 18:19:54 +09:00
|
|
|
"exports": {
|
2025-12-10 13:59:41 +09:00
|
|
|
"./auth": {
|
|
|
|
|
"import": "./dist/auth/index.js",
|
|
|
|
|
"types": "./dist/auth/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"./billing": {
|
|
|
|
|
"import": "./dist/billing/index.js",
|
|
|
|
|
"types": "./dist/billing/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./billing/providers": {
|
|
|
|
|
"import": "./dist/billing/providers/index.js",
|
|
|
|
|
"types": "./dist/billing/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
2025-12-25 13:20:45 +09:00
|
|
|
"./services": {
|
|
|
|
|
"import": "./dist/services/index.js",
|
|
|
|
|
"types": "./dist/services/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./services/providers": {
|
|
|
|
|
"import": "./dist/services/providers/index.js",
|
|
|
|
|
"types": "./dist/services/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
2025-12-17 14:07:22 +09:00
|
|
|
"./checkout": {
|
|
|
|
|
"import": "./dist/checkout/index.js",
|
|
|
|
|
"types": "./dist/checkout/index.d.ts"
|
|
|
|
|
},
|
2025-12-10 13:59:41 +09:00
|
|
|
"./common": {
|
|
|
|
|
"import": "./dist/common/index.js",
|
|
|
|
|
"types": "./dist/common/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./common/providers": {
|
|
|
|
|
"import": "./dist/common/providers/index.js",
|
|
|
|
|
"types": "./dist/common/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
|
|
|
|
"./customer": {
|
|
|
|
|
"import": "./dist/customer/index.js",
|
|
|
|
|
"types": "./dist/customer/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./customer/providers": {
|
|
|
|
|
"import": "./dist/customer/providers/index.js",
|
|
|
|
|
"types": "./dist/customer/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
|
|
|
|
"./dashboard": {
|
|
|
|
|
"import": "./dist/dashboard/index.js",
|
|
|
|
|
"types": "./dist/dashboard/index.d.ts"
|
|
|
|
|
},
|
2025-12-22 18:59:38 +09:00
|
|
|
"./opportunity": {
|
|
|
|
|
"import": "./dist/opportunity/index.js",
|
|
|
|
|
"types": "./dist/opportunity/index.d.ts"
|
|
|
|
|
},
|
2025-12-10 13:59:41 +09:00
|
|
|
"./orders": {
|
|
|
|
|
"import": "./dist/orders/index.js",
|
|
|
|
|
"types": "./dist/orders/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./orders/providers": {
|
|
|
|
|
"import": "./dist/orders/providers/index.js",
|
|
|
|
|
"types": "./dist/orders/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
|
|
|
|
"./payments": {
|
|
|
|
|
"import": "./dist/payments/index.js",
|
|
|
|
|
"types": "./dist/payments/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./payments/providers": {
|
|
|
|
|
"import": "./dist/payments/providers/index.js",
|
|
|
|
|
"types": "./dist/payments/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
|
|
|
|
"./sim": {
|
|
|
|
|
"import": "./dist/sim/index.js",
|
|
|
|
|
"types": "./dist/sim/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./sim/providers": {
|
|
|
|
|
"import": "./dist/sim/providers/index.js",
|
|
|
|
|
"types": "./dist/sim/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
|
|
|
|
"./subscriptions": {
|
|
|
|
|
"import": "./dist/subscriptions/index.js",
|
|
|
|
|
"types": "./dist/subscriptions/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./subscriptions/providers": {
|
|
|
|
|
"import": "./dist/subscriptions/providers/index.js",
|
|
|
|
|
"types": "./dist/subscriptions/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
|
|
|
|
"./support": {
|
|
|
|
|
"import": "./dist/support/index.js",
|
|
|
|
|
"types": "./dist/support/index.d.ts"
|
|
|
|
|
},
|
2025-12-26 14:53:03 +09:00
|
|
|
"./support/providers": {
|
|
|
|
|
"import": "./dist/support/providers/index.js",
|
|
|
|
|
"types": "./dist/support/providers/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
},
|
|
|
|
|
"./toolkit": {
|
|
|
|
|
"import": "./dist/toolkit/index.js",
|
|
|
|
|
"types": "./dist/toolkit/index.d.ts"
|
|
|
|
|
},
|
2025-12-23 11:36:44 +09:00
|
|
|
"./notifications": {
|
|
|
|
|
"import": "./dist/notifications/index.js",
|
|
|
|
|
"types": "./dist/notifications/index.d.ts"
|
2025-12-10 13:59:41 +09:00
|
|
|
}
|
2025-08-30 15:47:48 +09:00
|
|
|
},
|
2025-08-20 18:02:50 +09:00
|
|
|
"scripts": {
|
2025-11-21 17:12:34 +09:00
|
|
|
"prebuild": "pnpm run clean",
|
2025-10-03 14:26:55 +09:00
|
|
|
"build": "tsc",
|
2025-11-05 15:47:06 +09:00
|
|
|
"dev": "tsc -w --preserveWatchOutput",
|
2025-08-20 18:02:50 +09:00
|
|
|
"clean": "rm -rf dist",
|
2025-12-25 18:34:45 +09:00
|
|
|
"lint": "eslint .",
|
|
|
|
|
"lint:fix": "eslint . --fix",
|
|
|
|
|
"test": "echo 'No tests yet'",
|
2025-10-20 14:54:04 +09:00
|
|
|
"type-check": "NODE_OPTIONS=\"--max-old-space-size=2048 --max-semi-space-size=128\" tsc --project tsconfig.json --noEmit",
|
|
|
|
|
"typecheck": "pnpm run type-check"
|
2025-09-17 18:43:43 +09:00
|
|
|
},
|
2025-12-12 13:10:29 +09:00
|
|
|
"peerDependencies": {
|
2025-12-12 15:00:11 +09:00
|
|
|
"zod": "4.1.13"
|
2025-10-03 14:26:55 +09:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-12-12 14:50:12 +09:00
|
|
|
"typescript": "catalog:",
|
|
|
|
|
"zod": "catalog:"
|
2025-08-20 18:02:50 +09:00
|
|
|
}
|
|
|
|
|
}
|