GithubHelp home page GithubHelp logo

doraemon's Introduction

Doraemon

A CMD Module Build Tools(CMBT)

screenshot

主要功能

  • 自动包装define函数
  • 自动分析依赖,解析重写依赖列表
  • 自动混淆压缩
  • 自动包装tpl模版

构建对象

适用于以node模块书写方式写的seajs模块的构建

如何使用

  • 下载源码
  • bower install & npm install & grunt
  • 利用 nw-app-builder 生成可执行文件
  • 运行生成的可执行文件

写一个模块

  • 可利用 quickjs 生成模块基本框架
  • 编写模块实现内容
  • 利用doraemon编译

quickjs安装方法

  • 使用淘宝镜像安装 了解更多? npm install -g cnpm --registry=https://r.cnpmjs.org
  • 安装quickjs cnpm install -g quickjs
  • 检查是否安装成功 quick -v 若安装成功则出现版本号
  • 生成seajs模块
    • 新建一个目录并进入 mkdir test && cd test
    • 运行 quick init 安装提示进行输入,直到成功
  • 构建seajs模块 运行doraemon,指定模块所在的父级文件夹为待构建目录,并选择一个输出目录,配置好idleading点击构建按钮进行构建,构建过程会通过日志打印到屏幕!

TODO

读取项目配置,载入输入,输出,id等配置

doraemon's People

Contributors

dreamstu avatar

Watchers

 avatar  avatar  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.