serve-bin
A zero-configuration plugin system for on-the-fly building and serving assets for development.
Installing
serve-bin
is available as an
npm package.
Usage
Add serve-bin
to the package.json
as follows:
Then add plugins for each desired asset build workflow. Existing plugins are
listed below. By default, serve-bin
will serve static files with the src
directory as root.
From the command line, run:
npm start
Plugins
- serve-esnext compiles ES.next modules.
Writing Plugins
Plugins must have a name
that starts with serve-
.
Plugins must export an Express middleware.
{ // ...}
Development
Getting Started
The application requires the following external dependencies:
- Node.js
The rest of the dependencies are handled through:
npm install
Run tests with:
npm test