package.json 1.4 KB

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