package.json 2.1 KB

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