Skip to content

Commit

Permalink
Merge pull request hyperledger-archives#18 from rbuysse/package-saplings
Browse files Browse the repository at this point in the history
Package saplings
  • Loading branch information
rbuysse authored May 19, 2020
2 parents 0740261 + 979c636 commit 8fc9c05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/saplings/circuits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"start": "react-scripts start",
"build": "node ./scripts/build.js",
"package": "rm -rf package && mkdir package && cp -r ./build/static package && cp -r images package && tar -jcvf circuit_$npm_config_sapling_version.sapling package",
"test": "react-scripts test",
"eject": "react-scripts eject",
"add-to-canopy": "mkdir -p ../../sapling-dev-server/circuits && cp -r ./build/static ../../sapling-dev-server/circuits && cp -r images ../../sapling-dev-server/circuits",
Expand Down
1 change: 1 addition & 0 deletions ui/saplings/profile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"scripts": {
"start": "react-scripts start",
"build": "node ./scripts/build.js",
"package": "rm -rf package && mkdir package && cp -r ./build/static/** package && tar -jcvf profile_$npm_config_sapling_version.sapling package",
"test": "react-scripts test",
"eject": "react-scripts eject",
"add-to-canopy": "mkdir -p ../../sapling-dev-server/profile && cp -r ./build/static/** ../../sapling-dev-server/profile",
Expand Down
1 change: 1 addition & 0 deletions ui/saplings/register-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts": {
"test": "jest",
"build": "webpack",
"package": "rm -rf package && mkdir package && cp -r ./dist/* package && tar -jcvf register-login_$npm_config_sapling_version.sapling package",
"add-to-canopy": "cp ./dist/* ../../sapling-dev-server/",
"deploy": "npm run build && npm run add-to-canopy",
"format": "prettier --write \"**/*.+(ts|*rc|json|js)\"",
Expand Down

0 comments on commit 8fc9c05

Please sign in to comment.