sunmao-ui/packages/editor/package.json

90 lines
2.3 KiB
JSON
Raw Normal View History

2021-09-22 15:34:52 +08:00
{
"name": "@sunmao-ui/editor",
"version": "0.4.0",
"description": "sunmao-ui editor",
"author": "sunmao-ui developers",
"homepage": "https://github.com/webzard-io/sunmao-ui#readme",
2021-09-22 15:34:52 +08:00
"license": "MIT",
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",
2022-01-26 17:59:18 +08:00
"build": "tsup src/index.ts --format cjs,esm,iife --legacy-output --inject ../runtime/react-import.js --clean --no-splitting --sourcemap",
"typings": "tsc --emitDeclarationOnly",
"test": "jest",
"prepublish": "npm run build && npm run typings"
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/webzard-io/sunmao-ui.git"
2021-09-22 15:34:52 +08:00
},
"bugs": {
"url": "https://github.com/webzard-io/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",
2021-12-16 15:16:27 +08:00
"@emotion/css": "^11.7.1",
"@sinclair/typebox": "^0.21.2",
"@sunmao-ui/chakra-ui-lib": "^0.2.0",
"@sunmao-ui/core": "^0.4.0",
2022-03-03 22:28:26 +08:00
"@sunmao-ui/editor-sdk": "^0.5.0-alpha1",
"@sunmao-ui/runtime": "^0.4.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.63.3",
2021-10-20 14:46:24 +08:00
"formik": "^2.2.9",
2021-09-23 18:21:20 +08:00
"framer-motion": "^4",
2021-09-27 18:00:34 +08:00
"immer": "^9.0.6",
"lodash-es": "^4.17.21",
2021-11-30 13:59:54 +08:00
"mobx": "^6.3.8",
"mobx-react-lite": "^3.2.2",
2021-09-22 15:34:52 +08:00
"react": "^17.0.2",
2022-01-25 23:17:32 +08:00
"react-dom": "^17.0.2",
"react-json-tree": "^0.16.1",
2022-01-25 23:17:32 +08:00
"tern": "^0.24.3"
2021-09-22 15:34:52 +08:00
},
"devDependencies": {
2021-09-23 18:21:20 +08:00
"@babel/preset-react": "^7.14.5",
"@sunmao-ui/vite-plugins": "^1.0.2",
2021-12-30 13:51:55 +08:00
"@swc/core": "^1.2.121",
"@types/codemirror": "^5.60.5",
"@types/lodash-es": "^4.17.5",
2022-01-25 23:17:32 +08:00
"@types/tern": "^0.23.4",
2021-09-23 18:21:20 +08:00
"@vitejs/plugin-react": "^1.0.1",
2021-09-22 15:34:52 +08:00
"@vitejs/plugin-react-refresh": "^1.3.6",
"babel-jest": "^27.2.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",
2021-12-22 14:38:34 +08:00
"tsup": "^5.11.0",
"typescript": "^4.5.0",
2021-11-01 17:16:18 +08:00
"vite": "^2.6.13"
2021-09-22 15:34:52 +08:00
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
]
2021-10-27 00:18:22 +08:00
}
2021-09-22 15:34:52 +08:00
}