Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Shrinkwrap before publish, ensure it is included in package (#66)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
  • Loading branch information
Simon Stone authored Mar 1, 2019
1 parent 395acf6 commit 2975fc7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- stage: deploy
script: |
set -ex
npm shrinkwrap
deploy:
provider: npm
email: sstone1@uk.ibm.com
Expand All @@ -33,4 +32,3 @@ jobs:
on:
tags: true
repo: IBM-Blockchain/generator-fabric
skip_cleanup: true
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.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"name": "generator-fabric",
"version": "0.0.17",
"version": "0.0.18",
"description": "Yeoman generator for Hyperledger Fabric",
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "nyc mocha --recursive"
"test": "nyc mocha --recursive",
"prepublishOnly": "npm shrinkwrap"
},
"files": [
"generators"
"generators",
"npm-shrinkwrap.json"
],
"keywords": [
"yeoman-generator"
Expand Down

0 comments on commit 2975fc7

Please sign in to comment.