package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 --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. "bn.js": "^5.1.2",
  29. "buffer-layout": "^1.2.0"
  30. },
  31. "devDependencies": {
  32. "@commitlint/cli": "^8.2.0",
  33. "@commitlint/config-conventional": "^8.2.0",
  34. "@types/jest": "^26.0.15",
  35. "@typescript-eslint/eslint-plugin": "^4.6.0",
  36. "@typescript-eslint/parser": "^4.6.0",
  37. "eslint": "^7.12.1",
  38. "eslint-config-prettier": "^6.15.0",
  39. "husky": "^4.3.0",
  40. "jest": "26.6.0",
  41. "jest-config": "26.6.0",
  42. "lint-staged": "^10.5.0",
  43. "prettier": "^2.1.2",
  44. "ts-jest": "^26.4.3",
  45. "ts-node": "^9.0.0",
  46. "typescript": "^4.0.5"
  47. },
  48. "peerDependencies": {
  49. "@solana/web3.js": "^0.86.1"
  50. }
  51. }