package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "@certusone/wormhole-sdk",
  3. "version": "0.5.0",
  4. "description": "SDK for interacting with Wormhole",
  5. "homepage": "https://wormholenetwork.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/dev.v2/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-deps": "npm run build-abis && npm run build-contracts",
  16. "build-lib": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node scripts/copyEthersTypes.js && node scripts/copyWasm.js",
  17. "build-all": "npm run build-deps && npm run build-lib",
  18. "test": "jest --config jestconfig.json --verbose",
  19. "test-ci": "jest --config jestconfig.json --verbose --setupFiles ./ci-config.js --forceExit",
  20. "build": "npm run build-all",
  21. "format": "echo \"disabled: prettier --write \"src/**/*.ts\"\"",
  22. "lint": "tslint -p tsconfig.json",
  23. "prepublishOnly": "echo \"disabled: npm test && npm run lint\"",
  24. "preversion": "npm run lint",
  25. "version": "npm run format && git add -A src",
  26. "postversion": "git push && git push --tags"
  27. },
  28. "keywords": [
  29. "wormhole",
  30. "bridge",
  31. "token",
  32. "sdk",
  33. "solana",
  34. "ethereum",
  35. "terra",
  36. "bsc"
  37. ],
  38. "author": "certusone",
  39. "license": "Apache-2.0",
  40. "devDependencies": {
  41. "@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
  42. "@openzeppelin/contracts": "^4.2.0",
  43. "@typechain/ethers-v5": "^7.0.1",
  44. "@types/jest": "^27.0.2",
  45. "@types/long": "^4.0.1",
  46. "@types/node": "^16.6.1",
  47. "@types/react": "^17.0.19",
  48. "copy-dir": "^1.3.0",
  49. "ethers": "^5.6.8",
  50. "jest": "^27.3.1",
  51. "prettier": "^2.3.2",
  52. "ts-jest": "^27.0.7",
  53. "tslint": "^6.1.3",
  54. "tslint-config-prettier": "^1.18.0",
  55. "typescript": "^4.3.5",
  56. "web3": "^1.6.1"
  57. },
  58. "dependencies": {
  59. "@certusone/wormhole-sdk-proto-web": "^0.0.1",
  60. "@solana/spl-token": "^0.1.8",
  61. "@solana/web3.js": "^1.24.0",
  62. "@terra-money/terra.js": "^3.1.3",
  63. "algosdk": "^1.15.0",
  64. "axios": "^0.24.0",
  65. "bech32": "^2.0.0",
  66. "js-base64": "^3.6.1"
  67. }
  68. }