package.json 1.5 KB

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