-
Notifications
You must be signed in to change notification settings - Fork 220
/
Copy pathpackage.json
70 lines (70 loc) · 2.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "@pythnetwork/pyth-lazer-sdk",
"version": "0.2.0",
"description": "Pyth Lazer SDK",
"publishConfig": {
"access": "public"
},
"files": [
"dist/**/*"
],
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"scripts": {
"build:cjs": "tsc --project tsconfig.build.json --verbatimModuleSyntax false --module commonjs --outDir ./dist/cjs && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"build:esm": "tsc --project tsconfig.build.json --outDir ./dist/esm && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"fix:lint": "eslint --fix .",
"test:lint": "eslint .",
"test:types": "tsc",
"example": "node --loader ts-node/esm examples/index.js",
"doc": "typedoc --out docs/typedoc src",
"publish": "pnpm run script -- publish"
},
"devDependencies": {
"@cprussin/eslint-config": "^3.0.0",
"@cprussin/tsconfig": "^3.0.1",
"@eslint/js": "^9.12.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^18.19.54",
"@types/ws": "^8.5.12",
"eslint": "^9.12.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typedoc": "^0.26.8",
"typescript": ">=5.5.0 < 5.6.0",
"typescript-eslint": "^8.8.0"
},
"bugs": {
"url": "https://github.com/pyth-lazer-sdk/pyth-lazer-sdk/issues"
},
"type": "module",
"homepage": "https://github.com/pyth-network/pyth-crosschain/tree/main/lazer/sdk/js",
"repository": {
"type": "git",
"url": "https://github.com/pyth-network/pyth-crosschain",
"directory": "lazer/sdk/js"
},
"keywords": [
"pyth",
"oracle"
],
"license": "Apache-2.0",
"dependencies": {
"@solana/buffer-layout": "^4.0.1",
"@solana/web3.js": "^1.98.0",
"isomorphic-ws": "^5.0.0",
"ws": "^8.18.0",
"@isaacs/ttlcache": "^1.4.1",
"ts-log": "^2.2.7"
}
}