Skip to content

Commit

Permalink
feat(types): add TS bindings for pact-web standalone. Fixes #92
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Nov 5, 2017
1 parent a69c7bb commit d436862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json.web
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Pact for the browser",
"main": "pact-web.js",
"scripts": {},
"types": "./pact-web.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/pact-foundation/pact-js.git"
Expand Down
1 change: 1 addition & 0 deletions scripts/create_npmrc_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ set -x

VERSION=$(cat package.json | grep version | egrep -o "([0-9.]+)")
cat package.json.web | sed "s/VERSION/$VERSION/g" > dist/package.json
cp -irn src/* dist/

0 comments on commit d436862

Please sign in to comment.