提交 2a32170a 编写于 作者: fxy060608's avatar fxy060608

feat(cli): add test:h5

上级 16d84e85
......@@ -28,6 +28,7 @@ module.exports = (api, options, rootOptions) => {
'build:quickapp-light': 'cross-env NODE_ENV=production UNI_PLATFORM=quickapp-light vue-cli-service uni-build',
'dev:custom': 'cross-env NODE_ENV=development uniapp-cli custom',
'build:custom': 'cross-env NODE_ENV=production uniapp-cli custom',
'test:h5': 'cross-env UNI_PLATFORM=h5 jest -i',
'test:mp-weixin': 'cross-env UNI_PLATFORM=mp-weixin jest -i',
'test:mp-baidu': 'cross-env UNI_PLATFORM=mp-baidu jest -i'
},
......@@ -48,7 +49,7 @@ module.exports = (api, options, rootOptions) => {
flyio: '^0.6.2',
vuex: '^3.2.0'
},
devDependencies: {
devDependencies: {
'@dcloudio/uni-automator': version,
'@dcloudio/uni-cli-shared': version,
'@dcloudio/uni-migration': version,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册