package.json 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "private": true,
  3. "name": "@solana/wallet-adapter",
  4. "author": "Solana Maintainers <maintainers@solana.foundation>",
  5. "repository": "https://github.com/anza-xyz/wallet-adapter",
  6. "license": "Apache-2.0",
  7. "engines": {
  8. "node": ">=16",
  9. "pnpm": ">=8"
  10. },
  11. "type": "module",
  12. "sideEffects": false,
  13. "scripts": {
  14. "nuke": "shx rm -rf packages/*/*/node_modules node_modules pnpm-lock.yaml || true",
  15. "reinstall": "pnpm run nuke && pnpm install",
  16. "clean": "pnpm --recursive --workspace-concurrency=0 run clean && shx rm -rf **/*.tsbuildinfo",
  17. "build": "turbo run build --concurrency=100%",
  18. "build:clean": "pnpm run clean && pnpm run build",
  19. "release": "pnpm run build:clean && pnpm test && changeset publish && git push --follow-tags && git status",
  20. "watch": "tsc --build --verbose --watch tsconfig.all.json",
  21. "fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'",
  22. "lint": "turbo run lint --concurrency=100%",
  23. "lint:fix": "pnpm run fmt && eslint --fix .",
  24. "test": "turbo run test --concurrency=100%",
  25. "deploy": "pnpm run deploy:docs && pnpm run deploy:example",
  26. "docs": "shx rm -rf docs && NODE_OPTIONS=--max_old_space_size=16000 typedoc && shx cp ./{.nojekyll,wallets.png} docs/",
  27. "deploy:docs": "pnpm run docs && gh-pages --dist docs --dotfiles",
  28. "example": "pnpm run --filter {packages/starter/example} export",
  29. "deploy:example": "pnpm run example && gh-pages --dist packages/starter/example/out --dest example --dotfiles"
  30. },
  31. "devDependencies": {
  32. "@changesets/cli": "^2.26.1",
  33. "@types/node": "^18.16.18",
  34. "@typescript-eslint/eslint-plugin": "^5.60.0",
  35. "@typescript-eslint/parser": "^5.60.0",
  36. "eslint": "8.22.0",
  37. "eslint-config-prettier": "^8.8.0",
  38. "eslint-plugin-prettier": "^4.2.1",
  39. "eslint-plugin-react": "^7.32.2",
  40. "eslint-plugin-react-hooks": "^4.6.0",
  41. "eslint-plugin-require-extensions": "^0.1.3",
  42. "gh-pages": "^4.0.0",
  43. "pnpm": "^8.6.3",
  44. "prettier": "^2.8.8",
  45. "shx": "^0.3.4",
  46. "turbo": "^1.13.3",
  47. "typedoc": "^0.23.28",
  48. "typescript": "~4.7.4"
  49. },
  50. "overrides": {
  51. "@ledgerhq/devices": "6.27.1",
  52. "@ledgerhq/hw-transport": "6.27.1",
  53. "@ledgerhq/hw-transport-webhid": "6.27.1",
  54. "@solana/wallet-adapter-base": "workspace:^",
  55. "@types/web": "npm:typescript@~4.7.4",
  56. "eslint": "8.22.0",
  57. "@ngraveio/bc-ur": "1.1.12"
  58. },
  59. "resolutions": {
  60. "@ledgerhq/devices": "6.27.1",
  61. "@ledgerhq/hw-transport": "6.27.1",
  62. "@ledgerhq/hw-transport-webhid": "6.27.1",
  63. "@solana/wallet-adapter-base": "workspace:^",
  64. "@types/web": "npm:typescript@~4.7.4",
  65. "eslint": "8.22.0",
  66. "@ngraveio/bc-ur": "1.1.12"
  67. }
  68. }