Skip to content

Commit

Permalink
Merge pull request #24 from holidayextras/NB-1086-2
Browse files Browse the repository at this point in the history
Nb 1086 2
  • Loading branch information
JordanHood authored Jul 24, 2018
2 parents ec911b2 + a6a4305 commit 276fb93
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 43 deletions.
4 changes: 2 additions & 2 deletions .istanbul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ instrumentation:
include-all-sources: true
check:
global:
statements: 95
lines: 95
statements: 94
lines: 94
branches: 100
functions: 83
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
8
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# plugin-transformer

[![Circle CI](https://circleci.com/gh/holidayextras/plugin-transformer/tree/master.svg?style=svg&circle-token=26ea1e706a961aa3316251c4de5264a20876d50c)](https://circleci.com/gh/holidayextras/plugin-transformer)

## About

A [hapi](http://hapijs.com/) plugin that wraps [Transformer](https://bitbucket.org/hxshortbreaks/transformer) exposing it's solitary ` getConfiguration() ` function
Expand Down
35 changes: 0 additions & 35 deletions circle.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "plugin-transformer",
"description": "Transformer wrapper that allows hapi.js to check payment cards using the 6 digit IIN code",
"version": "4.1.0",
"version": "4.2.0",
"homepage": "https://github.com/holidayextras/plugin-transformer",
"author": {
"name": "Shortbreaks",
Expand All @@ -17,13 +17,14 @@
"node": ">= 8.9.3"
},
"scripts": {
"ci": "echo 'nothing to do here'",
"lint": "standard",
"prerelease": "node_modules/deployment-helpers/nodeApps/preRelease.sh",
"pretest": "npm run prerelease",
"test": "npm run lint && npm run test:coverage",
"test:coverage": "istanbul cover _mocha",
"posttest": "istanbul check-coverage",
"deploy": "exit 0"
"deploy": "./scripts/deploy.sh"
},
"dependencies": {
"transformer": "git+ssh://[email protected]:holidayextras/transformer.git#v8.1.0",
Expand Down
2 changes: 2 additions & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
node_modules/deployment-helpers/nodeApps/postRelease.sh $CI_BRANCH

0 comments on commit 276fb93

Please sign in to comment.