-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathpackage.json
92 lines (92 loc) · 2.56 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "@substrate/connect",
"version": "2.1.3",
"description": "Substrate-connect to Smoldot clients. Using either substrate extension with predefined clients or an internal smoldot client based on chainSpecs provided.",
"author": "Parity Team <[email protected]>",
"license": "GPL-3.0-only",
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"browser": {
"types": "./dist/browser/index.d.ts",
"default": "./dist/browser/index.js"
},
"import": {
"@substrate-connect/source": "./src/index.ts",
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./worker": {
"browser": {
"types": "./dist/browser/worker.d.ts",
"default": "./dist/browser/worker.js"
},
"import": {
"@substrate-connect/source": "./src/worker.ts",
"types": "./dist/esm/worker.d.ts",
"default": "./dist/esm/worker.js"
},
"require": {
"types": "./dist/commonjs/worker.d.ts",
"default": "./dist/commonjs/worker.js"
}
}
},
"files": [
"dist"
],
"tshy": {
"project": "./tsconfig.build.json",
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts",
"./worker": "./src/worker.ts"
},
"esmDialects": [
"browser"
],
"sourceDialects": [
"@substrate-connect/source"
],
"exclude": [
"src/**/*.test.ts"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/paritytech/substrate-connect.git"
},
"bugs": {
"url": "https://github.com/paritytech/substrate-connect/issues"
},
"homepage": "https://github.com/paritytech/substrate-connect#readme",
"scripts": {
"deep-clean": "npm run clean && rimraf dist node_modules",
"clean": "rimraf dist .tshy .tshy-build",
"build": "npm run clean && tshy",
"test": "vitest run --dangerouslyIgnoreUnhandledErrors --environment jsdom",
"lint": "eslint . --ext .js,.ts"
},
"dependencies": {
"@substrate/connect-extension-protocol": "workspace:^",
"@substrate/connect-known-chains": "workspace:^",
"@substrate/smoldot-discovery": "workspace:^",
"smoldot": "^2.0.34"
},
"devDependencies": {
"typescript": "5.6.2",
"vitest": "^2.1.4"
}
}