GithubHelp home page GithubHelp logo

legospro's Introduction

legosPro

命令行模块化构建工具

##legosUtil ###legos数据库信息 schema: legos user: password: port:3306

表: tbl_package tbl_package_history tbl_project

###接口 add get(moduleId)

##devUtil ###源文件 源文件 /export/wxsq/resource/js/legos/<项目名称>/.js

编译后文件(备份用,每个module最多20个版本) /export/wxsq/resource/js/version/<大版本号>/tpl_introduce.<小版本号>.js 大版本号:201710 小版本号:201710121445

###入口文件

###接口 add

##moduleLoader ###分析模块依赖 ###loader 调用legosUtil接口将module src拉到本地,修改require路径 ###接口 获取依赖

loader

##pack ###html模板处理: tpl_<moduleName>.html ###vue模板处理: vue_<moduleName>.html

###pack 同时支持es5 和 es6

##eosUtil 因为发布接口有来源ip白名单,所以统一调用PPMS的发布服务

##接口 toGamma

toIdc

##commander

##log

##参考文档 https://github.com/felixge/node-mysql

https://github.com/nomiddlename/log4js-node

https://github.com/seajs/seajs

https://github.com/tj/commander.js

https://github.com/o2team/athena

legospro's People

Contributors

shipxing avatar boatxing avatar

Watchers

James Cloos avatar BingoLee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.