Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/devilrancy/docker-npm-tools

NPM tools inside a single Docker container
https://github.com/devilrancy/docker-npm-tools

Last synced: 12 days ago
JSON representation

NPM tools inside a single Docker container

Awesome Lists containing this project

README

        

[![](https://images.microbadger.com/badges/image/schodemeiss/npm-tools.svg)](http://microbadger.com/images/schodemeiss/npm-tools "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/schodemeiss/npm-tools.svg)](http://microbadger.com/images/schodemeiss/npm-tools "Get your own version badge on microbadger.com")

# Single Container NPM Tools
A collection of NPM tools to aid in the development and QA of Javascript/Web applications.

## Current Tools

* npm
* bower
* gulp
* grunt
* webpack
* browserify
* mocha

## Usage

You can simply call:

```
docker run --rm -it -v "$PWD":/app schodemeiss/npm-tools
```

By default this will run "npm install && gulp". IE: Install all packages inside the folders "packages.json" and then run the default gulp task if one exists.

You can call the tools by simply using:

```
docker run --rm -it -v "$PWD":/app schodemeiss/npm-tools bower install
```

This will run "bower" with the "install" argument.

Any of the other tools can be called with their respective usages.

## Helper Scripts
### Powershell
A Powershell function alias script can be found here: https://github.com/schodemeiss/docker-npm-tools/blob/master/npm-tools-aliases.ps1

This will allow you to run "npm" without having to run any docker specific commands.

### Bash
Coming Soon!