134 lines
4.2 KiB
JSON
134 lines
4.2 KiB
JSON
{
|
|
"name": "vite-vue3-lowcode",
|
|
"version": "0.0.1",
|
|
"private": false,
|
|
"description": "A Vite2.x + Vue3.x + TypeScript LowCode",
|
|
"scripts": {
|
|
"bootstrap": "pnpm install",
|
|
"serve": "npm run dev",
|
|
"dev": "cross-env --max_old_space_size=4096 vite",
|
|
"build": "cross-env vite build",
|
|
"build:no-cache": "pnpm clean:cache && npm run build",
|
|
"build-tsc": "vue-tsc --noEmit && vite build",
|
|
"preview": "npm run build && vite preview",
|
|
"preview:dist": "vite preview",
|
|
"log": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
|
|
"clean:lib": "rimraf node_modules",
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
"lint:lint-staged": "lint-staged",
|
|
"deploy": "npm run build && npx gh-pages -d dist",
|
|
"test:gzip": "npx http-server dist --cors --gzip -c-1",
|
|
"test:br": "npx http-server dist --cors --brotli -c-1",
|
|
"reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^0.2.4",
|
|
"@vant/touch-emulator": "^1.3.2",
|
|
"@vueuse/core": "^7.5.3",
|
|
"@vueuse/integrations": "^7.5.3",
|
|
"animate.css": "^4.1.1",
|
|
"axios": "^0.24.0",
|
|
"dayjs": "^1.10.7",
|
|
"dexie": "^3.2.0",
|
|
"element-plus": "1.3.0-beta.5",
|
|
"lodash-es": "^4.17.21",
|
|
"monaco-editor": "^0.31.1",
|
|
"nanoid": "^3.1.32",
|
|
"normalize.css": "^8.0.1",
|
|
"nprogress": "^1.0.0-1",
|
|
"pinia": "^2.0.9",
|
|
"qrcode": "^1.5.0",
|
|
"qs": "^6.10.3",
|
|
"vant": "3.4.1",
|
|
"vue": "3.2.26",
|
|
"vue-router": "^4.0.12",
|
|
"vuedraggable": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^16.0.2",
|
|
"@commitlint/config-conventional": "^16.0.0",
|
|
"@types/lodash-es": "^4.17.5",
|
|
"@types/node": "^17.0.8",
|
|
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
|
"@typescript-eslint/parser": "^5.9.1",
|
|
"@vitejs/plugin-legacy": "^1.6.4",
|
|
"@vitejs/plugin-vue": "^2.0.1",
|
|
"@vitejs/plugin-vue-jsx": "^1.3.3",
|
|
"@vue/compiler-sfc": "3.2.26",
|
|
"commitizen": "^4.2.4",
|
|
"conventional-changelog-cli": "^2.2.2",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.7.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-define-config": "^1.2.2",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-vue": "^8.3.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^12.1.7",
|
|
"postcss-html": "^1.3.0",
|
|
"prettier": "^2.5.1",
|
|
"sass": "1.48.0",
|
|
"stylelint": "^14.2.0",
|
|
"stylelint-config-html": "^1.0.0",
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
"stylelint-config-recommended": "^6.0.0",
|
|
"stylelint-config-standard": "^24.0.0",
|
|
"stylelint-order": "^5.0.0",
|
|
"stylelint-scss": "^4.1.0",
|
|
"typescript": "^4.5.4",
|
|
"unplugin-auto-import": "^0.5.11",
|
|
"unplugin-vue-components": "^0.17.11",
|
|
"vite": "2.7.12",
|
|
"vite-plugin-windicss": "^1.6.2",
|
|
"vue-eslint-parser": "^8.0.1",
|
|
"windicss": "^3.4.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/buqiyuan/vite-vue3-lowcode.git"
|
|
},
|
|
"keywords": [
|
|
"Vite",
|
|
"Vue3",
|
|
"TypeScript",
|
|
"LowCode"
|
|
],
|
|
"author": "buqiyuan",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/buqiyuan/vite-vue3-lowcode/issues"
|
|
},
|
|
"homepage": "https://github.com/buqiyuan/vite-vue3-lowcode#readme",
|
|
"engines": {
|
|
"node": "^12 || >=14"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
|
|
"prettier --write--parser json"
|
|
],
|
|
"package.json": [
|
|
"prettier --write"
|
|
],
|
|
"*.vue": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"stylelint --fix"
|
|
],
|
|
"*.{scss,less,styl,html}": [
|
|
"stylelint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|