preact-roller
Build Preact projects with Rollup, Bublé and PostCSS, instantly.
Last updated 2 years ago by renemonroy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install preact-roller 
SYNC missed versions from official npm registry.

preact-roller

npm npm

Overview

A set of scripts and configurations to run Preact projects.

Preact Roller is highly inspired on react-scripts.

Requirements

Preact Roller requires at least Node 6 but an 8 version is highly recommended.

Installation

Use it with preact-init and initialize you app from different starting points (templates).

Or install it manually with npm install --save-dev preact-roller and add the following scripts to the NPM scripts property of your package.json:

Scripts Description
preact-roller start Run the project within a dev server
preact-roller build Creates a bundle of the scripts and styles in production mode

Options

preact-roller start

  • --port <number> - Set a port to use for dev server. Alias -p.
  • --debug - Receive debugging info from Wright. Alias -d.

preact-roller build

  • --banner - Comments additional information at the top of the js bundle. Alias -b.

Current Tags

  • 0.1.3                                ...           latest (2 years ago)

3 Versions

  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |