Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alibaba/dawn
:sunrise: Dawn is a lightweight task management and build tool for front-end and nodejs.
https://github.com/alibaba/dawn
build build-tool construction dawn dawn-cli front-end javascript middleware nodejs pack pipeline task
Last synced: 19 days ago
JSON representation
:sunrise: Dawn is a lightweight task management and build tool for front-end and nodejs.
- Host: GitHub
- URL: https://github.com/alibaba/dawn
- Owner: alibaba
- License: mit
- Created: 2017-08-29T10:16:28.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T16:40:38.000Z (over 1 year ago)
- Last Synced: 2024-10-09T08:14:02.851Z (26 days ago)
- Topics: build, build-tool, construction, dawn, dawn-cli, front-end, javascript, middleware, nodejs, pack, pipeline, task
- Language: JavaScript
- Homepage: https://alibaba.github.io/dawn/
- Size: 17.4 MB
- Stars: 1,140
- Watchers: 50
- Forks: 130
- Open Issues: 29
-
Metadata Files:
- Readme: README-intl.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-github-star - dawn - end and nodejs. | alibaba | 1143 | (JavaScript)
README
Dawn
Lightweight task management and build tool.
npm i @dawnjs/cli -g[中文 README](README.md)
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.
## 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
```sh
$ npm install @dawnjs/cli -g
```## Use
```sh
# 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)
```yml
# 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
```## Documents
- Getting Started: [getting-started.md](https://alibaba.github.io/dawn/docs/#!/zh/guide/getting-started)
- Pipeline: [pipeline.md](https://alibaba.github.io/dawn/docs/#!/zh/guide/pipeline)
- Middleware: [middleware.md](https://alibaba.github.io/dawn/docs/#!/zh/guide/middleware)
- More docs: [https://alibaba.github.io/dawn/docs/](https://alibaba.github.io/dawn/docs/)## Others
- [Contributing](CONTRIBUTING.md)
- [Changelog](CHANGELOG.md)
- [MIT](https://tldrlegal.com/license/mit-license)