package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "@pythnetwork/pyth-lazer-sui-js",
  3. "version": "0.1.2",
  4. "description": "TypeScript SDK for the Pyth Lazer Sui contract",
  5. "license": "Apache-2.0",
  6. "type": "module",
  7. "engines": {
  8. "node": ">=22.16.0",
  9. "pnpm": ">=10.19.0"
  10. },
  11. "files": [
  12. "dist/**/*"
  13. ],
  14. "exports": {
  15. "./client": {
  16. "require": {
  17. "default": "./dist/cjs/client.js",
  18. "types": "./dist/cjs/client.d.ts"
  19. },
  20. "import": {
  21. "default": "./dist/esm/client.js",
  22. "types": "./dist/esm/client.d.ts"
  23. }
  24. },
  25. "./package.json": "./package.json"
  26. },
  27. "sideEffects": false,
  28. "scripts": {
  29. "build": "ts-duality --clean",
  30. "fix:format": "prettier --write .",
  31. "fix:lint": "eslint --fix .",
  32. "test:format": "prettier --check .",
  33. "test:lint": "eslint . --max-warnings 0",
  34. "test:types": "tsc",
  35. "example:fetch-and-verify": "tsx examples/fetch-and-verify-update.ts",
  36. "clean": "rm -rf ./dist"
  37. },
  38. "dependencies": {
  39. "@mysten/sui": "catalog:",
  40. "@pythnetwork/pyth-lazer-sdk": "workspace:*",
  41. "@types/yargs": "catalog:",
  42. "yargs": "catalog:"
  43. },
  44. "devDependencies": {
  45. "@cprussin/eslint-config": "catalog:",
  46. "@cprussin/tsconfig": "catalog:",
  47. "@types/node": "catalog:",
  48. "eslint": "catalog:",
  49. "prettier": "catalog:"
  50. },
  51. "publishConfig": {
  52. "access": "public"
  53. },
  54. "packageManager": "pnpm@10.19.0"
  55. }