@jswork/mina-deploy
v1.0.9
Published
Miniprogram deploy.
Downloads
16
Maintainers
Readme
mina-deploy
Miniprogram deploy.
installation
yarn add @jswork/mina-deploy miniprogram-ci --dev
usage
const minaDeploy = require('@jswork/mina-deploy');
const pkg = require('./package.json');
const arguments = process.argv.splice(2);
const robot = parseInt(arguments[0]);
// 1: 正式版 2: 开发版
void minaDeploy({
appid: 'wx_ID',
projectPath: './dist/build/mp-weixin',
robot,
version: pkg.gtcVersion
});
license
Code released under the MIT license.