package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@project-serum/anchor",
  3. "version": "0.13.2",
  4. "description": "Anchor client",
  5. "main": "dist/cjs/index.js",
  6. "module": "dist/esm/index.js",
  7. "license": "(MIT OR Apache-2.0)",
  8. "types": "dist/index.d.ts",
  9. "publishConfig": {
  10. "access": "public"
  11. },
  12. "engines": {
  13. "node": ">=11"
  14. },
  15. "scripts": {
  16. "build": "rm -rf dist/ && yarn build:node",
  17. "build:node": "tsc && tsc -p tsconfig.cjs.json",
  18. "lint:fix": "prettier src/** tests/** -w",
  19. "lint": "prettier src/** tests/** --check",
  20. "watch": "tsc -p tsconfig.cjs.json --watch",
  21. "prepublishOnly": "yarn build",
  22. "docs": "typedoc --excludePrivate --includeVersion --out ../docs/src/.vuepress/dist/ts/ --readme none src/index.ts",
  23. "test": "jest tests --detectOpenHandles"
  24. },
  25. "dependencies": {
  26. "@project-serum/borsh": "^0.2.2",
  27. "@solana/web3.js": "^1.17.0",
  28. "base64-js": "^1.5.1",
  29. "bn.js": "^5.1.2",
  30. "bs58": "^4.0.1",
  31. "buffer-layout": "^1.2.0",
  32. "camelcase": "^5.3.1",
  33. "crypto-hash": "^1.3.0",
  34. "eventemitter3": "^4.0.7",
  35. "find": "^0.3.0",
  36. "js-sha256": "^0.9.0",
  37. "pako": "^2.0.3",
  38. "snake-case": "^3.0.4",
  39. "toml": "^3.0.0"
  40. },
  41. "devDependencies": {
  42. "@commitlint/cli": "^11.0.0",
  43. "@commitlint/config-conventional": "^11.0.0",
  44. "@types/bn.js": "^4.11.6",
  45. "@types/bs58": "^4.0.1",
  46. "@types/crypto-hash": "^1.1.2",
  47. "@types/jest": "^26.0.15",
  48. "@types/pako": "^1.0.1",
  49. "@typescript-eslint/eslint-plugin": "^4.6.0",
  50. "@typescript-eslint/parser": "^4.6.0",
  51. "eslint": "^7.12.1",
  52. "eslint-config-prettier": "^6.15.0",
  53. "husky": "^4.3.0",
  54. "jest": "26.6.0",
  55. "jest-config": "26.6.0",
  56. "lint-staged": "^10.5.0",
  57. "prettier": "^2.1.2",
  58. "ts-jest": "^26.4.3",
  59. "ts-node": "^9.0.0",
  60. "typedoc": "^0.20.36",
  61. "typescript": "^4.0.5"
  62. }
  63. }