mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-12 15:39:46 +08:00
chore: update configs for cli
This commit is contained in:
parent
344c40c3d1
commit
2892fe1c05
@ -17,11 +17,12 @@
|
|||||||
"dev": "vant-cli dev",
|
"dev": "vant-cli dev",
|
||||||
"lint": "vant-cli lint",
|
"lint": "vant-cli lint",
|
||||||
"test": "vant-cli test",
|
"test": "vant-cli test",
|
||||||
"test:watch": "vant-cli test --watch",
|
"build": "vant-cli build",
|
||||||
"test:coverage": "open test/coverage/index.html",
|
|
||||||
"changelog": "vant-cli changelog ./docs/changelog.generated.md",
|
|
||||||
"release": "vant-cli release",
|
"release": "vant-cli release",
|
||||||
"release:site": "sh build/release-site.sh"
|
"test:watch": "vant-cli test --watch",
|
||||||
|
"release:site": "sh build/release-site.sh",
|
||||||
|
"test:coverage": "open test/coverage/index.html",
|
||||||
|
"changelog": "vant-cli changelog ./docs/changelog.generated.md"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
@ -8,10 +8,3 @@
|
|||||||
@import './clearfix';
|
@import './clearfix';
|
||||||
@import './hairline';
|
@import './hairline';
|
||||||
@import './animation';
|
@import './animation';
|
||||||
@import '../info/index';
|
|
||||||
@import '../icon/index';
|
|
||||||
@import '../loading/index';
|
|
||||||
@import '../button/index';
|
|
||||||
@import '../cell/index';
|
|
||||||
@import '../cell-group/index';
|
|
||||||
@import '../overlay/index';
|
|
||||||
|
@ -21,7 +21,8 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
site: {
|
site: {
|
||||||
i18n: true,
|
defaultLang: 'en-US',
|
||||||
|
locales: {
|
||||||
'zh-CN': {
|
'zh-CN': {
|
||||||
...sharedSiteConfig,
|
...sharedSiteConfig,
|
||||||
description: '轻量、可靠的移动端 Vue 组件库',
|
description: '轻量、可靠的移动端 Vue 组件库',
|
||||||
@ -665,4 +666,5 @@ module.exports = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user