-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathpackage.json
57 lines (57 loc) · 1.41 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
{
"name": "@substrate/discovery",
"version": "0.2.1",
"author": "Parity Technologies (https://github.com/paritytech)",
"repository": {
"type": "git",
"url": "git+https://github.com/paritytech/substrate-connect.git"
},
"license": "MIT",
"type": "module",
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"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"
}
}
},
"files": [
"dist"
],
"tshy": {
"project": "./tsconfig.build.json",
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
},
"sourceDialects": [
"@substrate-connect/source"
]
},
"scripts": {
"deep-clean": "npm run clean && rimraf dist node_modules",
"clean": "rimraf dist .tshy .tshy-build",
"build": "npm run clean && tshy",
"dev": "pnpm build --watch",
"lint": "prettier --check README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\""
},
"prettier": {
"printWidth": 80,
"semi": false,
"trailingComma": "all"
},
"devDependencies": {
"typescript": "5.6.2",
"vitest": "^2.1.4"
}
}