package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@project-serum/anchor",
  3. "version": "0.9.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": ">=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/** -w",
  19. "watch": "tsc -p tsconfig.cjs.json --watch",
  20. "prepublishOnly": "yarn build",
  21. "docs": "typedoc --excludePrivate --includeVersion --out ../docs/src/.vuepress/dist/ts/ --readme none src/index.ts"
  22. },
  23. "dependencies": {
  24. "@project-serum/borsh": "^0.2.2",
  25. "@solana/web3.js": "^1.17.0",
  26. "base64-js": "^1.5.1",
  27. "bn.js": "^5.1.2",
  28. "bs58": "^4.0.1",
  29. "buffer-layout": "^1.2.0",
  30. "camelcase": "^5.3.1",
  31. "crypto-hash": "^1.3.0",
  32. "eventemitter3": "^4.0.7",
  33. "find": "^0.3.0",
  34. "js-sha256": "^0.9.0",
  35. "pako": "^2.0.3",
  36. "snake-case": "^3.0.4",
  37. "toml": "^3.0.0"
  38. },
  39. "devDependencies": {
  40. "@commitlint/cli": "^11.0.0",
  41. "@commitlint/config-conventional": "^11.0.0",
  42. "@types/bn.js": "^4.11.6",
  43. "@types/bs58": "^4.0.1",
  44. "@types/crypto-hash": "^1.1.2",
  45. "@types/jest": "^26.0.15",
  46. "@types/pako": "^1.0.1",
  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. "typedoc": "^0.20.36",
  59. "typescript": "^4.0.5"
  60. }
  61. }