package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@project-serum/anchor",
  3. "version": "0.3.1-beta.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": ">=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": "^1.1.0",
  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. "base64-js": "^1.5.1",
  33. "bn.js": "^5.1.2",
  34. "bs58": "^4.0.1",
  35. "buffer-layout": "^1.2.0",
  36. "camelcase": "^5.3.1",
  37. "crypto-hash": "^1.3.0",
  38. "eventemitter3": "^4.0.7",
  39. "find": "^0.3.0",
  40. "js-sha256": "^0.9.0",
  41. "pako": "^2.0.3",
  42. "snake-case": "^3.0.4"
  43. },
  44. "devDependencies": {
  45. "@commitlint/cli": "^11.0.0",
  46. "@commitlint/config-conventional": "^11.0.0",
  47. "@types/jest": "^26.0.15",
  48. "@typescript-eslint/eslint-plugin": "^4.6.0",
  49. "@typescript-eslint/parser": "^4.6.0",
  50. "eslint": "^7.12.1",
  51. "eslint-config-prettier": "^6.15.0",
  52. "husky": "^4.3.0",
  53. "jest": "26.6.0",
  54. "jest-config": "26.6.0",
  55. "lint-staged": "^10.5.0",
  56. "prettier": "^2.1.2",
  57. "ts-jest": "^26.4.3",
  58. "ts-node": "^9.0.0",
  59. "typescript": "^4.0.5"
  60. },
  61. "peerDependencies": {
  62. "@solana/web3.js": "^0.86.1"
  63. }
  64. }