You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "webtopo-svg-edit",
|
|
"version": "0.0.8",
|
|
"description": "基于vue3.2+ts实现的svg可视化web组态编辑器。",
|
|
"author": "咬轮猫 <10928033@qq.com>",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"module": "./dist/webtopo-svg-edit.es.js",
|
|
"main": "./dist/webtopo-svg-edit.umd.cjs",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/webtopo-svg-edit.es.js",
|
|
"require": "./dist/webtopo-svg-edit.umd.cjs"
|
|
},
|
|
"./dist/style.css": {
|
|
"import": "./dist/style.css",
|
|
"require": "./dist/style.css"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "vite --port 3001",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"lint:eslint": "eslint --fix --ext .js,.ts,.vue,.tsx ./src",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"postinstall": "husky install",
|
|
"lib": "vue-tsc --noEmit --skipLibCheck && vite build --mode lib"
|
|
},
|
|
"dependencies": {
|
|
"ace-builds": "^1.14.0",
|
|
"animate.css": "^4.1.1",
|
|
"echarts": "^5.4.1",
|
|
"element-plus": "^2.2.9",
|
|
"pinia": "^2.0.16",
|
|
"vue": "^3.2.25",
|
|
"vue-echarts": "^6.5.1",
|
|
"vue-router": "4",
|
|
"vue3-ace-editor": "^2.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.0.3",
|
|
"@commitlint/config-conventional": "^17.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
"@typescript-eslint/parser": "^5.30.5",
|
|
"@vitejs/plugin-vue": "^2.3.3",
|
|
"eslint": "^8.19.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-define-config": "^1.5.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-vue": "^9.2.0",
|
|
"husky": "^8.0.1",
|
|
"less": "^4.1.3",
|
|
"prettier": "^2.7.1",
|
|
"typescript": "^4.5.4",
|
|
"vite": "^2.9.9",
|
|
"vite-plugin-eslint": "^1.6.1",
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
"vite-plugin-windicss": "^1.8.6",
|
|
"vue-eslint-parser": "^9.0.3",
|
|
"vue-tsc": "^0.34.7",
|
|
"windicss": "^3.5.6"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,vue,ts,tsx}": [
|
|
"pnpm run lint:eslint"
|
|
]
|
|
}
|
|
}
|