package.json 1.3 KB

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