mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 21:47:16 +00:00
3f3e9b5373
* feat: add Slate component * feat: add slate Read Pretty * fix: remove unused code * fix: demo * feat: rich text field interface * fix: editor normalize * fix: modify slate style * fix: remove debug info Co-authored-by: chenos <chenlinxh@gmail.com>
63 lines
1.6 KiB
JSON
63 lines
1.6 KiB
JSON
{
|
|
"name": "@nocobase/client",
|
|
"version": "0.6.0-alpha.0",
|
|
"license": "MIT",
|
|
"main": "lib",
|
|
"module": "esm",
|
|
"sideEffects": [
|
|
"dist/*",
|
|
"esm/*.js",
|
|
"lib/*.js",
|
|
"src/*.ts",
|
|
"*.less",
|
|
"**/*/style.js"
|
|
],
|
|
"types": "esm/index.d.ts",
|
|
"engines": {
|
|
"npm": ">=3.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^5.0.1",
|
|
"@dnd-kit/sortable": "^6.0.0",
|
|
"@emotion/css": "^11.7.1",
|
|
"@formily/antd": "^2.0.15",
|
|
"@formily/core": "^2.0.15",
|
|
"@formily/react": "^2.0.15",
|
|
"@nocobase/utils": "0.6.0-alpha.0",
|
|
"ahooks": "^3.0.5",
|
|
"antd": "^4.18.9",
|
|
"axios": "^0.24.0",
|
|
"classnames": "^2.3.1",
|
|
"file-saver": "^2.0.5",
|
|
"i18next": "^21.6.0",
|
|
"marked": "^4.0.12",
|
|
"react-beautiful-dnd": "^13.1.0",
|
|
"react-big-calendar": "^0.38.7",
|
|
"react-drag-listview": "^0.1.9",
|
|
"react-helmet": "^6.1.0",
|
|
"react-i18next": "^11.15.1",
|
|
"react-image-lightbox": "^5.1.4",
|
|
"react-router-dom": "^5.2.0",
|
|
"slate": "^0.76.1",
|
|
"slate-history": "^0.66.0",
|
|
"slate-react": "^0.76.1",
|
|
"use-deep-compare-effect": "^1.8.1"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": ">=16.8.0 || >=17.0.0",
|
|
"@types/react-dom": ">=16.8.0 || >=17.0.0",
|
|
"react": ">=16.8.0 || >=17.0.0",
|
|
"react-dom": ">=16.8.0",
|
|
"react-is": ">=16.8.0 || >=17.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf -rf lib esm dist && npm run build:cjs && npm run build:esm",
|
|
"build:cjs": "tsc --project tsconfig.build.json",
|
|
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir esm"
|
|
},
|
|
"devDependencies": {
|
|
"@types/marked": "^4.0.1",
|
|
"axios-mock-adapter": "^1.20.0"
|
|
}
|
|
}
|