1.2.18 • Published 7 years ago

npmdocker v1.2.18

Weekly downloads
2
License
MIT
Repository
gitlab
Last release
7 years ago

npmdocker

develop npm modules cross platform with docker

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

Why does this package exist?

Sometimes you want a clean and fresh linux environment everytime you test your package. Usually this is the default i CI, but locally behaviour tends to defer.

Where does it work

The npmdocker package works in everywhere where the docker cli is available. e.g.:

  • docker toolbox
  • native docker application
  • docker in docker
  • mounted docker.sock

How do I use it?

create a npmextra.json in the project's root directory

{
  "npmdocker": {
    "baseImage": "hosttoday/ht-docker-node:npmts",
    "command": "npmci test stable",
    "dockerSock": false
  }
}
optiondescription
baseImagethe base image that is the context for your project
commandthe cli command to run within the the project's directory inside the docker container
dockersSockwether or not the testcontainer will have access to the docker.sock of the host

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer

1.2.18

7 years ago

1.2.17

7 years ago

1.2.12

7 years ago

1.2.11

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.0

8 years ago

1.0.5

8 years ago

1.0.3

8 years ago

1.0.4

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago