dart-lang/webdev

Name: webdev

Owner: Dart

Description: A CLI for Dart web development.

Created: 2017-12-20 19:55:49.0

Updated: 2018-05-23 23:35:29.0

Pushed: 2018-05-23 23:35:27.0

Homepage: https://pub.dartlang.org/packages/webdev

Size: 83

Language: Dart

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status

A CLI for Dart web development.

Note: Under heavy development.

See the Dart 2 Web Migration Guide for more information.

Installation
b global activate webdev
Usage

webdev provides two commands: serve and build.

webdev serve
bdev help serve
a local web development server and a file system watcher that re-builds on changes.

e: webdev serve [arguments] [<directory>[:<port>]]...
--help                        Print this usage information.
--[no-]release                Build with release mode defaults for builders.
--output                      A directory to write the result of a build to. Or a mapping from a top-level directory in the package to the directory to write a filtered build output to. For example "web:deploy".
                              A value of "NONE" indicates that no "--output" value should be passed to `build_runner`.
                              (defaults to "NONE")

--verbose                     Enables verbose logging.
--[no-]build-web-compilers    If a dependency on `build_web_compilers` is required to run.
                              (defaults to on)

--hostname                    Specify the hostname to serve on
                              (defaults to "localhost")

--log-requests                Enables logging for each request to the server.

"webdev help" to see global options.
webdev build
bdev help build
builders to build a package.

e: webdev build [arguments]
--help                        Print this usage information.
--[no-]release                Build with release mode defaults for builders.
                              (defaults to on)

--output                      A directory to write the result of a build to. Or a mapping from a top-level directory in the package to the directory to write a filtered build output to. For example "web:deploy".
                              A value of "NONE" indicates that no "--output" value should be passed to `build_runner`.
                              (defaults to "web:build")

--verbose                     Enables verbose logging.
--[no-]build-web-compilers    If a dependency on `build_web_compilers` is required to run.
                              (defaults to on)

"webdev help" to see global options.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.