2024-12-09 20:21:34 +08:00

96 lines
2.2 KiB
JSON

{
"version": "1.5.0-beta.14",
"name": "@tmagic/editor",
"type": "module",
"sideEffects": [
"dist/style.css",
"src/theme/*"
],
"main": "dist/tmagic-editor.umd.cjs",
"module": "dist/tmagic-editor.js",
"style": "dist/style.css",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/tmagic-editor.js",
"require": "./dist/tmagic-editor.umd.cjs"
},
"./dist/style.css": {
"import": "./dist/style.css",
"require": "./dist/style.css"
},
"./*": "./*"
},
"files": [
"dist",
"types",
"src"
],
"license": "Apache-2.0",
"scripts": {
"build": "vite build"
},
"engines": {
"node": ">=18"
},
"repository": {
"directory": "packages/editor",
"type": "git",
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"homepage": "https://tencent.github.io/tmagic-editor/docs/",
"keywords": [
"editor",
"drag",
"resize",
"vue",
"vue3",
"typescript"
],
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"@tmagic/design": "workspace:*",
"@tmagic/form": "workspace:*",
"@tmagic/stage": "workspace:*",
"@tmagic/table": "workspace:*",
"@tmagic/utils": "workspace:*",
"buffer": "^6.0.3",
"color": "^3.1.3",
"emmet-monaco-es": "^5.3.0",
"events": "^3.3.0",
"gesto": "^1.19.1",
"keycon": "^1.4.0",
"lodash-es": "^4.17.21",
"moveable": "^0.53.0",
"serialize-javascript": "^6.0.0",
"sortablejs": "^1.15.2"
},
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"@types/serialize-javascript": "^5.0.1",
"@types/sortablejs": "^1.15.8",
"@vitejs/plugin-vue": "^5.1.3",
"@vue/compiler-sfc": "^3.5.12",
"@vue/test-utils": "^2.4.6",
"rimraf": "^3.0.2",
"sass": "^1.78.0",
"tsc-alias": "^1.8.5",
"type-fest": "^4.10.3",
"vite": "^5.4.10"
},
"peerDependencies": {
"@tmagic/core": "workspace:*",
"monaco-editor": "^0.48.0",
"typescript": "*",
"vue": ">=3.5.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
}