package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@project-serum/anchor",
  3. "version": "0.3.0",
  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": ">=10"
  14. },
  15. "scripts": {
  16. "build": "yarn build:node",
  17. "build:node": "tsc && tsc -p tsconfig.cjs.json",
  18. "lint:fix": "prettier src/** -w",
  19. "watch": "tsc -p tsconfig.cjs.json --watch",
  20. "test:unit": "jest test/unit",
  21. "test:integration": "jest test/integration --detectOpenHandles",
  22. "coverage": "jest --coverage test/unit",
  23. "prepublishOnly": "yarn build"
  24. },
  25. "dependencies": {
  26. "@project-serum/borsh": "^0.1.0",
  27. "@solana/web3.js": "^0.90.4",
  28. "@types/bn.js": "^4.11.6",
  29. "@types/bs58": "^4.0.1",
  30. "@types/crypto-hash": "^1.1.2",
  31. "@types/pako": "^1.0.1",
  32. "bn.js": "^5.1.2",
  33. "bs58": "^4.0.1",
  34. "buffer-layout": "^1.2.0",
  35. "camelcase": "^5.3.1",
  36. "crypto-hash": "^1.3.0",
  37. "eventemitter3": "^4.0.7",
  38. "find": "^0.3.0",
  39. "js-sha256": "^0.9.0",
  40. "pako": "^2.0.3",
  41. "snake-case": "^3.0.4"
  42. },
  43. "devDependencies": {
  44. "@commitlint/cli": "^11.0.0",
  45. "@commitlint/config-conventional": "^11.0.0",
  46. "@types/jest": "^26.0.15",
  47. "@typescript-eslint/eslint-plugin": "^4.6.0",
  48. "@typescript-eslint/parser": "^4.6.0",
  49. "eslint": "^7.12.1",
  50. "eslint-config-prettier": "^6.15.0",
  51. "husky": "^4.3.0",
  52. "jest": "26.6.0",
  53. "jest-config": "26.6.0",
  54. "lint-staged": "^10.5.0",
  55. "prettier": "^2.1.2",
  56. "ts-jest": "^26.4.3",
  57. "ts-node": "^9.0.0",
  58. "typescript": "^4.0.5"
  59. },
  60. "peerDependencies": {
  61. "@solana/web3.js": "^0.86.1"
  62. }
  63. }