package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "@project-serum/anchor",
  3. "version": "0.17.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/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": "^26.0.15",
  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": "26.6.0",
  63. "jest-config": "26.6.0",
  64. "lint-staged": "^10.5.0",
  65. "prettier": "^2.1.2",
  66. "ts-jest": "^26.4.3",
  67. "ts-node": "^9.0.0",
  68. "typedoc": "^0.20.36",
  69. "typescript": "^4.4.3"
  70. }
  71. }