2023-04-20 16:32:50 +08:00

88 lines
2.2 KiB
JSON

{
"version": "1.2.14",
"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": {
".": {
"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.2.14",
"@tmagic/design": "1.2.14",
"@tmagic/form": "1.2.14",
"@tmagic/schema": "1.2.14",
"@tmagic/stage": "1.2.14",
"@tmagic/utils": "1.2.14",
"buffer": "^6.0.3",
"color": "^3.1.3",
"events": "^3.3.0",
"gesto": "^1.7.0",
"keycon": "^1.1.2",
"lodash-es": "^4.17.21",
"monaco-editor": "^0.34.0",
"serialize-javascript": "^6.0.0",
"vue": "^3.2.37"
},
"peerDependencies": {
"@tmagic/design": "1.2.14",
"@tmagic/form": "1.2.14",
"monaco-editor": "^0.34.0",
"vue": "^3.2.37"
},
"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.1.0",
"@vue/compiler-sfc": "^3.2.37",
"@vue/test-utils": "^2.0.0",
"rimraf": "^3.0.2",
"sass": "^1.35.1",
"tsc-alias": "^1.8.5",
"typescript": "^5.0.4",
"vite": "^4.2.1",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vue-tsc": "^1.0.11"
}
}