2023-12-01 15:30:58 +08:00

91 lines
2.2 KiB
JSON

{
"version": "1.3.5",
"name": "@tmagic/editor",
"type": "module",
"sideEffects": [
"dist/*",
"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"
},
"./*": "./*"
},
"license": "Apache-2.0",
"scripts": {
"build": "npm run build:type && vite build",
"build:type": "npm run clear:type && vue-tsc --declaration --emitDeclarationOnly --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=14"
},
"repository": {
"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": {
"@babel/core": "^7.18.0",
"@element-plus/icons-vue": "^2.0.9",
"@tmagic/core": "1.3.5",
"@tmagic/dep": "1.3.5",
"@tmagic/design": "1.3.5",
"@tmagic/form": "1.3.5",
"@tmagic/schema": "1.3.5",
"@tmagic/stage": "1.3.5",
"@tmagic/table": "1.3.5",
"@tmagic/utils": "1.3.5",
"buffer": "^6.0.3",
"color": "^3.1.3",
"events": "^3.3.0",
"gesto": "^1.19.1",
"keycon": "^1.4.0",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.41.0",
"moveable": "^0.51.1",
"serialize-javascript": "^6.0.0",
"vue": "^3.3.8"
},
"peerDependencies": {
"@tmagic/design": "1.3.5",
"@tmagic/form": "1.3.5",
"monaco-editor": "^0.41.0",
"vue": "^3.3.8"
},
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^15.12.4",
"@types/serialize-javascript": "^5.0.1",
"@vitejs/plugin-vue": "^4.2.3",
"@vue/compiler-sfc": "^3.3.8",
"@vue/test-utils": "^2.3.2",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"tsc-alias": "^1.8.5",
"typescript": "^5.0.4",
"vite": "^4.4.4",
"vue-tsc": "^1.6.5"
}
}