scrat-deploy-compress

0.1.1 • Public • Published

scrat-deploy-compress

说明

提供打包功能, scrat release -d zip

使用方法

fis.config.merge({
  modules: {
    deploy: ['compress']
  },
  settings: {
    deploy: {
      compress: {
        zip: {
          //不配置该项, 则默认为 ../dist/{name}_v{version}_{timestamp}.zip
          file: '../dist/test.zip'
        },
        remote: {
          url: '',
          uploadField: 'files[]',
          formData: {
          },
          auth: {
            username: '',
            password: ''
         }
      }
    }
  }
});

Readme

Keywords

Package Sidebar

Install

npm i scrat-deploy-compress

Weekly Downloads

3

Version

0.1.1

License

MIT

Last publish

Collaborators

  • atian25