package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "anchor",
  3. "version": "0.0.0",
  4. "description": "Anchor client",
  5. "main": "dist/cjs/index.js",
  6. "module": "dist/esm/index.js",
  7. "types": "dist/index.d.ts",
  8. "publishConfig": {
  9. "access": "public"
  10. },
  11. "engines": {
  12. "node": ">=10"
  13. },
  14. "scripts": {
  15. "build": "yarn build:node",
  16. "build:node": "tsc && tsc -p tsconfig.cjs.json",
  17. "watch": "tsc -p tsconfig.cjs.json --watch",
  18. "test:unit": "jest test/unit",
  19. "test:integration": "jest test/integration --detectOpenHandles",
  20. "coverage": "jest --coverage test/unit",
  21. "prepublishOnly": "yarn build"
  22. },
  23. "dependencies": {
  24. "@project-serum/borsh": "^0.0.1-beta.0",
  25. "@project-serum/common": "^0.0.1-beta.0",
  26. "@project-serum/lockup": "^0.0.1-beta.0",
  27. "@solana/spl-token": "0.0.11",
  28. "@types/bn.js": "^4.11.6",
  29. "bn.js": "^5.1.2",
  30. "buffer-layout": "^1.2.0",
  31. "camelcase": "^5.3.1",
  32. "find": "^0.3.0"
  33. },
  34. "devDependencies": {
  35. "@commitlint/cli": "^8.2.0",
  36. "@commitlint/config-conventional": "^8.2.0",
  37. "@types/jest": "^26.0.15",
  38. "@typescript-eslint/eslint-plugin": "^4.6.0",
  39. "@typescript-eslint/parser": "^4.6.0",
  40. "eslint": "^7.12.1",
  41. "eslint-config-prettier": "^6.15.0",
  42. "husky": "^4.3.0",
  43. "jest": "26.6.0",
  44. "jest-config": "26.6.0",
  45. "lint-staged": "^10.5.0",
  46. "prettier": "^2.1.2",
  47. "ts-jest": "^26.4.3",
  48. "ts-node": "^9.0.0",
  49. "typescript": "^4.0.5"
  50. },
  51. "peerDependencies": {
  52. "@solana/web3.js": "^0.86.1"
  53. }
  54. }