feat: added brotli|gzip compression and related test commands
正在显示
build/vite/plugin/compress.ts
0 → 100644
build/vite/plugin/gzip.ts
deleted
100644 → 0
| ... | ... | @@ -19,6 +19,8 @@ |
| "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
| "lint:ls-lint": "ls-lint", | ||
| "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", | ||
| "test:gzip": "http-server dist --cors --gzip -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", | ||
| "postinstall": "is-ci || husky install" | ||
| }, | ||
| ... | ... | @@ -53,7 +55,7 @@ |
| "@ls-lint/ls-lint": "^1.9.2", | ||
| "@purge-icons/generated": "^0.6.0", | ||
| "@types/echarts": "^4.9.3", | ||
| "@types/fs-extra": "^9.0.6", | ||
| "@types/fs-extra": "^9.0.7", | ||
| "@types/http-proxy": "^1.17.5", | ||
| "@types/koa-static": "^4.0.1", | ||
| "@types/lodash-es": "^4.17.4", | ||
| ... | ... | @@ -66,9 +68,9 @@ |
| "@types/zxcvbn": "^4.4.0", | ||
| "@typescript-eslint/eslint-plugin": "^4.15.0", | ||
| "@typescript-eslint/parser": "^4.15.0", | ||
| "@vitejs/plugin-legacy": "^1.2.3", | ||
| "@vitejs/plugin-legacy": "^1.3.0", | ||
| "@vitejs/plugin-vue": "^1.1.4", | ||
| "@vitejs/plugin-vue-jsx": "^1.0.3", | ||
| "@vitejs/plugin-vue-jsx": "^1.1.0", | ||
| "@vue/compiler-sfc": "^3.0.5", | ||
| "@vuedx/typecheck": "^0.6.3", | ||
| "@vuedx/typescript-plugin-vue": "^0.6.3", | ||
| ... | ... | @@ -83,28 +85,29 @@ |
| "eslint-plugin-vue": "^7.5.0", | ||
| "esno": "^0.4.3", | ||
| "fs-extra": "^9.1.0", | ||
| "http-server": "^0.12.3", | ||
| "husky": "^5.0.9", | ||
| "is-ci": "^2.0.0", | ||
| "less": "^4.1.1", | ||
| "lint-staged": "^10.5.4", | ||
| "prettier": "^2.2.1", | ||
| "rimraf": "^3.0.2", | ||
| "rollup-plugin-gzip": "^2.5.0", | ||
| "rollup-plugin-visualizer": "^4.2.0", | ||
| "stylelint": "^13.9.0", | ||
| "stylelint": "^13.10.0", | ||
| "stylelint-config-prettier": "^8.0.2", | ||
| "stylelint-config-standard": "^20.0.0", | ||
| "stylelint-order": "^4.1.0", | ||
| "ts-node": "^9.1.1", | ||
| "typescript": "^4.1.3", | ||
| "vite": "2.0.0-beta.66", | ||
| "typescript": "^4.1.5", | ||
| "vite": "2.0.0-beta.69", | ||
| "vite-plugin-compression": "^0.2.1", | ||
| "vite-plugin-html": "^2.0.0", | ||
| "vite-plugin-imagemin": "^0.2.5", | ||
| "vite-plugin-imagemin": "^0.2.6", | ||
| "vite-plugin-mock": "^2.1.4", | ||
| "vite-plugin-purge-icons": "^0.6.0", | ||
| "vite-plugin-pwa": "^0.4.6", | ||
| "vite-plugin-style-import": "^0.7.2", | ||
| "vite-plugin-theme": "^0.4.2", | ||
| "vite-plugin-theme": "^0.4.3", | ||
| "vue-eslint-parser": "^7.4.1", | ||
| "yargs": "^16.2.0" | ||
| }, | ||
| ... | ... |
请
注册
或者
登录
后发表评论