mirror of
https://github.com/hanzo-apps/cms.git
synced 2026-10-30 14:47:33 +00:00
- payload -> @hanzo/cms (core), bin payload -> hanzo-cms - create-payload-app -> @hanzo/create-cms-app - @payloadcms/<x> -> @hanzo/cms-<x> across the whole dependency graph - 3545 files, 72 package.json, 4419 scoped refs, 3852 core import specifiers, 82 scss imports - MIT attribution to Payload CMS Inc. preserved (LICENSE.md, author emails) Upstream: github.com/payloadcms/payload @ v3.85.2 (MIT)
105 lines
2.9 KiB
JSON
105 lines
2.9 KiB
JSON
{
|
|
"name": "@hanzo/cms-richtext-slate",
|
|
"version": "3.85.2",
|
|
"description": "The officially supported Slate richtext adapter for Payload",
|
|
"homepage": "https://payloadcms.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/richtext-slate"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Payload <[email protected]> (https://payloadcms.com)",
|
|
"maintainers": [
|
|
{
|
|
"name": "Payload",
|
|
"email": "[email protected]",
|
|
"url": "https://payloadcms.com"
|
|
}
|
|
],
|
|
"sideEffects": [
|
|
"*.scss",
|
|
"*.css"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.tsx",
|
|
"types": "./src/index.tsx",
|
|
"default": "./src/index.tsx"
|
|
},
|
|
"./client": {
|
|
"import": "./src/exports/client/index.ts",
|
|
"types": "./src/exports/client/index.ts",
|
|
"default": "./src/exports/client/index.ts"
|
|
},
|
|
"./rsc": {
|
|
"import": "./src/exports/server/rsc.ts",
|
|
"types": "./src/exports/server/rsc.ts",
|
|
"default": "./src/exports/server/rsc.ts"
|
|
}
|
|
},
|
|
"main": "./src/index.tsx",
|
|
"types": "./src/index.tsx",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc",
|
|
"build:debug": "pnpm build",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
"clean": "rimraf -g {dist,*.tsbuildinfo}",
|
|
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/cms-translations": "workspace:*",
|
|
"@hanzo/cms-ui": "workspace:*",
|
|
"is-hotkey": "0.2.0",
|
|
"slate": "0.91.4",
|
|
"slate-history": "0.86.0",
|
|
"slate-hyperscript": "0.81.3",
|
|
"slate-react": "0.92.0"
|
|
},
|
|
"devDependencies": {
|
|
"@hanzo/cms-eslint-config": "workspace:*",
|
|
"@types/is-hotkey": "^0.1.10",
|
|
"@types/node": "22.15.30",
|
|
"@types/react": "19.2.14",
|
|
"@types/react-dom": "19.2.3",
|
|
"@hanzo/cms": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"@hanzo/cms": "workspace:*",
|
|
"react": "^19.0.1 || ^19.1.2 || ^19.2.1",
|
|
"react-dom": "^19.0.1 || ^19.1.2 || ^19.2.1"
|
|
},
|
|
"engines": {
|
|
"node": "^18.20.2 || >=20.9.0"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./rsc": {
|
|
"import": "./dist/exports/server/rsc.js",
|
|
"types": "./dist/exports/server/rsc.d.ts",
|
|
"default": "./dist/exports/server/rsc.js"
|
|
},
|
|
"./client": {
|
|
"import": "./dist/exports/client/index.js",
|
|
"types": "./dist/exports/client/index.d.ts",
|
|
"default": "./dist/exports/client/index.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"registry": "https://registry.npmjs.org/",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
}
|