node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

serve-es6

serve-es6

Build Status

An executable that seamlessly runs Node.js servers and web apps written in ES6+.

Installing

serve-es6 is available as an npm package.

Usage

In your package.json, run the serve-es6 command from the start script as follows:

{
  "name": "project",
  "scripts": {
    "start": "serve-es6"
  }
}

Then, run npm start. By default, serve-es6 will look for and run server.js. Specify a different file via the main key of the package.json as follows:

{
  "name": "project",
  "main": "src/app.js",
  "scripts": {
    "start": "serve-es6"
  }
}

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