An open API service indexing awesome lists of open source software.

https://github.com/lufzle/devbox-node

Node development sandbox with Docker
https://github.com/lufzle/devbox-node

Last synced: 13 days ago
JSON representation

Node development sandbox with Docker

Awesome Lists containing this project

README

        

## devbox-node
Node development sandbox with Docker. Feedback, suggestions and PRs are very welcomed. :)

### About

Node.js development environment with:

* [smart transpilation suited for Node 6](https://babeljs.io/docs/plugins/preset-es2017/);
* Code linting using a set of practices mostly based on [Standard](https://github.com/feross/standard) but with [a few overrides and additions](/eslintrc.json);
* Nodemon for easy relint/restart on changes;
* more features to come

### Build

```bash
docker build -t nodeapp .
```

### Usage

```bash
# Lints your code
docker run --rm -v :/var/nodeapp nodeapp

# Relints on every change
docker run --rm -v :/var/nodeapp nodeapp autolint

# Runs the app; relints & restarts on every change
docker run --rm -v :/var/nodeapp nodeapp autorun
```