Neocon Propaganda Machine

    atm0-node

    0.0.1 • 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'                        // 基础模块名称
    }) );

    Keywords

    none

    Install

    npm i atm0-node

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    ISC

    Last publish

    Collaborators

    • vaseala.com