package.json 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@certusone/wormhole-sdk",
  3. "version": "0.9.9",
  4. "description": "SDK for interacting with Wormhole",
  5. "homepage": "https://wormhole.com",
  6. "main": "./lib/cjs/index.js",
  7. "module": "./lib/esm/index.js",
  8. "files": [
  9. "lib/"
  10. ],
  11. "repository": "https://github.com/certusone/wormhole/tree/main/sdk/js",
  12. "scripts": {
  13. "build-contracts": "npm run build --prefix ../../ethereum && node scripts/copyContracts.js && typechain --target=ethers-v5 --out-dir=src/ethers-contracts contracts/*.json",
  14. "build-abis": "typechain --target=ethers-v5 --out-dir=src/ethers-contracts/abi src/abi/Wormhole.abi.json",
  15. "build-idl": "node scripts/compileAnchorIdls.js",
  16. "build-deps": "npm run build-abis && npm run build-contracts && npm run build-idl",
  17. "build-lib": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node scripts/copyEthersTypes.js",
  18. "build-all": "npm run build-deps && npm run build-lib",
  19. "docs": "typedoc src/index.ts",
  20. "test": "jest --config jestconfig.json --verbose",
  21. "test-ci": "NEAR_NO_LOGS=true jest --config jestconfig.json --verbose --setupFiles ./ci-config.js --forceExit",
  22. "build": "npm run build-all",
  23. "format": "echo \"disabled: prettier --write \"src/**/*.ts\"\"",
  24. "lint": "tslint -p tsconfig.json",
  25. "prepublishOnly": "echo \"disabled: npm test && npm run lint\"",
  26. "preversion": "npm run lint",
  27. "version": "npm run format && git add -A src",
  28. "postversion": "git push && git push --tags"
  29. },
  30. "keywords": [
  31. "wormhole",
  32. "bridge",
  33. "token",
  34. "sdk",
  35. "solana",
  36. "ethereum",
  37. "terra",
  38. "bsc"
  39. ],
  40. "author": "certusone",
  41. "license": "Apache-2.0",
  42. "devDependencies": {
  43. "@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
  44. "@openzeppelin/contracts": "^4.2.0",
  45. "@typechain/ethers-v5": "^7.0.1",
  46. "@types/bs58": "4.0.1",
  47. "@types/elliptic": "^6.4.14",
  48. "@types/jest": "^27.0.2",
  49. "@types/long": "^4.0.1",
  50. "@types/node": "^16.6.1",
  51. "@types/node-fetch": "^2.6.2",
  52. "@types/react": "^17.0.19",
  53. "copy-dir": "^1.3.0",
  54. "dotenv": "16.0.3",
  55. "ethers": "^5.6.8",
  56. "jest": "^27.3.1",
  57. "prettier": "^2.3.2",
  58. "truffle": "^5.7.2",
  59. "ts-jest": "^27.0.7",
  60. "tslint": "^6.1.3",
  61. "tslint-config-prettier": "^1.18.0",
  62. "typechain": "^5.0.0",
  63. "typedoc": "0.21.10",
  64. "typescript": "^4.3.5",
  65. "web3": "^1.6.1"
  66. },
  67. "dependencies": {
  68. "@certusone/wormhole-sdk-proto-web": "0.0.6",
  69. "@certusone/wormhole-sdk-wasm": "^0.0.1",
  70. "@injectivelabs/networks": "^1.0.73",
  71. "@injectivelabs/sdk-ts": "^1.0.368",
  72. "@injectivelabs/utils": "^1.0.63",
  73. "@coral-xyz/borsh": "0.2.6",
  74. "@project-serum/anchor": "^0.25.0",
  75. "@solana/spl-token": "^0.3.5",
  76. "@solana/web3.js": "^1.66.2",
  77. "@terra-money/terra.js": "^3.1.3",
  78. "@xpla/xpla.js": "^0.2.1",
  79. "algosdk": "^1.15.0",
  80. "aptos": "^1.3.16",
  81. "axios": "^0.24.0",
  82. "bech32": "^2.0.0",
  83. "binary-parser": "^2.2.1",
  84. "bs58": "^4.0.1",
  85. "elliptic": "^6.5.4",
  86. "js-base64": "^3.6.1",
  87. "near-api-js": "^1.0.0"
  88. }
  89. }