Code Monkey home page Code Monkey logo

bplt-itest's Introduction

bplt-itest

Install globally with npm:

npm i -g bplt-itest

Usage

Usage:
    bplt-itest SRC [ -i | --inspect ][ -h | --help ]

Options:
    -h, --help              help for bplt-itest
    -i, --inspect           launch dockerized instance but dont remove it

Commands:

Arguments:
    SRC                     directory containing the module to be tested

What is it

This command creates a temporary docker container to test your npm modules. You can use it to test your modules on different node versions and to check whether dependencies are fully satisfied.

It performs the following steps:

  1. Copy a custom Dockerfile into your SRC directory
  2. Builds an image containing Node.js 10.x
  3. Copies the SRC directory into src and removes src/node_modules
  4. Executes npm install && npm test
  5. Removes the image

Prerequisites

On OSX, remember to run

> $(boot2docker shellinit)

in the same shell where you run the command.

To inspect an image directly

docker run -i -t IMAGE /bin/bash

Author

  • Vittorio Zaccaria

License

Copyright (c) 2015 Vittorio Zaccaria
Released under the BSD License.


This file was generated by verb-cli on April 01, 2015.

bplt-itest's People

Contributors

vzaccaria avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.