:sunrise: Dawn is a lightweight task management and build tool for front-end and nodejs.
npm i @dawnjs/cli -g
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 install @dawnjs/cli -g
# 1. Create & Initialize
$ dn init -t front
# 2. Development & Real-time compilation
$ dn dev
# 3. Lint & Test
$ dn test
# 4. Build & pack
$ dn build
# Development & Real-time compilation
dev:
- name: '@dawnjs/dn-middleware-webpack'
env: development
entry: ./src/*.js
template: ./assets/*.html
serverOpts:
port: 8001
# Build & pack
buid:
- name: '@dawnjs/dn-middleware-webpack'
env: production
entry: ./src/*.js
template: ./assets/*.html