sunmao-ui/packages/editor/package.json
2022-03-03 22:28:26 +08:00

90 lines
2.3 KiB
JSON

{
"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",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/iife/index.js",
"types": "lib/index.d.ts",
"files": [
"dist",
"lib"
],
"scripts": {
"dev": "vite",
"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"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webzard-io/sunmao-ui.git"
},
"bugs": {
"url": "https://github.com/webzard-io/sunmao-ui/issues"
},
"dependencies": {
"@chakra-ui/icons": "^1.0.15",
"@chakra-ui/react": "^1.7.1",
"@emotion/css": "^11.7.1",
"@sinclair/typebox": "^0.21.2",
"@sunmao-ui/chakra-ui-lib": "^0.2.0",
"@sunmao-ui/core": "^0.4.0",
"@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",
"ajv": "^8.8.2",
"codemirror": "^5.63.3",
"formik": "^2.2.9",
"framer-motion": "^4",
"immer": "^9.0.6",
"lodash-es": "^4.17.21",
"mobx": "^6.3.8",
"mobx-react-lite": "^3.2.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-json-tree": "^0.16.1",
"tern": "^0.24.3"
},
"devDependencies": {
"@babel/preset-react": "^7.14.5",
"@sunmao-ui/vite-plugins": "^1.0.2",
"@swc/core": "^1.2.121",
"@types/codemirror": "^5.60.5",
"@types/lodash-es": "^4.17.5",
"@types/tern": "^0.23.4",
"@vitejs/plugin-react": "^1.0.1",
"@vitejs/plugin-react-refresh": "^1.3.6",
"babel-jest": "^27.2.1",
"eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.2.1",
"jest-css-modules": "^2.1.0",
"postcss": "^8.4.5",
"postcss-import": "^14.0.2",
"tsup": "^5.11.0",
"typescript": "^4.5.0",
"vite": "^2.6.13"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
]
}
}