payload-contracts/package.json
Martin Porwoll d4e1ef1035 feat: add work-order orchestration scripts (Phase 3)
- create-work-order.sh: auto-fills CMS commit, date, contracts version
- execute-work-order.sh: updates contracts on sv-frontend, provides
  implementation instructions for Claude Code
- Updated CLAUDE.md with complete work order lifecycle documentation
- Added pnpm shortcuts: wo:create, wo:execute

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:30:57 +00:00

66 lines
1.5 KiB
JSON

{
"name": "@c2s/payload-contracts",
"version": "1.0.0",
"description": "Shared TypeScript types, API client, and block registry for Payload CMS frontends",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts"
},
"./types": {
"types": "./src/types/index.ts",
"import": "./src/types/index.ts"
},
"./api-client": {
"types": "./src/api-client/index.ts",
"import": "./src/api-client/index.ts"
},
"./blocks": {
"types": "./src/blocks/registry.tsx",
"import": "./src/blocks/registry.tsx"
},
"./constants": {
"types": "./src/constants/index.ts",
"import": "./src/constants/index.ts"
}
},
"files": [
"src"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"typecheck": "tsc --noEmit",
"extract": "tsx scripts/extract-types.ts",
"wo:create": "bash scripts/create-work-order.sh",
"wo:execute": "bash scripts/execute-work-order.sh",
"preinstall": "true",
"prepare": "true"
},
"keywords": [
"payload-cms",
"types",
"api-client",
"multi-tenant"
],
"license": "UNLICENSED",
"private": true,
"devDependencies": {
"@types/react": "^19.0.0",
"typescript": "^5.7.0"
},
"optionalDependencies": {
"tsx": "^4.19.0"
},
"peerDependencies": {
"react": "^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
}
}