@keystatic/core

Search for an npm package
{
"name": "@keystatic/core",
"version": "0.5.42",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Thinkmill/keystatic/",
"directory": "packages/keystatic"
},
"type": "module",
"exports": {
"./ui": {
"types": "./dist/keystatic-core-ui.js",
"node": {
"react-server": "./dist/keystatic-core-ui.node.react-server.js",
"default": "./dist/keystatic-core-ui.node.js"
},
"react-server": "./dist/keystatic-core-ui.react-server.js",
"worker": "./dist/keystatic-core-ui.worker.js",
"default": "./dist/keystatic-core-ui.js"
},
".": {
"types": "./dist/keystatic-core.js",
"node": {
"react-server": "./dist/keystatic-core.node.react-server.js",
"default": "./dist/keystatic-core.node.js"
},
"react-server": "./dist/keystatic-core.react-server.js",
"worker": "./dist/keystatic-core.worker.js",
"default": "./dist/keystatic-core.js"
},
"./api/utils": {
"types": "./dist/keystatic-core-api-utils.js",
"node": {
"react-server": "./dist/keystatic-core-api-utils.node.react-server.js",
"default": "./dist/keystatic-core-api-utils.node.js"
},
"react-server": "./dist/keystatic-core-api-utils.react-server.js",
"worker": "./dist/keystatic-core-api-utils.worker.js",
"default": "./dist/keystatic-core-api-utils.js"
},
"./renderer": {
"types": "./dist/keystatic-core-renderer.js",
"node": {
"react-server": "./dist/keystatic-core-renderer.node.react-server.js",
"default": "./dist/keystatic-core-renderer.node.js"
},
"react-server": "./dist/keystatic-core-renderer.react-server.js",
"worker": "./dist/keystatic-core-renderer.worker.js",
"default": "./dist/keystatic-core-renderer.js"
},
"./api/generic": {
"types": "./dist/keystatic-core-api-generic.js",
"node": {
"react-server": "./dist/keystatic-core-api-generic.node.react-server.js",
"default": "./dist/keystatic-core-api-generic.node.js"
},
"react-server": "./dist/keystatic-core-api-generic.react-server.js",
"worker": "./dist/keystatic-core-api-generic.worker.js",
"default": "./dist/keystatic-core-api-generic.js"
},
"./reader": {
"types": "./dist/keystatic-core-reader.js",
"node": {
"react-server": "./dist/keystatic-core-reader.node.react-server.js",
"default": "./dist/keystatic-core-reader.node.js"
},
"react-server": "./dist/keystatic-core-reader.react-server.js",
"worker": "./dist/keystatic-core-reader.worker.js",
"default": "./dist/keystatic-core-reader.js"
},
"./reader/github": {
"types": "./dist/keystatic-core-reader-github.js",
"node": {
"react-server": "./dist/keystatic-core-reader-github.node.react-server.js",
"default": "./dist/keystatic-core-reader-github.node.js"
},
"react-server": "./dist/keystatic-core-reader-github.react-server.js",
"worker": "./dist/keystatic-core-reader-github.worker.js",
"default": "./dist/keystatic-core-reader-github.js"
},
"./content-components": {
"types": "./dist/keystatic-core-content-components.js",
"node": {
"react-server": "./dist/keystatic-core-content-components.node.react-server.js",
"default": "./dist/keystatic-core-content-components.node.js"
},
"react-server": "./dist/keystatic-core-content-components.react-server.js",
"worker": "./dist/keystatic-core-content-components.worker.js",
"default": "./dist/keystatic-core-content-components.js"
},
"./component-blocks": {
"types": "./dist/keystatic-core-component-blocks.js",
"node": {
"react-server": "./dist/keystatic-core-component-blocks.node.react-server.js",
"default": "./dist/keystatic-core-component-blocks.node.js"
},
"react-server": "./dist/keystatic-core-component-blocks.react-server.js",
"worker": "./dist/keystatic-core-component-blocks.worker.js",
"default": "./dist/keystatic-core-component-blocks.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"dependencies": {
"@babel/runtime": "^7.18.3",
"@braintree/sanitize-url": "^6.0.2",
"@emotion/css": "^11.9.0",
"@emotion/weak-memoize": "^0.3.0",
"@floating-ui/react": "^0.24.0",
"@internationalized/string": "^3.2.3",
"@markdoc/markdoc": "^0.4.0",
"@react-aria/focus": "^3.18.1",
"@react-aria/i18n": "^3.12.1",
"@react-aria/interactions": "^3.22.1",
"@react-aria/label": "^3.7.11",
"@react-aria/overlays": "^3.23.2",
"@react-aria/selection": "^3.19.3",
"@react-aria/utils": "^3.25.1",
"@react-aria/visually-hidden": "^3.8.15",
"@react-stately/collections": "^3.10.9",
"@react-stately/list": "^3.10.8",
"@react-stately/overlays": "^3.6.10",
"@react-stately/utils": "^3.10.3",
"@react-types/shared": "^3.24.1",
"@sindresorhus/slugify": "^1.1.2",
"@toeverything/y-indexeddb": "^0.10.0-canary.9",
"@ts-gql/tag": "^0.7.3",
"@types/react": "^18.2.8",
"@urql/core": "^5.0.4",
"@urql/exchange-auth": "^2.2.0",
"@urql/exchange-graphcache": "^7.1.2",
"@urql/exchange-persisted": "^4.3.0",
"cookie": "^1.0.0",
"emery": "^1.4.1",
"escape-string-regexp": "^4.0.0",
"fast-deep-equal": "^3.1.3",
"graphql": "^16.6.0",
"idb-keyval": "^6.2.1",
"ignore": "^5.2.4",
"is-hotkey": "^0.2.0",
"js-yaml": "^4.1.0",
"lib0": "^0.2.88",
"lru-cache": "^10.2.0",
"match-sorter": "^6.3.1",
"mdast-util-from-markdown": "^2.0.0",
"mdast-util-gfm-autolink-literal": "^2.0.0",
"mdast-util-gfm-strikethrough": "^2.0.0",
"mdast-util-gfm-table": "^2.0.0",
"mdast-util-mdx": "^3.0.0",
"mdast-util-to-markdown": "^2.1.0",
"micromark-extension-gfm-autolink-literal": "^2.0.0",
"micromark-extension-gfm-strikethrough": "^2.0.0",
"micromark-extension-gfm-table": "^2.0.0",
"micromark-extension-mdxjs": "^3.0.0",
"minimatch": "^9.0.3",
"partysocket": "^0.0.22",
"prosemirror-commands": "^1.5.1",
"prosemirror-history": "^1.3.0",
"prosemirror-keymap": "^1.2.1",
"prosemirror-model": "^1.19.0",
"prosemirror-state": "^1.4.2",
"prosemirror-tables": "^1.3.4",
"prosemirror-transform": "^1.7.1",
"prosemirror-view": "^1.30.2",
"scroll-into-view-if-needed": "^3.0.3",
"slate": "^0.91.4",
"slate-history": "^0.86.0",
"slate-react": "^0.91.9",
"superstruct": "^1.0.4",
"unist-util-visit": "^5.0.0",
"urql": "^4.1.0",
"y-prosemirror": "^1.2.2",
"y-protocols": "^1.0.6",
"yjs": "^13.6.11",
"@keystar/ui": "^0.7.14"
},
"devDependencies": {
"@internationalized/string-compiler": "^3.2.4",
"@jest/expect": "^29.7.0",
"@jest/globals": "^29.7.0",
"@testing-library/user-event": "^14.4.3",
"@ts-gql/compiler": "^0.16.7",
"@ts-gql/eslint-plugin": "^0.9.1",
"@ts-gql/next": "^17.0.1",
"@types/is-hotkey": "^0.1.7",
"@types/js-yaml": "^4.0.5",
"@types/mdast": "^4.0.3",
"@types/node": "16.11.13",
"@types/prismjs": "^1.26.0",
"@types/react-dom": "^18.0.11",
"@types/signal-exit": "^3.0.1",
"eslint": "^8.18.0",
"fast-glob": "^3.2.12",
"jest-diff": "^29.0.1",
"outdent": "^0.8.0",
"pretty-format": "^29.0.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-element-to-jsx-string": "^15.0.0",
"resize-observer-polyfill": "^1.5.1",
"signal-exit": "^3.0.7",
"slate-hyperscript": "^0.77.0",
"tsx": "^4.8.2",
"typescript": "^5.5.3"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"preconstruct": {
"entrypoints": [
"index.ts",
"api/generic.ts",
"api/utils.ts",
"reader/index.ts",
"reader/github.ts",
"renderer.tsx",
"ui.tsx",
"component-blocks/index.tsx",
"content-components.ts"
]
},
"ts-gql": {
"schema": "./github.graphql",
"mode": "no-transform",
"addTypename": false,
"scalars": {
"GitObjectID": "string"
}
},
"imports": {
"#react-cache-in-react-server": {
"react-server": "./src/reader/react-server-cache.ts",
"default": "./src/reader/noop-cache.ts"
},
"#sha1": {
"node": "./src/sha1/node.ts",
"default": "./src/sha1/webcrypto.ts"
},
"#webcrypto": {
"node": "./src/api/webcrypto/node.ts",
"default": "./src/api/webcrypto/default.ts"
},
"#api-handler": {
"node": "./src/api/api-node.ts",
"default": "./src/api/api-noop.ts"
},
"#ui": {
"node": "./src/app/ui-empty.tsx",
"worker": "./src/app/ui-empty.tsx",
"react-server": "./src/app/ui-empty.tsx",
"default": "./src/app/ui.tsx"
},
"#field-ui/*": {
"node": "./src/form/fields/empty-field-ui.tsx",
"worker": "./src/form/fields/empty-field-ui.tsx",
"react-server": "./src/form/fields/empty-field-ui.tsx",
"default": "./src/form/fields/*/ui.tsx"
},
"#component-block-primitives": {
"node": "./src/form/fields/document/DocumentEditor/primitives/blank-for-react-server.tsx",
"worker": "./src/form/fields/document/DocumentEditor/primitives/blank-for-react-server.tsx",
"react-server": "./src/form/fields/document/DocumentEditor/primitives/blank-for-react-server.tsx",
"default": "./src/form/fields/document/DocumentEditor/primitives/index.tsx"
},
"#cloud-image-preview": {
"node": "./src/component-blocks/blank-for-react-server.tsx",
"worker": "./src/component-blocks/blank-for-react-server.tsx",
"react-server": "./src/component-blocks/blank-for-react-server.tsx",
"default": "./src/component-blocks/cloud-image-preview.tsx"
},
"#markdoc": "./src/markdoc.js",
"#base64": "./src/base64.ts",
"#react-compiler-runtime": "./src/react-compiler-runtime.ts"
},
"scripts": {
"setup": "ts-gql build && tsx scripts/l10n.cts && tsx scripts/build-prism.cts",
"build": "pnpm run setup && next build",
"dev": "next dev",
"start": "next start"
}
}
No newline at end of file