Skip to content

Commit

Permalink
add npm publish workflow - public
Browse files Browse the repository at this point in the history
Signed-off-by: rtang03 <[email protected]>
  • Loading branch information
rtang03 committed Jan 23, 2021
1 parent 9633486 commit 4c96956
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions packages/fabric-cqrs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"url": "git://github.com/rtang03/fabric-es.git"
},
"keywords": [
"hyperledger"
"hyperledger-fabric",
"redux",
"rxjs"
],
"author": "Ross Tang",
"homepage": "https://github.com/rtang03/fabric-es",
Expand All @@ -25,7 +27,7 @@
"enrollAdmin": "node ./dist/account/enrollAdmin.js",
"enrollCaAdmin": "node ./dist/account/enrollCaAdmin.js",
"lint": "eslint --max-warnings 10 'src/**/*.{js,ts}'",
"publish": "npm publish",
"publish": "npm publish --access=public",
"test:service": "jest service.unit-test && jest service.private.unit-test",
"test:service-pri": "jest service.unit-test && jest service.private.unit-test",
"test:store-cmd": "jest --forceExit --detectOpenHandles command.store.unit-test",
Expand Down
8 changes: 6 additions & 2 deletions packages/gateway-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"url": "git://github.com/rtang03/fabric-es.git"
},
"keywords": [
"hyperledger"
"hyperledger-fabric",
"apollo-graphql",
"redis",
"pm2",
"expressjs"
],
"author": "Ross Tang",
"license": "BSD-3-Clause-Clear",
Expand All @@ -26,7 +30,7 @@
"enrollCaAdmin": "node ./dist/enrollCaAdmin.js",
"unit-test:fab": "yarn unit-test-counter && yarn unit-test-qh",
"lint": "eslint --max-warnings 10 'src/**/*.{js,ts}'",
"publish": "npm publish",
"publish": "npm publish --access=public",
"dev:query-handler": "yarn build && node ./dist/query-handler/app.js",
"unit-test-qh": "jest --forceExit --detectOpenHandles queryHandler.unit-test",
"unit-test-counter": "jest --forceExit --detectOpenHandles counter.unit-test"
Expand Down
4 changes: 2 additions & 2 deletions packages/operator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "git://github.com/rtang03/fabric-es.git"
},
"keywords": [
"hyperledger"
"hyperledger-fabric"
],
"author": "Ross Tang",
"license": "BSD-3-Clause-Clear",
Expand All @@ -25,7 +25,7 @@
"unit-test:fab": "jest --detectOpenHandles unit.test",
"clean": "rimraf dist",
"lint": "eslint --max-warnings 10 'src/**/*.{js,ts}' --fix",
"publish": "npm publish"
"publish": "npm publish --access=public"
},
"dependencies": {
"dotenv": "^8.1.0",
Expand Down

0 comments on commit 4c96956

Please sign in to comment.