| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- {
- "name": "@pythnetwork/price-service-sdk",
- "version": "1.8.0",
- "description": "Pyth price service SDK",
- "homepage": "https://pyth.network",
- "main": "./dist/cjs/index.js",
- "types": "./dist/cjs/index.d.ts",
- "files": [
- "dist/**/*"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/pyth-network/pyth-crosschain.git",
- "directory": "price_service/sdk/js"
- },
- "publishConfig": {
- "access": "public"
- },
- "scripts": {
- "build": "ts-duality",
- "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/ --max-warnings 0",
- "fix:format": "prettier --write \"src/**/*.ts\"",
- "fix:lint": "eslint src/ --fix --max-warnings 0",
- "prepublishOnly": "pnpm run build && pnpm test:unit && pnpm run test:lint",
- "preversion": "pnpm run test:lint",
- "version": "pnpm run format && git add -A src",
- "clean": "rm -rf ./dist"
- },
- "keywords": [
- "pyth",
- "oracle"
- ],
- "license": "Apache-2.0",
- "devDependencies": {
- "@cprussin/eslint-config": "catalog:",
- "@types/bn.js": "^5.1.5",
- "@types/jest": "^29.4.0",
- "eslint": "catalog:",
- "jest": "^29.4.0",
- "prettier": "catalog:",
- "quicktype": "^23.0.76",
- "ts-jest": "^29.0.5"
- },
- "dependencies": {
- "bn.js": "^5.2.1"
- },
- "engines": {
- "node": ">=22.14.0",
- "pnpm": ">=10.7.0"
- },
- "packageManager": "pnpm@10.19.0",
- "type": "module",
- "exports": {
- "./AccumulatorUpdateData": {
- "require": {
- "default": "./dist/cjs/AccumulatorUpdateData.js",
- "types": "./dist/cjs/AccumulatorUpdateData.d.ts"
- },
- "import": {
- "default": "./dist/esm/AccumulatorUpdateData.js",
- "types": "./dist/esm/AccumulatorUpdateData.d.ts"
- }
- },
- ".": {
- "require": {
- "default": "./dist/cjs/index.js",
- "types": "./dist/cjs/index.d.ts"
- },
- "import": {
- "default": "./dist/esm/index.js",
- "types": "./dist/esm/index.d.ts"
- }
- },
- "./schemas/PriceFeed": {
- "require": {
- "default": "./dist/cjs/schemas/PriceFeed.js",
- "types": "./dist/cjs/schemas/PriceFeed.d.ts"
- },
- "import": {
- "default": "./dist/esm/schemas/PriceFeed.js",
- "types": "./dist/esm/schemas/PriceFeed.d.ts"
- }
- },
- "./package.json": "./package.json"
- },
- "module": "./dist/esm/index.js"
- }
|