Skip to content
/ dawn Public
forked from alibaba/dawn

🌅 Dawn is a lightweight task management and build tool for front-end and nodejs.

License

Notifications You must be signed in to change notification settings

AlexxNica/dawn

 
 

Repository files navigation

Banner

Dawn

Dawn is a lightweight task management and build tool for front-end and nodejs. It abstracts the development process into relatively fixed phases and limited operations through pipeline and middleware, simplifying and unifying the work related to the construction and development of developers.

npm NPM Version Build Status Coverage Status npm

Features

  • Support middleware, easy to extend, and easy to reuse.
  • Support pipeline, multiple subtasks collaborate to complete the build task.
  • Simple and consistent command line interfaces that are easy for developers to use.
  • Manage middleware and engineering templates based on central services.
  • Support 'private central service', distribution rules, and easy team management.

Install

$ npm install dawn -g

Use

# 1. Create & Initialize
$ dn init -t front

# 2. Development & Real-time compilation
$ dn dev

# 3. Lint & Test
$ dn test

# 4. Build & pack
$ dn build

Example(.dawn.yml or .dawn folder)

# Development & Real-time compilation
dev:
  - name: webpack
    entry: ./src/*.js
    template: ./assets/*.html
    watch: true
  - name: server
    port: 8001
    
# Build & pack
buid:
  - name: webpack
    entry: ./src/*.js
    template: ./assets/*.html

Documents

Others

About

🌅 Dawn is a lightweight task management and build tool for front-end and nodejs.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 1.5%
  • CSS 1.3%
  • Other 0.5%