{"id":13671712,"url":"https://github.com/alibaba/dawn","last_synced_at":"2025-05-15T07:06:07.755Z","repository":{"id":24532821,"uuid":"101748294","full_name":"alibaba/dawn","owner":"alibaba","description":":sunrise: Dawn is a lightweight task management and build tool for front-end and nodejs. ","archived":false,"fork":false,"pushed_at":"2023-03-06T16:40:38.000Z","size":18269,"stargazers_count":1139,"open_issues_count":29,"forks_count":129,"subscribers_count":48,"default_branch":"main","last_synced_at":"2025-05-08T21:02:53.788Z","etag":null,"topics":["build","build-tool","construction","dawn","dawn-cli","front-end","javascript","middleware","nodejs","pack","pipeline","task"],"latest_commit_sha":null,"homepage":"https://alibaba.github.io/dawn/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alibaba.png","metadata":{"files":{"readme":"README-intl.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-29T10:16:28.000Z","updated_at":"2025-04-23T03:29:06.000Z","dependencies_parsed_at":"2024-01-13T17:59:06.537Z","dependency_job_id":"c87919da-2d30-4546-baa5-50d1a388997d","html_url":"https://github.com/alibaba/dawn","commit_stats":{"total_commits":600,"total_committers":22,"mean_commits":"27.272727272727273","dds":"0.44499999999999995","last_synced_commit":"0dd18d10e13069d1eb431edd6e6c2d632639bf4d"},"previous_names":[],"tags_count":180,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fdawn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fdawn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fdawn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fdawn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alibaba","download_url":"https://codeload.github.com/alibaba/dawn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254292042,"owners_count":22046426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","build-tool","construction","dawn","dawn-cli","front-end","javascript","middleware","nodejs","pack","pipeline","task"],"created_at":"2024-08-02T09:01:16.952Z","updated_at":"2025-05-15T07:06:02.723Z","avatar_url":"https://github.com/alibaba.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://img.alicdn.com/tfs/TB1OjR6HQL0gK0jSZFAXXcA9pXa-1360-1360.png\" alt=\"Dawn\" width=\"200\"\u003e\n  \u003cbr\u003eDawn\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eLightweight task management and build tool.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/alibaba/dawn/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/@dawnjs/cli.svg\" alt=\"LICENSE\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@dawnjs/cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@dawnjs/cli.svg\" alt=\"npm version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/alibaba/dawn/actions/workflows/main.yml\"\u003e\n    \u003cimg src=\"https://github.com/alibaba/dawn/actions/workflows/main.yml/badge.svg\" alt=\"CI\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@dawnjs/cli\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dt/@dawnjs/cli.svg\" alt=\"npm downloads\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cpre align=\"center\"\u003enpm i \u003ca href=\"https://www.npmjs.com/package/@dawnjs/cli\"\u003e@dawnjs/cli\u003c/a\u003e -g\u003c/pre\u003e\n\n[中文 README](README.md)\n\nDawn 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.\n\n## Features\n\n- Support middleware, easy to extend, and easy to reuse.\n- Support pipeline, multiple subtasks collaborate to complete the build task.\n- Simple and consistent command line interfaces that are easy for developers to use.\n- Manage middleware and engineering templates based on central services.\n- Support 'private central service', distribution rules, and easy team management.\n\n## Install\n\n```sh\n$ npm install @dawnjs/cli -g\n```\n\n## Use\n\n```sh\n# 1. Create \u0026 Initialize\n$ dn init -t front\n\n# 2. Development \u0026 Real-time compilation\n$ dn dev\n\n# 3. Lint \u0026 Test\n$ dn test\n\n# 4. Build \u0026 pack\n$ dn build\n```\n\n## Example（.dawn.yml or .dawn folder）\n\n```yml\n# Development \u0026 Real-time compilation\ndev:\n  - name: '@dawnjs/dn-middleware-webpack'\n    env: development\n    entry: ./src/*.js\n    template: ./assets/*.html\n    serverOpts:\n      port: 8001\n\n# Build \u0026 pack\nbuid:\n  - name: '@dawnjs/dn-middleware-webpack'\n    env: production\n    entry: ./src/*.js\n    template: ./assets/*.html\n```\n\n## Documents\n\n- Getting Started: [getting-started.md](https://alibaba.github.io/dawn/docs/#!/zh/guide/getting-started)\n- Pipeline: [pipeline.md](https://alibaba.github.io/dawn/docs/#!/zh/guide/pipeline)\n- Middleware: [middleware.md](https://alibaba.github.io/dawn/docs/#!/zh/guide/middleware)\n- More docs: [https://alibaba.github.io/dawn/docs/](https://alibaba.github.io/dawn/docs/)\n\n## Others\n\n- [Contributing](CONTRIBUTING.md)\n- [Changelog](CHANGELOG.md)\n- [MIT](https://tldrlegal.com/license/mit-license)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fdawn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falibaba%2Fdawn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fdawn/lists"}