|
| 1 | +{ |
| 2 | + "name": "@pythnetwork/pyth-lazer-publisher-sdk", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "Pyth Lazer Publisher SDK", |
| 5 | + "publishConfig": { |
| 6 | + "access": "public" |
| 7 | + }, |
| 8 | + "files": [ |
| 9 | + "dist/**/*" |
| 10 | + ], |
| 11 | + "main": "./dist/cjs/index.js", |
| 12 | + "types": "./dist/cjs/index.d.ts", |
| 13 | + "exports": { |
| 14 | + "import": { |
| 15 | + "types": "./dist/esm/index.d.ts", |
| 16 | + "default": "./dist/esm/index.js" |
| 17 | + }, |
| 18 | + "require": { |
| 19 | + "types": "./dist/cjs/index.d.ts", |
| 20 | + "default": "./dist/cjs/index.js" |
| 21 | + } |
| 22 | + }, |
| 23 | + "scripts": { |
| 24 | + "build:proto-codegen": "mkdir -p src/generated && pnpm exec pbjs -t static-module -w es6 -o src/generated/proto.js ../proto/*.proto && pnpm exec pbts -o src/generated/proto.d.ts src/generated/proto.js", |
| 25 | + "build:cjs": "tsc --project tsconfig.build.json --verbatimModuleSyntax false --module commonjs --outDir ./dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json", |
| 26 | + "build:esm": "tsc --project tsconfig.build.json --outDir ./dist/esm && echo '{\"type\":\"module\"}' > dist/esm/package.json", |
| 27 | + "fix:lint": "eslint --fix . --max-warnings 0", |
| 28 | + "test:lint": "eslint . --max-warnings 0", |
| 29 | + "test:types": "tsc", |
| 30 | + "test:format": "prettier --check .", |
| 31 | + "fix:format": "prettier --write .", |
| 32 | + "example": "node --loader ts-node/esm examples/index.js", |
| 33 | + "doc": "typedoc --out docs/typedoc src", |
| 34 | + "prepublishOnly": "pnpm run build", |
| 35 | + "publish": "pnpm run script -- publish" |
| 36 | + }, |
| 37 | + "type": "module", |
| 38 | + "homepage": "https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/publisher_sdk/js", |
| 39 | + "repository": { |
| 40 | + "type": "git", |
| 41 | + "url": "https://github.com/pyth-network/pyth-crosschain", |
| 42 | + "directory": "lazer/publisher_sdk/js" |
| 43 | + }, |
| 44 | + "keywords": [ |
| 45 | + "pyth", |
| 46 | + "oracle" |
| 47 | + ], |
| 48 | + "license": "Apache-2.0", |
| 49 | + "devDependencies": { |
| 50 | + "@cprussin/eslint-config": "catalog:", |
| 51 | + "@cprussin/tsconfig": "catalog:", |
| 52 | + "@types/node": "^18.19.54", |
| 53 | + "eslint": "catalog:", |
| 54 | + "prettier": "catalog:", |
| 55 | + "protobufjs": "^7.4.0", |
| 56 | + "protobufjs-cli": "^1.1.3", |
| 57 | + "ts-node": "catalog:", |
| 58 | + "typedoc": "^0.26.8", |
| 59 | + "typescript": "catalog:" |
| 60 | + } |
| 61 | +} |
0 commit comments