houfeng

阿里云前端工程化工具 Dawn 正式开源啦

  •  
  •   houfeng · Sep 4, 2017 · 2905 views
    This topic created in 3194 days ago, the information mentioned may be changed or developed.

    Banner

    Dawn

    Dawn 取「黎明、破晓」之意,原为「阿里云·业务运营团队」内部的前端构建和工程化工具,现已完全开源。它通过 pipeline 和 middleware 将开发过程抽象为相对固定的阶段和有限的操作,简化并统一了开发人员的日常构建与开发相关的工作。

    npm NPM Version Build Status Coverage Status npm

    项目地址:https://github.com/alibaba/dawn (感兴趣请赏个 Star )

    特点

    • 采用中间件技术,封装常用功能,易于扩展,方便重用
    • 支持 pipeline 让多个 task 协同完成构建任务
    • 简单、一致的命令行接口,易于开发人员使用
    • 支持基于「中心服务」管理中件间和工程模板
    • 支持搭建私有中心服务,并统一下发构建规则,易于团队统一管理

    安装

    $ npm install dawn -g
    

    使用

    # 1. 创建 & 初始化
    $ dn init -t front
    
    # 2. 开发 & 实时编译
    $ dn dev
    
    # 3. 语法检查 & 测试
    $ dn test
    
    # 4. 构建 & 打包
    $ dn build
    

    文档

    -- end --

    5 replies    2017-09-07 09:53:46 +08:00
    Loyalsoldier
        1
    Loyalsoldier  
       Sep 4, 2017
    挽尊?
    houfeng
        2
    houfeng  
    OP
       Sep 4, 2017
    @Loyalsoldier 没懂,啥意思?
    anyele
        3
    anyele  
       Sep 5, 2017 via iPhone
    不敢用,等段时间又是没人维护了
    anyele
        4
    anyele  
       Sep 5, 2017 via iPhone
    国内大厂开源的东西大部分都是有娘生没娘养的项目
    houfeng
        5
    houfeng  
    OP
       Sep 7, 2017
    @anyele 可以用,不是迷信大厂,我及其他贡献者都会维护并持续改进它。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3332 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 11:59 · PVG 19:59 · LAX 04:59 · JFK 07:59
    ♥ Do have faith in what you're doing.