Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dvhb/cli
Build tool with zero initial configuration
https://github.com/dvhb/cli
build-tool webpack zero-configuration
Last synced: about 2 months ago
JSON representation
Build tool with zero initial configuration
- Host: GitHub
- URL: https://github.com/dvhb/cli
- Owner: dvhb
- License: mit
- Created: 2018-09-14T06:53:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-30T12:24:23.000Z (over 5 years ago)
- Last Synced: 2024-10-27T05:18:27.684Z (about 2 months ago)
- Topics: build-tool, webpack, zero-configuration
- Language: JavaScript
- Homepage: https://dvhb.github.io/cli
- Size: 3.1 MB
- Stars: 4
- Watchers: 12
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# @dvhb/cli [![Build Status](https://travis-ci.org/dvhb/cli.svg?branch=master)](https://travis-ci.org/dvhb/cli)
Build tool with zero initial configuration
## Features
- Webpack 3
- Babel 7
- Optional static views with pug template engine (for static websites)## Install in existing project
```bash
yarn add @dvhb/cli
```Add scripts to package.json
```bash
"scripts": {
...
"start": "dvhb server",
"build": "dvhb build"
...
}
```See basic starter project for more details [examples/basic](https://github.com/dvhb/cli/tree/master/examples/basic).
## Workflow
- Add code to `src/`.
- Build and watch changes in `src/` with `yarn start`
- Open [localhost:3000](http://localhost:3000)## Requirements
- Node.js v7+ and npm