2021-09-22 15:34:52 +08:00
|
|
|
{
|
2021-11-21 14:38:01 +08:00
|
|
|
"name": "@sunmao-ui/editor",
|
2023-09-07 10:27:19 +08:00
|
|
|
"version": "0.11.0",
|
2021-11-21 14:38:01 +08:00
|
|
|
"description": "sunmao-ui editor",
|
|
|
|
"author": "sunmao-ui developers",
|
2022-07-13 14:59:19 +08:00
|
|
|
"homepage": "https://github.com/smartxworks/sunmao-ui#readme",
|
2022-07-11 14:17:59 +08:00
|
|
|
"license": "Apache-2.0",
|
2022-01-26 17:59:18 +08:00
|
|
|
"main": "dist/index.js",
|
|
|
|
"module": "dist/esm/index.js",
|
|
|
|
"unpkg": "dist/iife/index.js",
|
|
|
|
"types": "lib/index.d.ts",
|
2021-11-10 21:25:59 +08:00
|
|
|
"files": [
|
|
|
|
"dist",
|
|
|
|
"lib"
|
|
|
|
],
|
2021-09-22 15:34:52 +08:00
|
|
|
"scripts": {
|
|
|
|
"dev": "vite",
|
2022-08-19 11:47:13 +08:00
|
|
|
"build": "tsup && npm run visualize",
|
2021-11-10 21:25:59 +08:00
|
|
|
"typings": "tsc --emitDeclarationOnly",
|
|
|
|
"test": "jest",
|
2022-08-19 11:47:13 +08:00
|
|
|
"prepublish": "npm run build && npm run typings",
|
|
|
|
"visualize": "esbuild-visualizer --metadata ./dist/metafile-esm.json --exclude *.png"
|
2021-09-22 15:34:52 +08:00
|
|
|
},
|
|
|
|
"publishConfig": {
|
2021-10-26 18:08:27 +08:00
|
|
|
"access": "public"
|
2021-09-22 15:34:52 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-07-13 14:59:19 +08:00
|
|
|
"url": "git+https://github.com/smartxworks/sunmao-ui.git"
|
2021-09-22 15:34:52 +08:00
|
|
|
},
|
|
|
|
"bugs": {
|
2022-07-13 14:59:19 +08:00
|
|
|
"url": "https://github.com/smartxworks/sunmao-ui/issues"
|
2021-09-22 15:34:52 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-09-30 11:38:50 +08:00
|
|
|
"@chakra-ui/icons": "^1.0.15",
|
2021-11-15 13:41:38 +08:00
|
|
|
"@chakra-ui/react": "^1.7.1",
|
2022-03-09 17:02:14 +08:00
|
|
|
"@emotion/css": "^11.7.1",
|
2022-06-28 15:53:45 +08:00
|
|
|
"@optum/json-schema-editor": "^2.1.0",
|
2022-06-23 14:55:46 +08:00
|
|
|
"@sinclair/typebox": "^0.21.2",
|
2023-09-07 10:27:19 +08:00
|
|
|
"@sunmao-ui/arco-lib": "^0.11.0",
|
|
|
|
"@sunmao-ui/chakra-ui-lib": "^0.11.0",
|
|
|
|
"@sunmao-ui/core": "^0.11.0",
|
|
|
|
"@sunmao-ui/editor-sdk": "^0.11.0",
|
|
|
|
"@sunmao-ui/runtime": "^0.11.0",
|
|
|
|
"@sunmao-ui/shared": "^0.11.0",
|
2022-01-10 15:07:13 +08:00
|
|
|
"acorn": "^8.7.0",
|
|
|
|
"acorn-loose": "^8.3.0",
|
|
|
|
"acorn-walk": "^8.2.0",
|
2021-12-10 17:42:04 +08:00
|
|
|
"ajv": "^8.8.2",
|
2022-09-22 16:58:36 +08:00
|
|
|
"codemirror": "^5.65.9",
|
2022-06-13 11:26:25 +08:00
|
|
|
"escodegen": "^2.0.0",
|
2021-10-20 14:46:24 +08:00
|
|
|
"formik": "^2.2.9",
|
2021-09-27 18:00:34 +08:00
|
|
|
"immer": "^9.0.6",
|
2022-06-16 17:55:50 +08:00
|
|
|
"lodash": "^4.17.21",
|
2021-11-30 13:59:54 +08:00
|
|
|
"mobx": "^6.3.8",
|
|
|
|
"mobx-react-lite": "^3.2.2",
|
2022-04-06 13:39:42 +08:00
|
|
|
"re-resizable": "^6.9.5",
|
2022-06-23 14:55:46 +08:00
|
|
|
"react": "^17.0.2",
|
2022-08-23 13:56:44 +08:00
|
|
|
"react-codemirror2": "^7.2.1",
|
2022-07-01 17:05:57 +08:00
|
|
|
"react-dom": "^17.0.2",
|
2022-11-09 14:26:31 +08:00
|
|
|
"react-fiber-traverse": "^0.0.8",
|
2022-07-01 17:05:57 +08:00
|
|
|
"react-json-tree": "^0.16.1",
|
2022-09-21 14:41:55 +08:00
|
|
|
"scroll-into-view": "^1.16.2"
|
2021-09-22 15:34:52 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-09-23 18:21:20 +08:00
|
|
|
"@babel/preset-react": "^7.14.5",
|
2022-08-18 14:17:56 +08:00
|
|
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
2023-09-07 10:27:19 +08:00
|
|
|
"@sunmao-ui/vite-plugins": "^1.1.2",
|
2021-12-30 13:51:55 +08:00
|
|
|
"@swc/core": "^1.2.121",
|
2021-10-19 00:14:44 +08:00
|
|
|
"@types/codemirror": "^5.60.5",
|
2022-06-13 11:26:25 +08:00
|
|
|
"@types/escodegen": "^0.0.7",
|
2022-03-21 11:25:48 +08:00
|
|
|
"@types/json-schema": "^7.0.7",
|
2022-06-16 17:55:50 +08:00
|
|
|
"@types/lodash": "^4.14.182",
|
2022-07-01 17:05:57 +08:00
|
|
|
"@types/scroll-into-view": "^1.16.0",
|
2022-08-19 11:47:13 +08:00
|
|
|
"@vitejs/plugin-react": "^2.0.1",
|
2021-09-22 15:34:52 +08:00
|
|
|
"@vitejs/plugin-react-refresh": "^1.3.6",
|
|
|
|
"babel-jest": "^27.2.1",
|
2022-08-19 11:47:13 +08:00
|
|
|
"esbuild-visualizer": "^0.3.1",
|
2021-12-30 13:51:55 +08:00
|
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
2021-09-23 18:21:20 +08:00
|
|
|
"jest": "^27.2.1",
|
2022-01-29 14:34:30 +08:00
|
|
|
"jest-css-modules": "^2.1.0",
|
2022-01-04 13:44:30 +08:00
|
|
|
"postcss": "^8.4.5",
|
|
|
|
"postcss-import": "^14.0.2",
|
2022-08-18 14:17:56 +08:00
|
|
|
"tsup": "^6.2.2",
|
2021-11-21 14:38:01 +08:00
|
|
|
"typescript": "^4.5.0",
|
2022-08-18 14:17:56 +08:00
|
|
|
"vite": "^3.0.8"
|
2021-09-22 15:34:52 +08:00
|
|
|
},
|
2022-07-15 11:26:57 +08:00
|
|
|
"peerDependencies": {
|
2022-11-09 14:26:31 +08:00
|
|
|
"@emotion/react": "^11.8.1",
|
2022-09-16 16:04:06 +08:00
|
|
|
"react": "16.x || 17.x",
|
2022-11-09 14:26:31 +08:00
|
|
|
"react-dom": "16.x || 17.x"
|
2022-07-15 11:26:57 +08:00
|
|
|
},
|
2021-09-22 15:34:52 +08:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx,html}": [
|
|
|
|
"prettier --write",
|
2022-06-06 15:23:20 +08:00
|
|
|
"eslint --fix"
|
2021-09-22 15:34:52 +08:00
|
|
|
]
|
2021-10-27 00:18:22 +08:00
|
|
|
}
|
2021-09-22 15:34:52 +08:00
|
|
|
}
|