|
| 1 | +{ |
| 2 | + "name": "@pythnetwork/pyth-lazer-solana-sdk", |
| 3 | + "version": "0.1.0", |
| 4 | + "description": "Pyth Lazer Solana 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:cjs": "swc src -d dist/cjs --strip-leading-paths --copy-files -C module.type=commonjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json", |
| 25 | + "build:esm": "swc src -d dist/esm --strip-leading-paths --copy-files -C jsc.experimental.keepImportAttributes=true && echo '{\"type\":\"module\"}' > dist/esm/package.json", |
| 26 | + "fix:lint": "eslint --fix . --max-warnings 0", |
| 27 | + "test:lint": "eslint . --max-warnings 0", |
| 28 | + "test:types": "tsc", |
| 29 | + "test:format": "prettier --check .", |
| 30 | + "fix:format": "prettier --write .", |
| 31 | + "doc": "typedoc --out docs/typedoc src" |
| 32 | + }, |
| 33 | + "devDependencies": { |
| 34 | + "@cprussin/eslint-config": "catalog:", |
| 35 | + "@cprussin/tsconfig": "catalog:", |
| 36 | + "@swc/cli": "^0.7.8", |
| 37 | + "@swc/core": "^1.13.2", |
| 38 | + "@types/node": "^18.19.54", |
| 39 | + "eslint": "catalog:", |
| 40 | + "prettier": "catalog:", |
| 41 | + "typedoc": "^0.26.8", |
| 42 | + "typescript": "catalog:" |
| 43 | + }, |
| 44 | + "bugs": { |
| 45 | + "url": "https://github.com/pyth-network/pyth-crosschain/issues" |
| 46 | + }, |
| 47 | + "type": "module", |
| 48 | + "homepage": "https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/sdk/js-solana", |
| 49 | + "repository": { |
| 50 | + "type": "git", |
| 51 | + "url": "https://github.com/pyth-network/pyth-crosschain", |
| 52 | + "directory": "lazer/sdk/js-solana" |
| 53 | + }, |
| 54 | + "keywords": [ |
| 55 | + "pyth", |
| 56 | + "oracle" |
| 57 | + ], |
| 58 | + "license": "Apache-2.0", |
| 59 | + "dependencies": { |
| 60 | + "@solana/buffer-layout": "^4.0.1", |
| 61 | + "@solana/web3.js": "catalog:" |
| 62 | + } |
| 63 | +} |
0 commit comments