Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://alibaba.github.io/dawn/
:sunrise: Dawn is a lightweight task management and build tool for front-end and nodejs.
https://alibaba.github.io/dawn/
build build-tool construction dawn dawn-cli front-end javascript middleware nodejs pack pipeline task
Last synced: 1 day ago
JSON representation
:sunrise: Dawn is a lightweight task management and build tool for front-end and nodejs.
- Host: GitHub
- URL: https://alibaba.github.io/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-28T07:02:33.277Z (7 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,141
- 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-Repo - dawn - 前端构建和工程化工具,简化并统一了开发人员的日常构建与开发相关的工作。[<img src="https://tva1.sinaimg.cn/large/008i3skNly1gxlhtmg11mj305k05k746.jpg" alt="微信" width="18px" height="18px" />](https://mp.weixin.qq.com/s?__biz=MzUxNjg4NDEzNA%3D%3D&chksm=f9a22984ced5a092b79362bb18932e8895ed01dba198513522bf50bec33c1458dd29805bd4da&idx=1&mid=2247498317&scene=21&sn=8d67a6067e8a30d2bc6548c3756621ad#wechat_redirect) (大厂开源 / 阿里开源)
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)