提交 81cf4413 作者: vben

chore: npm script adjustment

上级 48fcd768
...@@ -29,12 +29,11 @@ ...@@ -29,12 +29,11 @@
"test:gzip": "http-server dist --cors --gzip -c-1", "test:gzip": "http-server dist --cors --gzip -c-1",
"test:br": "http-server dist --cors --brotli -c-1", "test:br": "http-server dist --cors --brotli -c-1",
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
"install:husky": "is-ci || husky install", "prepare": "husky install",
"gen:icon": "esno ./build/generate/icon/index.ts", "gen:icon": "esno ./build/generate/icon/index.ts"
"postinstall": "npm run install:husky"
}, },
"dependencies": { "dependencies": {
"@iconify/iconify": "^2.0.2", "@iconify/iconify": "^2.0.3",
"@logicflow/core": "^0.5.0", "@logicflow/core": "^0.5.0",
"@logicflow/extension": "^0.5.0", "@logicflow/extension": "^0.5.0",
"@vueuse/core": "^5.0.3", "@vueuse/core": "^5.0.3",
...@@ -57,7 +56,7 @@ ...@@ -57,7 +56,7 @@
"sortablejs": "^1.13.0", "sortablejs": "^1.13.0",
"tinymce": "^5.8.2", "tinymce": "^5.8.2",
"vditor": "^3.8.5", "vditor": "^3.8.5",
"vue": "3.1.2", "vue": "3.1.4",
"vue-i18n": "9.1.6", "vue-i18n": "9.1.6",
"vue-json-pretty": "^2.0.2", "vue-json-pretty": "^2.0.2",
"vue-router": "^4.0.10", "vue-router": "^4.0.10",
...@@ -67,7 +66,7 @@ ...@@ -67,7 +66,7 @@
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^12.1.4", "@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4", "@commitlint/config-conventional": "^12.1.4",
"@iconify/json": "^1.1.364", "@iconify/json": "^1.1.369",
"@purge-icons/generated": "^0.7.0", "@purge-icons/generated": "^0.7.0",
"@types/codemirror": "^5.60.1", "@types/codemirror": "^5.60.1",
"@types/crypto-js": "^4.0.1", "@types/crypto-js": "^4.0.1",
...@@ -77,7 +76,7 @@ ...@@ -77,7 +76,7 @@
"@types/jest": "^26.0.23", "@types/jest": "^26.0.23",
"@types/lodash-es": "^4.17.4", "@types/lodash-es": "^4.17.4",
"@types/mockjs": "^1.0.3", "@types/mockjs": "^1.0.3",
"@types/node": "^15.12.5", "@types/node": "^16.0.0",
"@types/nprogress": "^0.2.0", "@types/nprogress": "^0.2.0",
"@types/qrcode": "^1.4.0", "@types/qrcode": "^1.4.0",
"@types/qs": "^6.9.6", "@types/qs": "^6.9.6",
...@@ -87,7 +86,7 @@ ...@@ -87,7 +86,7 @@
"@vitejs/plugin-legacy": "^1.4.3", "@vitejs/plugin-legacy": "^1.4.3",
"@vitejs/plugin-vue": "^1.2.4", "@vitejs/plugin-vue": "^1.2.4",
"@vitejs/plugin-vue-jsx": "^1.1.6", "@vitejs/plugin-vue-jsx": "^1.1.6",
"@vue/compiler-sfc": "3.1.2", "@vue/compiler-sfc": "3.1.4",
"@vue/test-utils": "^2.0.0-rc.9", "@vue/test-utils": "^2.0.0-rc.9",
"autoprefixer": "^10.2.6", "autoprefixer": "^10.2.6",
"commitizen": "^4.2.4", "commitizen": "^4.2.4",
...@@ -103,7 +102,7 @@ ...@@ -103,7 +102,7 @@
"esno": "^0.7.3", "esno": "^0.7.3",
"fs-extra": "^10.0.0", "fs-extra": "^10.0.0",
"http-server": "^0.12.3", "http-server": "^0.12.3",
"husky": "^6.0.0", "husky": "^7.0.0",
"inquirer": "^8.1.1", "inquirer": "^8.1.1",
"is-ci": "^3.0.0", "is-ci": "^3.0.0",
"jest": "^27.0.6", "jest": "^27.0.6",
...@@ -122,8 +121,8 @@ ...@@ -122,8 +121,8 @@
"tailwindcss": "^2.2.4", "tailwindcss": "^2.2.4",
"ts-jest": "^27.0.3", "ts-jest": "^27.0.3",
"ts-node": "^10.0.0", "ts-node": "^10.0.0",
"typescript": "4.3.4", "typescript": "4.3.5",
"vite": "2.4.0-beta.2", "vite": "2.4.0-beta.3",
"vite-plugin-compression": "^0.2.5", "vite-plugin-compression": "^0.2.5",
"vite-plugin-html": "^2.0.7", "vite-plugin-html": "^2.0.7",
"vite-plugin-imagemin": "^0.3.2", "vite-plugin-imagemin": "^0.3.2",
...@@ -133,13 +132,13 @@ ...@@ -133,13 +132,13 @@
"vite-plugin-style-import": "^1.0.1", "vite-plugin-style-import": "^1.0.1",
"vite-plugin-svg-icons": "^1.0.0", "vite-plugin-svg-icons": "^1.0.0",
"vite-plugin-theme": "^0.8.1", "vite-plugin-theme": "^0.8.1",
"vue-eslint-parser": "^7.6.0", "vue-eslint-parser": "^7.7.2",
"vue-tsc": "^0.2.0" "vue-tsc": "^0.2.0"
}, },
"resolutions": { "resolutions": {
"//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it", "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
"bin-wrapper": "npm:bin-wrapper-china", "bin-wrapper": "npm:bin-wrapper-china",
"rollup": "^2.52.3" "rollup": "^2.52.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论