sunmao-ui/packages/editor/package.json

105 lines
2.8 KiB
JSON
Raw Permalink Normal View History

2021-09-22 15:34:52 +08:00
{
"name": "@sunmao-ui/editor",
"version": "0.11.0",
"description": "sunmao-ui editor",
"author": "sunmao-ui developers",
"homepage": "https://github.com/smartxworks/sunmao-ui#readme",
"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",
"files": [
"dist",
"lib"
],
2021-09-22 15:34:52 +08:00
"scripts": {
"dev": "vite",
"build": "tsup && npm run visualize",
"typings": "tsc --emitDeclarationOnly",
"test": "jest",
"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",
"url": "git+https://github.com/smartxworks/sunmao-ui.git"
2021-09-22 15:34:52 +08:00
},
"bugs": {
"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",
"@chakra-ui/react": "^1.7.1",
"@emotion/css": "^11.7.1",
"@optum/json-schema-editor": "^2.1.0",
"@sinclair/typebox": "^0.21.2",
"@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",
"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",
"codemirror": "^5.65.9",
"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",
"re-resizable": "^6.9.5",
"react": "^17.0.2",
"react-codemirror2": "^7.2.1",
"react-dom": "^17.0.2",
"react-fiber-traverse": "^0.0.8",
"react-json-tree": "^0.16.1",
"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",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@sunmao-ui/vite-plugins": "^1.1.2",
2021-12-30 13:51:55 +08:00
"@swc/core": "^1.2.121",
"@types/codemirror": "^5.60.5",
"@types/escodegen": "^0.0.7",
"@types/json-schema": "^7.0.7",
2022-06-16 17:55:50 +08:00
"@types/lodash": "^4.14.182",
"@types/scroll-into-view": "^1.16.0",
"@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",
"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",
"postcss": "^8.4.5",
"postcss-import": "^14.0.2",
"tsup": "^6.2.2",
"typescript": "^4.5.0",
"vite": "^3.0.8"
2021-09-22 15:34:52 +08:00
},
"peerDependencies": {
"@emotion/react": "^11.8.1",
"react": "16.x || 17.x",
"react-dom": "16.x || 17.x"
},
2021-09-22 15:34:52 +08:00
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"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
}