mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-10-03 00:28:42 +08:00
72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"version": "1.4.7",
|
|
"name": "@tmagic/form",
|
|
"type": "module",
|
|
"sideEffects": [
|
|
"dist/*",
|
|
"src/theme/*"
|
|
],
|
|
"main": "dist/tmagic-form.umd.cjs",
|
|
"module": "dist/tmagic-form.js",
|
|
"style": "dist/style.css",
|
|
"types": "types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./dist/tmagic-form.js",
|
|
"require": "./dist/tmagic-form.umd.cjs"
|
|
},
|
|
"./dist/style.css": {
|
|
"import": "./dist/style.css",
|
|
"require": "./dist/style.css"
|
|
},
|
|
"./*": "./*"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"types"
|
|
],
|
|
"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",
|
|
"clear:type": "rimraf ./types",
|
|
"check:type": "vue-tsc --noEmit --project tsconfig.build.json"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Tencent/tmagic-editor.git"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.1",
|
|
"lodash-es": "^4.17.21",
|
|
"sortablejs": "^1.15.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash-es": "^4.17.4",
|
|
"@types/node": "^18.19.0",
|
|
"@types/sortablejs": "^1.15.8",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@vue/compiler-sfc": "^3.4.27",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"rimraf": "^3.0.2",
|
|
"sass": "^1.77.0",
|
|
"vite": "^5.2.12",
|
|
"vue-tsc": "^2.0.19"
|
|
},
|
|
"peerDependencies": {
|
|
"@tmagic/design": "workspace:*",
|
|
"@tmagic/utils": "workspace:*",
|
|
"vue": "^3.4.27",
|
|
"typescript": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"typescript": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|