fix: mock plugin error #171
正在显示
build/script/hackXlsx.ts
deleted
100644 → 0
| { | { | ||
| "name": "vben-admin", | "name": "vben-admin", | ||
| "version": "2.0.0-rc.16", | "version": "2.0.0-rc.15", | ||
| "scripts": { | "scripts": { | ||
| "bootstrap": "yarn install", | "bootstrap": "yarn install", | ||
| "serve": "vite", | "serve": "vite", | ||
| ... | @@ -15,9 +15,7 @@ | ... | @@ -15,9 +15,7 @@ |
| "lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"", | "lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"", | ||
| "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | "lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | ||
| "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | "lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
| "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" | ||
| "hack-esm:xlsx": "esno ./build/script/hackXlsx", | |||
| "postinstall": "npm run hack-esm:xlsx" | |||
| }, | }, | ||
| "dependencies": { | "dependencies": { | ||
| "@iconify/iconify": "^2.0.0-rc.5", | "@iconify/iconify": "^2.0.0-rc.5", | ||
| ... | @@ -98,11 +96,11 @@ | ... | @@ -98,11 +96,11 @@ |
| "stylelint-order": "^4.1.0", | "stylelint-order": "^4.1.0", | ||
| "ts-node": "^9.1.0", | "ts-node": "^9.1.0", | ||
| "typescript": "^4.1.3", | "typescript": "^4.1.3", | ||
| "vite": "^2.0.0-beta.19", | "vite": "^2.0.0-beta.21", | ||
| "vite-plugin-html": "^2.0.0-beta.5", | "vite-plugin-html": "^2.0.0-beta.5", | ||
| "vite-plugin-mock": "^2.0.0-beta.1", | "vite-plugin-mock": "^2.0.0-beta.3", | ||
| "vite-plugin-purge-icons": "^0.5.0", | "vite-plugin-purge-icons": "^0.5.0", | ||
| "vite-plugin-pwa": "^0.3.3", | "vite-plugin-pwa": "^0.3.5", | ||
| "vue-eslint-parser": "^7.3.0", | "vue-eslint-parser": "^7.3.0", | ||
| "yargs": "^16.2.0" | "yargs": "^16.2.0" | ||
| }, | }, | ||
| ... | ... |
请
注册
或者
登录
后发表评论