package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "@certusone/wormhole-sdk",
  3. "version": "0.2.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. "prepare": "npm run build",
  24. "prepublishOnly": "echo \"disabled: npm test && npm run lint\"",
  25. "preversion": "npm run lint",
  26. "version": "npm run format && git add -A src",
  27. "postversion": "git push && git push --tags"
  28. },
  29. "keywords": [
  30. "wormhole",
  31. "bridge",
  32. "token",
  33. "sdk",
  34. "solana",
  35. "ethereum",
  36. "terra",
  37. "bsc"
  38. ],
  39. "author": "certusone",
  40. "license": "Apache-2.0",
  41. "devDependencies": {
  42. "@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
  43. "@openzeppelin/contracts": "^4.2.0",
  44. "@typechain/ethers-v5": "^7.0.1",
  45. "@types/jest": "^27.0.2",
  46. "@types/long": "^4.0.1",
  47. "@types/node": "^16.6.1",
  48. "@types/react": "^17.0.19",
  49. "copy-dir": "^1.3.0",
  50. "ethers": "^5.4.4",
  51. "jest": "^27.3.1",
  52. "prettier": "^2.3.2",
  53. "ts-jest": "^27.0.7",
  54. "tslint": "^6.1.3",
  55. "tslint-config-prettier": "^1.18.0",
  56. "typescript": "^4.3.5",
  57. "web3": "^1.6.1"
  58. },
  59. "dependencies": {
  60. "@improbable-eng/grpc-web": "^0.14.0",
  61. "@solana/spl-token": "^0.1.8",
  62. "@solana/web3.js": "^1.24.0",
  63. "@terra-money/terra.js": "^3.0.7",
  64. "axios": "^0.24.0",
  65. "bech32": "^2.0.0",
  66. "js-base64": "^3.6.1",
  67. "protobufjs": "^6.11.2",
  68. "rxjs": "^7.3.0"
  69. }
  70. }