|
3 | 3 | "version": "2.0.0",
|
4 | 4 | "description": "A Helius Node.js SDK for building the future of Solana",
|
5 | 5 | "type": "module",
|
6 |
| - "main": "./dist/src/index.js", |
7 |
| - "types": "./dist/src/index.d.ts", |
8 | 6 | "exports": {
|
9 | 7 | ".": {
|
10 |
| - "import": "./dist/rpc/index.js" |
| 8 | + "types": "./dist/src/rpc/index.d.ts", |
| 9 | + "import": "./dist/src/rpc/index.js" |
| 10 | + }, |
| 11 | + "./rpc": { |
| 12 | + "types": "./dist/src/rpc/index.d.ts", |
| 13 | + "import": "./dist/src/rpc/index.js" |
| 14 | + }, |
| 15 | + "./rpc/eager": { |
| 16 | + "types": "./dist/src/rpc/createHelius.eager.d.ts", |
| 17 | + "import": "./dist/src/rpc/createHelius.eager.js" |
| 18 | + }, |
| 19 | + "./rpc/methods/*": { |
| 20 | + "types": "./dist/src/rpc/methods/*.d.ts", |
| 21 | + "import": "./dist/src/rpc/methods/*.js" |
| 22 | + }, |
| 23 | + "./transactions/*": { |
| 24 | + "types": "./dist/src/transactions/*.d.ts", |
| 25 | + "import": "./dist/src/transactions/*.js" |
| 26 | + }, |
| 27 | + "./rpc/wrapAutoSend": { |
| 28 | + "types": "./dist/src/rpc/wrapAutoSend.d.ts", |
| 29 | + "import": "./dist/src/rpc/wrapAutoSend.js" |
| 30 | + }, |
| 31 | + "./webhooks/*": { |
| 32 | + "types": "./dist/src/webhooks/*.d.ts", |
| 33 | + "import": "./dist/src/webhooks/*.js" |
| 34 | + }, |
| 35 | + "./enhanced/*": { |
| 36 | + "types": "./dist/src/enhanced/*.d.ts", |
| 37 | + "import": "./dist/src/enhanced/*.js" |
| 38 | + }, |
| 39 | + "./staking/*": { |
| 40 | + "types": "./dist/src/staking/*.d.ts", |
| 41 | + "import": "./dist/src/staking/*.js" |
| 42 | + }, |
| 43 | + "./websockets/*": { |
| 44 | + "types": "./dist/src/websockets/*.d.ts", |
| 45 | + "import": "./dist/src/websockets/*.js" |
| 46 | + }, |
| 47 | + "./zk/*": { |
| 48 | + "types": "./dist/src/zk/*.d.ts", |
| 49 | + "import": "./dist/src/zk/*.js" |
| 50 | + }, |
| 51 | + "./types/*": { |
| 52 | + "types": "./dist/src/types/*.d.ts", |
| 53 | + "import": "./dist/src/types/*.js" |
11 | 54 | },
|
12 |
| - "./rpc": "./dist/rpc/index.js", |
13 |
| - "./rpc/eager": "./dist/rpc/createHelius.eager.js", |
14 |
| - "./rpc/methods/*": "./dist/rpc/methods/*.js", |
15 |
| - "./transactions/*": "./dist/transactions/*.js", |
16 |
| - "./rpc/wrapAutoSend": "./dist/rpc/wrapAutoSend.js", |
17 |
| - "./webhooks/*": "./dist/webhooks/*.js", |
18 |
| - "./enhanced/*": "./dist/enhanced/*.js", |
19 |
| - "./staking/*": "./dist/staking/*.js", |
20 |
| - "./websockets/*": "./dist/websockets/*.js", |
21 |
| - "./zk/*": "./dist/zk/*.js", |
22 |
| - "./types/*": "./dist/types/*.js", |
23 | 55 | "./package.json": "./package.json"
|
24 | 56 | },
|
25 | 57 | "sideEffects": false,
|
26 | 58 | "scripts": {
|
27 | 59 | "test": "jest",
|
28 | 60 | "test:watch": "jest --watch",
|
29 | 61 | "test:coverage": "jest --coverage",
|
30 |
| - "build": "rollup -c", |
| 62 | + "build": "rimraf dist && rollup -c", |
31 | 63 | "prepare": "pnpm run build",
|
32 | 64 | "lint": "eslint --ext .ts,.tsx src",
|
33 | 65 | "format": "prettier --write 'src/**/*.{js,ts,json,md}'",
|
|
71 | 103 | "glob": "^11.0.3",
|
72 | 104 | "jest": "^30.0.4",
|
73 | 105 | "prettier": "^3.6.2",
|
| 106 | + "rimraf": "^6.0.1", |
74 | 107 | "rollup": "^4.44.2",
|
75 | 108 | "ts-jest": "^29.4.0",
|
76 | 109 | "ts-node": "^10.9.2",
|
|
0 commit comments