提交代码
This commit is contained in:
75
package.json
Normal file
75
package.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"name": "maotu",
|
||||
"version": "0.3.1",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"dev": "pnpm run format && vite --port 4001",
|
||||
"build": "run-p type-check \"build-only {@}\" --",
|
||||
"preview": "vite preview",
|
||||
"test:unit": "vitest",
|
||||
"build-only": "vite build",
|
||||
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||
"format": "prettier --write src/",
|
||||
"lib": "vite build --mode lib",
|
||||
"npm": "vite build --mode npm"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"main": "./dist/maotu.umd.js",
|
||||
"module": "./dist/maotu.es.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/maotu.es.js",
|
||||
"require": "./dist/maotu.umd.js",
|
||||
"types": "./dist/src/export.d.ts"
|
||||
},
|
||||
"./*": "./*"
|
||||
},
|
||||
"typings": "dist/export.d.ts",
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^2.3.1",
|
||||
"@types/sortablejs": "^1.15.8",
|
||||
"@vueuse/core": "^10.6.1",
|
||||
"ace-builds": "^1.32.0",
|
||||
"animate.css": "^4.1.1",
|
||||
"axios": "^1.11.0",
|
||||
"canvg": "^4.0.1",
|
||||
"echarts": "^5.4.3",
|
||||
"element-plus": "^2.4.2",
|
||||
"html2canvas": "^1.4.1",
|
||||
"less": "^4.2.0",
|
||||
"mqtt": "^5.13.3",
|
||||
"pinia": "^3.0.3",
|
||||
"sortablejs": "^1.15.6",
|
||||
"vue": "^3.3.4",
|
||||
"vue-draggable-plus": "^0.6.0",
|
||||
"vue-echarts": "^6.6.5",
|
||||
"vue-router": "^4.2.5",
|
||||
"vue3-ace-editor": "^2.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rushstack/eslint-patch": "^1.3.3",
|
||||
"@tsconfig/node18": "^18.2.2",
|
||||
"@types/jsdom": "^21.1.3",
|
||||
"@types/node": "^18.18.5",
|
||||
"@vitejs/plugin-vue": "^4.4.0",
|
||||
"@vue/eslint-config-prettier": "^8.0.0",
|
||||
"@vue/eslint-config-typescript": "^12.0.0",
|
||||
"@vue/test-utils": "^2.4.1",
|
||||
"@vue/tsconfig": "^0.4.0",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-plugin-vue": "^9.17.0",
|
||||
"jsdom": "^22.1.0",
|
||||
"npm-run-all2": "^6.1.1",
|
||||
"prettier": "^3.0.3",
|
||||
"typescript": "~5.2.0",
|
||||
"unocss": "^0.57.4",
|
||||
"vite": "^4.4.11",
|
||||
"vite-plugin-dts": "^3.6.0",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vitest": "^0.34.6",
|
||||
"vue-tsc": "^1.8.19"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user