package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "@project-serum/anchor",
  3. "version": "0.0.0-alpha.10",
  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.0.1-beta.0",
  27. "@solana/web3.js": "^0.90.4",
  28. "@types/bn.js": "^4.11.6",
  29. "@types/bs58": "^4.0.1",
  30. "@types/pako": "^1.0.1",
  31. "bn.js": "^5.1.2",
  32. "bs58": "^4.0.1",
  33. "buffer-layout": "^1.2.0",
  34. "camelcase": "^5.3.1",
  35. "crypto-hash": "^1.3.0",
  36. "eventemitter3": "^4.0.7",
  37. "find": "^0.3.0",
  38. "pako": "^2.0.3"
  39. },
  40. "devDependencies": {
  41. "@commitlint/cli": "^11.0.0",
  42. "@commitlint/config-conventional": "^11.0.0",
  43. "@types/jest": "^26.0.15",
  44. "@typescript-eslint/eslint-plugin": "^4.6.0",
  45. "@typescript-eslint/parser": "^4.6.0",
  46. "eslint": "^7.12.1",
  47. "eslint-config-prettier": "^6.15.0",
  48. "husky": "^4.3.0",
  49. "jest": "26.6.0",
  50. "jest-config": "26.6.0",
  51. "lint-staged": "^10.5.0",
  52. "prettier": "^2.1.2",
  53. "ts-jest": "^26.4.3",
  54. "ts-node": "^9.0.0",
  55. "typescript": "^4.0.5"
  56. },
  57. "peerDependencies": {
  58. "@solana/web3.js": "^0.86.1"
  59. }
  60. }