Skip to content

Instantly share code, notes, and snippets.

@rodrigocnascimento
Created May 17, 2017 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigocnascimento/2e5b503736e73bfd39587114982187fd to your computer and use it in GitHub Desktop.
Save rodrigocnascimento/2e5b503736e73bfd39587114982187fd to your computer and use it in GitHub Desktop.
{
"name": "wiremock",
"version": "0.1.0",
"description": "wiremock",
"config": {
"wiremock_url": "http://repo1.maven.org/maven2/com/github/tomakehurst/wiremock-standalone/2.6.0/wiremock-standalone-2.6.0.jar"
},
"watch": {
"wiremock:reload": "{__files,mappings}/*.json"
},
"scripts": {
"wiremock:install": "curl -O $npm_package_config_wiremock_url",
"wiremock:start": "npm run wiremock:init && nohup npm-watch &",
"wiremock:init": "nohup java -jar wiremock-standalone-2.6.0.jar &",
"wiremock:web": "nohup lt --port 8080 &",
"wiremock:stop": "pkill -f \"java -jar wiremock-standalone-2.6.0.jar\"",
"wiremock:reload": "npm run wiremock:stop && npm run wiremock:init",
"wiremock:record": "java -jar wiremock-standalone-2.6.0.jar --record-mappings --verbose"
},
"author": "Rodrigo Nascimento <rodrigocesarnascimento@gmail.com>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment