package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "lib/**/*"
  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 && tsc && copyfiles -u 1 \"src/**/*.d.ts\" lib",
  25. "format": "prettier --write \"src/**/*.ts\"",
  26. "lint": "eslint src/",
  27. "prepublishOnly": "pnpm run build && pnpm run lint",
  28. "preversion": "pnpm run lint",
  29. "version": "pnpm run format && git add -A src",
  30. "generate-fuel-types": "pnpm fuels typegen -i ../../contracts/pyth-contract/out/release/*-abi.json -o ./src/types && prettier --write \"./src/types/**/*.ts\""
  31. },
  32. "keywords": [
  33. "pyth",
  34. "oracle"
  35. ],
  36. "license": "Apache-2.0",
  37. "devDependencies": {
  38. "@typescript-eslint/eslint-plugin": "^7.7.0",
  39. "@typescript-eslint/parser": "^7.7.0",
  40. "@pythnetwork/hermes-client": "workspace:*",
  41. "copyfiles": "^2.4.1",
  42. "eslint": "^8.14.0",
  43. "prettier": "^2.6.2",
  44. "ts-node": "^10.9.2",
  45. "typescript": "^5.4.5"
  46. },
  47. "dependencies": {
  48. "fuels": "^0.96.1"
  49. }
  50. }