|
8 | 8 | },
|
9 | 9 | "license": "MIT",
|
10 | 10 | "type": "module",
|
11 |
| - "main": "./dist/commonjs/index.js", |
12 |
| - "types": "./dist/commonjs/index.d.ts", |
13 |
| - "module": "./dist/esm/index.js", |
| 11 | + "main": "./dist/commonjs/mod.js", |
| 12 | + "types": "./dist/commonjs/mod.d.ts", |
| 13 | + "module": "./dist/esm/mod.js", |
14 | 14 | "exports": {
|
15 | 15 | "./package.json": "./package.json",
|
16 | 16 | ".": {
|
17 | 17 | "import": {
|
18 |
| - "@substrate-connect/source": "./src/index.ts", |
19 |
| - "types": "./dist/esm/index.d.ts", |
20 |
| - "default": "./dist/esm/index.js" |
| 18 | + "@substrate-connect/source": "./src/mod.ts", |
| 19 | + "types": "./dist/esm/mod.d.ts", |
| 20 | + "default": "./dist/esm/mod.js" |
21 | 21 | },
|
22 | 22 | "require": {
|
23 |
| - "types": "./dist/commonjs/index.d.ts", |
24 |
| - "default": "./dist/commonjs/index.js" |
| 23 | + "types": "./dist/commonjs/mod.d.ts", |
| 24 | + "default": "./dist/commonjs/mod.js" |
25 | 25 | }
|
26 | 26 | }
|
27 | 27 | },
|
|
32 | 32 | "project": "./tsconfig.build.json",
|
33 | 33 | "exports": {
|
34 | 34 | "./package.json": "./package.json",
|
35 |
| - ".": "./src/index.ts" |
| 35 | + ".": "./src/mod.ts" |
36 | 36 | },
|
37 | 37 | "sourceDialects": [
|
38 | 38 | "@substrate-connect/source"
|
|
0 commit comments