package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@solana/wallet-adapter-torus",
  3. "version": "0.11.29",
  4. "author": "Solana Maintainers <maintainers@solana.foundation>",
  5. "repository": "https://github.com/anza-xyz/wallet-adapter",
  6. "license": "Apache-2.0",
  7. "publishConfig": {
  8. "access": "public"
  9. },
  10. "files": [
  11. "lib",
  12. "src",
  13. "LICENSE"
  14. ],
  15. "engines": {
  16. "node": ">=20"
  17. },
  18. "type": "module",
  19. "sideEffects": false,
  20. "main": "./lib/cjs/index.js",
  21. "module": "./lib/esm/index.js",
  22. "types": "./lib/types/index.d.ts",
  23. "exports": {
  24. "require": "./lib/cjs/index.js",
  25. "import": "./lib/esm/index.js",
  26. "types": "./lib/types/index.d.ts"
  27. },
  28. "scripts": {
  29. "build": "tsc --build --verbose && pnpm run package",
  30. "clean": "shx mkdir -p lib && shx rm -rf lib",
  31. "lint": "prettier --check 'src/{*,**/*}.{ts,tsx,js,jsx,json}' && eslint",
  32. "package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json"
  33. },
  34. "peerDependencies": {
  35. "@solana/web3.js": "^1.77.3"
  36. },
  37. "dependencies": {
  38. "@solana/wallet-adapter-base": "workspace:^",
  39. "@toruslabs/solana-embed": "^0.3.4",
  40. "assert": "^2.0.0",
  41. "crypto-browserify": "^3.12.0",
  42. "process": "^0.11.10",
  43. "stream-browserify": "^3.0.0"
  44. },
  45. "devDependencies": {
  46. "@solana/web3.js": "^1.77.3",
  47. "@types/keccak": "^3.0.1",
  48. "@types/node-fetch": "^2.6.4",
  49. "@types/readable-stream": "^2.3.15",
  50. "shx": "^0.3.4"
  51. },
  52. "overrides": {
  53. "@toruslabs/solana-embed": {
  54. "assert": "npm:assert@^2.0.0",
  55. "process": "npm:process@^0.11.10",
  56. "stream": "npm:stream-browserify@^3.0.0",
  57. "crypto": "npm:crypto-browserify@^3.12.0"
  58. }
  59. }
  60. }