mirror of https://github.com/halo-dev/halo-admin
parent
c5833cd144
commit
e33ca651cb
|
@ -1,2 +1,2 @@
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.4.7/dist/
|
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.4.8/dist/
|
|
@ -0,0 +1 @@
|
||||||
|
_
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npm run lint
|
||||||
|
|
||||||
|
git add
|
|
@ -35,7 +35,7 @@ git clone https://github.com/halo-dev/halo-admin
|
||||||
2、检出最新版本:
|
2、检出最新版本:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git checkout v1.4.7
|
git checkout v1.4.8
|
||||||
```
|
```
|
||||||
|
|
||||||
3、打包构建:
|
3、打包构建:
|
||||||
|
|
|
@ -4,7 +4,7 @@ module.exports = {
|
||||||
[
|
[
|
||||||
'@babel/preset-env',
|
'@babel/preset-env',
|
||||||
{
|
{
|
||||||
'useBuiltIns': 'entry'
|
useBuiltIns: 'entry'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "halo-admin",
|
"name": "halo-admin",
|
||||||
"version": "1.4.7",
|
"version": "1.4.8",
|
||||||
"author": "halo-dev",
|
"author": "halo-dev",
|
||||||
"description": "Halo admin client.",
|
"description": "Halo admin client.",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -13,6 +13,7 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/halo-dev/halo-admin#readme",
|
"homepage": "https://github.com/halo-dev/halo-admin#readme",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"prepare": "husky install",
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"build:jsdelivr": "vue-cli-service build --mode jsdelivr",
|
"build:jsdelivr": "vue-cli-service build --mode jsdelivr",
|
||||||
|
@ -62,20 +63,12 @@
|
||||||
"eslint-plugin-html": "^6.1.2",
|
"eslint-plugin-html": "^6.1.2",
|
||||||
"eslint-plugin-prettier": "^3.3.1",
|
"eslint-plugin-prettier": "^3.3.1",
|
||||||
"eslint-plugin-vue": "^6.2.2",
|
"eslint-plugin-vue": "^6.2.2",
|
||||||
|
"husky": "^6.0.0",
|
||||||
"less": "^3.13.1",
|
"less": "^3.13.1",
|
||||||
"less-loader": "^5.0.0",
|
"less-loader": "^5.0.0",
|
||||||
"lint-staged": "^10.5.4",
|
"lint-staged": "^10.5.4",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1",
|
||||||
"tailwindcss": "^1.9.6",
|
"tailwindcss": "^1.9.6",
|
||||||
"vue-template-compiler": "^2.6.12"
|
"vue-template-compiler": "^2.6.12"
|
||||||
},
|
|
||||||
"gitHooks": {
|
|
||||||
"pre-commit": "lint-staged"
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"*.{js,jsx,vue}": [
|
|
||||||
"vue-cli-service lint",
|
|
||||||
"git add"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||||
<meta name="robots" content="noindex,nofllow" />
|
<meta name="robots" content="noindex,nofllow" />
|
||||||
<meta name="generator" content="Halo 1.4.7" />
|
<meta name="generator" content="Halo 1.4.8" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<title>Halo Dashboard</title>
|
<title>Halo Dashboard</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in New Issue