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
- Host: GitHub
- URL: https://github.com/lufzle/devbox-node
- Owner: lufzle
- License: mit
- Created: 2016-09-02T04:14:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-02T14:03:56.000Z (over 8 years ago)
- Last Synced: 2025-02-16T01:44:45.594Z (2 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```