package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "@pythnetwork/price-service-sdk",
  3. "version": "1.8.0",
  4. "description": "Pyth price service SDK",
  5. "homepage": "https://pyth.network",
  6. "main": "lib/index.js",
  7. "types": "lib/index.d.ts",
  8. "files": [
  9. "lib/**/*"
  10. ],
  11. "repository": {
  12. "type": "git",
  13. "url": "https://github.com/pyth-network/pyth-crosschain.git",
  14. "directory": "price_service/sdk/js"
  15. },
  16. "publishConfig": {
  17. "access": "public"
  18. },
  19. "scripts": {
  20. "build": "tsc",
  21. "gen-ts-schema": "quicktype --src-lang schema src/schemas/price_feed.json -o src/schemas/PriceFeed.ts --raw-type any --converters all-objects && prettier --write \"src/schemas/*.ts\"",
  22. "test:unit": "jest",
  23. "test:lint": "eslint src/ --max-warnings 0",
  24. "fix:format": "prettier --write \"src/**/*.ts\"",
  25. "fix:lint": "eslint src/ --fix --max-warnings 0",
  26. "prepublishOnly": "pnpm run build && pnpm test:unit && pnpm run test:lint",
  27. "preversion": "pnpm run test:lint",
  28. "version": "pnpm run format && git add -A src"
  29. },
  30. "keywords": [
  31. "pyth",
  32. "oracle"
  33. ],
  34. "license": "Apache-2.0",
  35. "devDependencies": {
  36. "@types/bn.js": "^5.1.5",
  37. "@types/jest": "^29.4.0",
  38. "@typescript-eslint/eslint-plugin": "^5.20.0",
  39. "@typescript-eslint/parser": "^5.20.0",
  40. "eslint": "^8.13.0",
  41. "jest": "^29.4.0",
  42. "prettier": "catalog:",
  43. "quicktype": "^23.0.76",
  44. "ts-jest": "^29.0.5",
  45. "typescript": "^4.6.3"
  46. },
  47. "dependencies": {
  48. "bn.js": "^5.2.1"
  49. }
  50. }