Skip to content

Commit

Permalink
fix: revert postinstall script with patch-package
Browse files Browse the repository at this point in the history
  • Loading branch information
Harasz committed Feb 23, 2022
1 parent 5068a6d commit 99f889f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 17 deletions.
67 changes: 52 additions & 15 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"build:typechain:publicresolver": "typechain --target ethers-v5 --out-dir ethers \"./node_modules/@energyweb/iam-contracts/dist/contracts/PublicResolver.json\"",
"build:typechain:staking-pool": "typechain --target ethers-v5 --out-dir ethers-staking \"./node_modules/@energyweb/staking-pool/dist/contracts/StakingPool.sol/StakingPool.json\"",
"prepare": "npm run build && patch-package",
"postinstall": "patch-package --patch-dir dist/patches --error-on-fail",
"start-rpc": "run-with-testrpc -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" -p 8544 --chainId 1337 -a 20 -e 10000000 -l=10000000",
"ganache": "ganache-cli -m \"candy maple cake sugar pudding cream honey rich smooth crumble sweet treat\" -p 8544 --chainId 1337 -a 20 -e 10000000 -l=10000000",
"test:watch": "npm run start-rpc -- \"jest --coverage --env=./jest.env.js --watchAll\"",
Expand Down Expand Up @@ -87,7 +86,6 @@
"jsonwebtoken": "^8.5.1",
"lodash.difference": "^4.5.0",
"nats.ws": "^1.7.1",
"patch-package": "^6.4.7",
"qs": "^6.9.4",
"tslib": "^2.0.3",
"uuid": "^7.0.3"
Expand Down Expand Up @@ -131,6 +129,7 @@
"jest-environment-node": "^27.1.0",
"jwt-decode": "^3.1.2",
"lint-staged": "^11.1.1",
"patch-package": "^6.4.7",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup-plugin-typescript2": "^0.31.0",
Expand Down

0 comments on commit 99f889f

Please sign in to comment.