Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wiremock-standalone

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiremock-standalone

WireMock standalone binary

  • 2.27.2-1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-20.44%
Maintainers
1
Weekly downloads
 
Created
Source

WireMock Standalone for NPM

npm version Wiremock Standalone npm

This package downloads WireMock standalone from Maven Central and provides simple CLI wrapper for NPM.

How to use

npm i -D wiremock-standalone
# OR
yar add -D wiremock-standalone

Usage (as script in package.json):

{
  "scripts": {
    "start:mock": "wiremock --root-dir ./mock"
  }
}

Options

Java runtime arguments

You can pass options to Java runtime with --java-arg CLI argument. All system properties are collected and appended to wiremock's --permitted-system-keys option.

wiremock --java-arg -Dmy.custom.var=some-value --root-dir ./mock

Custom Maven repository URL

You can use the MAVEN_BASE_URL environment variable to override the public https://repo1.maven.org/maven2 URL.

HOWTOs

Passing ENV variables with env-cmd

yarn env-cmd -f [path/to/.env] yarn wiremock --global-response-templating --verbose --root-dir ./mocks --permitted-system-keys=WIREMOCK_.*

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

Donate

Keywords

FAQs

Package last updated on 14 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc