UNPKG

@pythnetwork/price-service-sdk

Version:
51 lines (50 loc) 1.46 kB
{ "name": "@pythnetwork/price-service-sdk", "version": "1.8.0", "description": "Pyth price service SDK", "homepage": "https://pyth.network", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib/**/*" ], "repository": { "type": "git", "url": "https://github.com/pyth-network/pyth-crosschain.git", "directory": "price_service/sdk/js" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsc", "format": "prettier --write \"src/**/*.ts\"", "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\"", "test:unit": "jest", "test:lint": "eslint src/", "prepublishOnly": "pnpm run build && pnpm test:unit && pnpm run test:lint", "preversion": "pnpm run test:lint", "version": "pnpm run format && git add -A src" }, "keywords": [ "pyth", "oracle" ], "license": "Apache-2.0", "devDependencies": { "@types/bn.js": "^5.1.5", "@types/jest": "^29.4.0", "@typescript-eslint/eslint-plugin": "^5.20.0", "@typescript-eslint/parser": "^5.20.0", "eslint": "^8.13.0", "jest": "^29.4.0", "prettier": "^2.6.2", "quicktype": "^23.0.76", "ts-jest": "^29.0.5", "typescript": "^4.6.3" }, "dependencies": { "bn.js": "^5.2.1" }, "gitHead": "57670ca732de0be3ed7926f38f4853f01cd816fa" }