mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 08:57:19 +08:00
chore: use yarn replace npm
This commit is contained in:
parent
1ffe435f69
commit
aab808d9dd
@ -53,20 +53,20 @@ git clone https://github.com.cnpmjs.org/xiaoxian521/vue-pure-admin.git
|
|||||||
```bash
|
```bash
|
||||||
cd vue-pure-admin
|
cd vue-pure-admin
|
||||||
|
|
||||||
npm install
|
yarn install
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- run
|
- run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run serve
|
yarn serve
|
||||||
```
|
```
|
||||||
|
|
||||||
- build
|
- build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Change Log
|
## Change Log
|
||||||
|
@ -53,20 +53,20 @@ git clone https://github.com.cnpmjs.org/xiaoxian521/vue-pure-admin.git
|
|||||||
```bash
|
```bash
|
||||||
cd vue-pure-admin
|
cd vue-pure-admin
|
||||||
|
|
||||||
npm install
|
yarn install
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- 运行
|
- 运行
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run serve
|
yarn serve
|
||||||
```
|
```
|
||||||
|
|
||||||
- 打包
|
- 打包
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
15420
package-lock.json
generated
15420
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@ -4,16 +4,17 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "cross-env --max_old_space_size=4096 vite",
|
"dev": "cross-env --max_old_space_size=4096 vite",
|
||||||
"serve": "cross-env --max_old_space_size=4096 vite",
|
"serve": "yarn dev",
|
||||||
"build": "rimraf dist && cross-env vite build",
|
"build": "rimraf dist && cross-env vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"preview:build": "npm run build && vite preview",
|
"preview:build": "yarn build && vite preview",
|
||||||
|
"clean:cache": "rm -rf node_modules && yarn cache clean && yarn install",
|
||||||
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
"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:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
||||||
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/",
|
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/",
|
||||||
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
||||||
"lint:pretty": "pretty-quick --staged",
|
"lint:pretty": "pretty-quick --staged",
|
||||||
"lint:all": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint && npm run lint:pretty",
|
"lint:all": "yarn lint:eslint && yarn lint:prettier && yarn lint:stylelint && yarn lint:pretty",
|
||||||
"prepare": "husky install"
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -94,5 +95,8 @@
|
|||||||
"vite-plugin-style-import": "^1.2.1",
|
"vite-plugin-style-import": "^1.2.1",
|
||||||
"vite-svg-loader": "^2.2.0",
|
"vite-svg-loader": "^2.2.0",
|
||||||
"vue-eslint-parser": "^7.10.0"
|
"vue-eslint-parser": "^7.10.0"
|
||||||
}
|
},
|
||||||
|
"repository": "git@github.com:xiaoxian521/vue-pure-admin.git",
|
||||||
|
"author": "xiaoxian521",
|
||||||
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user