atm-node

2.0.8 • Public • Published

atm-node

atm-node

安装

npm install atm-node --save

使用

var atmNode = require('atm-node');
 
app.use(atmNode({
    debugParam: 'debug',
    getDomain: function(destName){
        // 返回任务名对应的domain
        return 'http://127.0.0.1:3333/local';
    },
    assetsPath: '',                         // 资源存放路径
    devPath: '',                            // 开发目录路径
    getBuildCommand: function(destName){
        return 'atm realse -'+ (destName === 'local'? 'pDd ': 'opmDd ')+destName+'';
    },
    coreName: 'core',                       // 核心模块名称
    baseName: 'base'                        // 基础模块名称
}) );

Readme

Keywords

Package Sidebar

Install

npm i atm-node

Weekly Downloads

1

Version

2.0.8

License

ISC

Last publish

Collaborators

  • vaseala.com