-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
134 lines (134 loc) · 3.87 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "mipd",
"description": "TypeScript Utilities for EIP-6963",
"version": "0.0.7",
"license": "MIT",
"repository": "wagmi-dev/mipd",
"scripts": {
"build": "pnpm run clean && pnpm run build:cjs && pnpm run build:esm && pnpm run build:types",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir ./dist/cjs --removeComments --verbatimModuleSyntax false && echo > ./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.build.json --module es2015 --outDir ./dist/esm && echo > ./dist/esm/package.json '{\"type\":\"module\",\"sideEffects\":false}'",
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"changeset": "changeset",
"changeset:release": "pnpm build && changeset publish",
"changeset:version": "changeset version && pnpm install --lockfile-only",
"clean": "rimraf dist *.tsbuildinfo",
"dev:react": "pnpm build && pnpm --filter vite-react dev",
"dev:svelte": "pnpm build && pnpm --filter vite-svelte dev",
"dev:vue": "pnpm build && pnpm --filter vite-vue dev",
"format": "rome format . --write",
"lint": "rome check .",
"lint:fix": "pnpm lint --apply",
"preinstall": "npx only-allow pnpm",
"prepare": "npx simple-git-hooks",
"prepublishOnly": "bun scripts/prepublishOnly.ts",
"size": "size-limit",
"test": "vitest dev",
"test:cov": "vitest run --coverage",
"test:typecheck": "vitest typecheck",
"typecheck": "tsc --noEmit"
},
"files": [
"dist",
"!dist/**/*.tsbuildinfo",
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.test-d.ts"
],
"sideEffects": false,
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typings": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/cjs/index.js"
},
"./window": {
"types": "./dist/types/window.d.ts",
"import": "./dist/esm/window.js",
"default": "./dist/cjs/window.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"window": [
"./src/window.d.ts"
]
}
},
"peerDependencies": {
"typescript": ">=5.0.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@size-limit/preset-small-lib": "^8.2.6",
"@types/fs-extra": "^11.0.1",
"@types/node": "^20.3.1",
"@vitest/coverage-v8": "^0.32.2",
"bun": "^0.5.9",
"fs-extra": "^11.1.1",
"jsdom": "^22.1.0",
"rimraf": "^5.0.1",
"rome": "~12.1.3",
"simple-git-hooks": "^2.8.1",
"size-limit": "^8.2.6",
"typescript": "^5.0.4",
"viem": "^2.9.1",
"vite": "^4.3.9",
"vitest": "^0.32.2"
},
"contributors": [
"jxom.eth <j@wagmi.sh>",
"awkweb.eth <t@wagmi.sh>"
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/wagmi-dev"
}
],
"keywords": [
"eth",
"ethereum",
"dapps",
"wallet",
"web3",
"eip",
"6963"
],
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
"packageManager": "pnpm@8.3.1",
"size-limit": [
{
"name": "import { createStore } from 'mipd'",
"path": "./dist/esm/index.js",
"limit": "400 B",
"import": "{ createStore }"
},
{
"name": "import { requestProviders } from 'mipd'",
"path": "./dist/esm/index.js",
"limit": "129 B",
"import": "{ requestProviders }"
},
{
"name": "import { announceProvider } from 'mipd'",
"path": "./dist/esm/index.js",
"limit": "132 B",
"import": "{ announceProvider }"
}
]
}