1.1.0 • Published 9 years ago

anpmbot v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

anpmbot

auto npm install/update by package.json

###INSTALL

   npm install anpmbot

###OPTIONS

packageJson

package.json的路径,相对于process.cwd()

moduleUpdateOnlyLimit

update时,仅检查moduleUpdateOnlyLimit中的模块,为空或者不设置,则视为所有模块

version x.x.x

可设置版本号,只有本次版本号比上次更新时的版本号高时,才进行更新

package

设置是否检查对应类型的模块

package: {
   devDependencies: boolean,
   dependencies: boolean, 
}

###USAGE

    var anpmbot = require(anpmbot);
    anpmbot.config({
        packageJson: './package.json',
        moduleUpdateOnlyLimit: ['compscaf'],
        packages: {
            devDependencies: true,
            dependencies: true,
        },
        version: '0.0.1'
    });
    anpmbot.run();

###SAMPLE

    #run sample
    npm test
1.1.0

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago