package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "name": "wormhole",
  3. "version": "1.0.0",
  4. "description": "",
  5. "main": "networks.js",
  6. "devDependencies": {
  7. "@chainsafe/truffle-plugin-abigen": "0.0.1",
  8. "@openzeppelin/cli": "^2.8.2",
  9. "@openzeppelin/contracts": "^4.5.0",
  10. "@openzeppelin/test-environment": "^0.1.9",
  11. "@openzeppelin/test-helpers": "^0.5.15",
  12. "@openzeppelin/truffle-upgrades": "^1.14.0",
  13. "@poanet/solidity-flattener": "^3.0.6",
  14. "@truffle/hdwallet-provider": "^1.7.0",
  15. "chai": "^4.2.0",
  16. "mocha": "^8.2.1",
  17. "truffle": "^5.5.5",
  18. "truffle-assertions": "^0.9.2",
  19. "truffle-plugin-verify": "^0.5.11"
  20. },
  21. "scripts": {
  22. "build": "truffle compile",
  23. "test": "truffle test",
  24. "migrate": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 5",
  25. "flatten": "mkdir -p node_modules/@poanet/solidity-flattener/contracts && cp -r contracts/* node_modules/@poanet/solidity-flattener/contracts/ && poa-solidity-flattener",
  26. "verify": "patch -u -f node_modules/truffle-plugin-verify/constants.js -i truffle-verify-constants.patch; truffle run verify $npm_config_module@$npm_config_contract_address --network $npm_config_network",
  27. "deploy-bridge-implementation-only": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 6",
  28. "deploy_weth9": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 9"
  29. },
  30. "author": "",
  31. "license": "ISC",
  32. "dependencies": {
  33. "@openzeppelin/contracts-upgradeable": "^4.5.2",
  34. "@pythnetwork/pyth-sdk-solidity": "0.0.3",
  35. "dotenv": "^10.0.0",
  36. "elliptic": "^6.5.2",
  37. "ganache-cli": "^6.12.1",
  38. "jsonfile": "^4.0.0",
  39. "solc": "^0.8.4"
  40. }
  41. }