0.7.0 • Published 8 years ago

shipit-cnpm v0.7.0

Weekly downloads
17
License
MIT
Repository
github
Last release
8 years ago

shipit-cnpm

cnpm tasks for Shipit

support flags

Usage

var cnpm = require('shipit-cnpm');
var deploy = require('shipit-deploy');
module.exports = function(shipit) {
  deploy(shipit);
  cnpm(shipit);
  shipit.initConfig({
    default: {
      workspace: '/tmp/deploy/cnpm-test',
      deployTo: '/home/work/cnpm-test',
      repositoryUrl: 'https://xx.git',
      ignores: ['.git'],
      keepReleases: 2,
      deleteOnRollback: false,
      shallowClone: true,
      cnpm: {
        flags: '--production'
      }
    },
    production: {
      servers: ['work@10.x.x.x']
    },
    dev: {
      servers: ['work@10.x.x.x']
    }
  });
}
0.7.0

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago