package.json 2.5 KB

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