package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "@pythnetwork/pyth-fuel-js",
  3. "version": "1.0.7",
  4. "description": "Pyth Network Fuel Utils in JS",
  5. "homepage": "https://pyth.network",
  6. "author": {
  7. "name": "Pyth Data Association"
  8. },
  9. "main": "lib/index.js",
  10. "types": "lib/index.d.ts",
  11. "files": [
  12. "dist/**/*"
  13. ],
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/pyth-network/pyth-crosschain",
  17. "directory": "target_chains/fuel/sdk/js"
  18. },
  19. "publishConfig": {
  20. "access": "public"
  21. },
  22. "scripts": {
  23. "usage-example": "ts-node src/examples/usage.ts",
  24. "build": "pnpm run generate-fuel-types && ts-duality",
  25. "clean": "rm -rf ./dist",
  26. "test:format": "prettier --check \"src/**/*.ts\"",
  27. "test:lint": "eslint src/ --max-warnings 0",
  28. "fix:format": "prettier --write \"src/**/*.ts\"",
  29. "fix:lint": "eslint src/ --fix --max-warnings 0",
  30. "prepublishOnly": "pnpm run build && pnpm run test:lint",
  31. "preversion": "pnpm run test:lint",
  32. "version": "pnpm run test:format && git add -A src",
  33. "generate-fuel-types": "pnpm fuels typegen -i ../../contracts/pyth-contract/out/release/*-abi.json -o ./src/types && pnpm run fix:format"
  34. },
  35. "keywords": [
  36. "pyth",
  37. "oracle"
  38. ],
  39. "license": "Apache-2.0",
  40. "devDependencies": {
  41. "@pythnetwork/hermes-client": "workspace:*",
  42. "@types/node": "catalog:",
  43. "@typescript-eslint/eslint-plugin": "^7.7.0",
  44. "@typescript-eslint/parser": "^7.7.0",
  45. "copyfiles": "^2.4.1",
  46. "eslint": "^8.14.0",
  47. "prettier": "catalog:",
  48. "ts-node": "catalog:"
  49. },
  50. "dependencies": {
  51. "fuels": "catalog:"
  52. },
  53. "engines": {
  54. "node": ">=22.16.0",
  55. "pnpm": ">=10.19.0"
  56. },
  57. "packageManager": "pnpm@10.19.0",
  58. "type": "module"
  59. }