|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
"bootstrap": "pnpm install", |
|
|
|
|
"serve": "npm run dev", |
|
|
|
|
"dev": "cross-env --max_old_space_size=4096 vite", |
|
|
|
|
"build": "cross-env vite build", |
|
|
|
|
"build": "rimraf dist && cross-env NODE_ENV=production vite build", |
|
|
|
|
"build:no-cache": "pnpm clean:cache && npm run build", |
|
|
|
|
"build-tsc": "vue-tsc --noEmit && vite build", |
|
|
|
|
"preview": "npm run build && vite preview", |
|
|
|
@ -15,77 +15,89 @@ |
|
|
|
|
"log": "conventional-changelog -p angular -i CHANGELOG.md -s", |
|
|
|
|
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite", |
|
|
|
|
"clean:lib": "rimraf node_modules", |
|
|
|
|
"format": "prettier --write .", |
|
|
|
|
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 && pretty-quick --check --branch main", |
|
|
|
|
"lint:fix": "eslint --fix . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json && pretty-quick --branch main", |
|
|
|
|
"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", |
|
|
|
|
"prepare": "husky install", |
|
|
|
|
"postversion": "git push && git push origin --tags", |
|
|
|
|
"reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", |
|
|
|
|
"prepare": "husky install" |
|
|
|
|
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", |
|
|
|
|
"test:gzip": "npx http-server dist --cors --gzip -c-1", |
|
|
|
|
"test:br": "npx http-server dist --cors --brotli -c-1" |
|
|
|
|
}, |
|
|
|
|
"dependencies": { |
|
|
|
|
"@element-plus/icons-vue": "^0.2.4", |
|
|
|
|
"@element-plus/icons-vue": "^2.0.6", |
|
|
|
|
"@vant/touch-emulator": "^1.3.2", |
|
|
|
|
"@vueuse/core": "^7.5.3", |
|
|
|
|
"@vueuse/integrations": "^7.5.3", |
|
|
|
|
"@vueuse/core": "^8.7.5", |
|
|
|
|
"@vueuse/integrations": "^8.7.5", |
|
|
|
|
"animate.css": "^4.1.1", |
|
|
|
|
"axios": "^0.24.0", |
|
|
|
|
"dayjs": "^1.10.7", |
|
|
|
|
"dexie": "^3.2.0", |
|
|
|
|
"element-plus": "1.3.0-beta.5", |
|
|
|
|
"axios": "^0.27.2", |
|
|
|
|
"dayjs": "^1.11.3", |
|
|
|
|
"dexie": "^3.2.2", |
|
|
|
|
"element-plus": "2.2.8", |
|
|
|
|
"lodash-es": "^4.17.21", |
|
|
|
|
"monaco-editor": "^0.31.1", |
|
|
|
|
"nanoid": "^3.1.32", |
|
|
|
|
"monaco-editor": "^0.33.0", |
|
|
|
|
"nanoid": "^4.0.0", |
|
|
|
|
"normalize.css": "^8.0.1", |
|
|
|
|
"nprogress": "^1.0.0-1", |
|
|
|
|
"pinia": "^2.0.9", |
|
|
|
|
"pinia": "^2.0.14", |
|
|
|
|
"qrcode": "^1.5.0", |
|
|
|
|
"qs": "^6.10.3", |
|
|
|
|
"vant": "3.4.1", |
|
|
|
|
"vue": "3.2.26", |
|
|
|
|
"vue-router": "^4.0.12", |
|
|
|
|
"qs": "^6.11.0", |
|
|
|
|
"vant": "3.5.2", |
|
|
|
|
"vue": "3.2.37", |
|
|
|
|
"vue-router": "^4.0.16", |
|
|
|
|
"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", |
|
|
|
|
"@commitlint/cli": "^17.0.3", |
|
|
|
|
"@commitlint/config-conventional": "^17.0.3", |
|
|
|
|
"@types/lodash-es": "^4.17.6", |
|
|
|
|
"@types/node": "^18.0.0", |
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.30.3", |
|
|
|
|
"@typescript-eslint/parser": "^5.30.3", |
|
|
|
|
"@vitejs/plugin-legacy": "^1.8.2", |
|
|
|
|
"@vitejs/plugin-vue": "^2.3.3", |
|
|
|
|
"@vitejs/plugin-vue-jsx": "^1.3.10", |
|
|
|
|
"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", |
|
|
|
|
"eslint": "^8.19.0", |
|
|
|
|
"eslint-config-prettier": "^8.5.0", |
|
|
|
|
"eslint-define-config": "^1.5.1", |
|
|
|
|
"eslint-plugin-import": "^2.26.0", |
|
|
|
|
"eslint-plugin-prettier": "^4.2.1", |
|
|
|
|
"eslint-plugin-vue": "^9.1.1", |
|
|
|
|
"husky": "^8.0.1", |
|
|
|
|
"lint-staged": "^13.0.3", |
|
|
|
|
"postcss": "^8.4.14", |
|
|
|
|
"postcss-html": "^1.4.1", |
|
|
|
|
"postcss-scss": "^4.0.4", |
|
|
|
|
"prettier": "^2.7.1", |
|
|
|
|
"pretty-quick": "^3.1.3", |
|
|
|
|
"rimraf": "^3.0.2", |
|
|
|
|
"sass": "1.53.0", |
|
|
|
|
"stylelint": "^14.9.1", |
|
|
|
|
"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-config-recommended": "^8.0.0", |
|
|
|
|
"stylelint-config-standard": "^26.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" |
|
|
|
|
"stylelint-scss": "^4.2.0", |
|
|
|
|
"typescript": "^4.7.4", |
|
|
|
|
"unplugin-auto-import": "^0.9.2", |
|
|
|
|
"unplugin-vue-components": "^0.21.0", |
|
|
|
|
"unplugin-vue-define-options": "^0.6.1", |
|
|
|
|
"vite": "2.9.13", |
|
|
|
|
"vite-plugin-checker": "^0.4.7", |
|
|
|
|
"vite-plugin-windicss": "^1.8.6", |
|
|
|
|
"vue-eslint-parser": "^9.0.3", |
|
|
|
|
"vue-tsc": "^0.38.2", |
|
|
|
|
"windicss": "^3.5.6" |
|
|
|
|
}, |
|
|
|
|
"repository": { |
|
|
|
|
"type": "git", |
|
|
|
@ -104,17 +116,14 @@ |
|
|
|
|
}, |
|
|
|
|
"homepage": "https://github.com/buqiyuan/vite-vue3-lowcode#readme", |
|
|
|
|
"engines": { |
|
|
|
|
"node": "^12 || >=14" |
|
|
|
|
"node": ">=14" |
|
|
|
|
}, |
|
|
|
|
"lint-staged": { |
|
|
|
|
"*.{js,jsx,ts,tsx}": [ |
|
|
|
|
"eslint --fix", |
|
|
|
|
"prettier --write" |
|
|
|
|
], |
|
|
|
|
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [ |
|
|
|
|
"prettier --write--parser json" |
|
|
|
|
], |
|
|
|
|
"package.json": [ |
|
|
|
|
"*.json": [ |
|
|
|
|
"prettier --write" |
|
|
|
|
], |
|
|
|
|
"*.vue": [ |
|
|
|
@ -129,5 +138,6 @@ |
|
|
|
|
"*.md": [ |
|
|
|
|
"prettier --write" |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"packageManager": "^pnpm@6.32.4" |
|
|
|
|
} |
|
|
|
|