-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
109 lines (109 loc) · 3.75 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
{
"name": "@biconomy/use-aa",
"version": "1.1.1",
"type": "module",
"module": "./dist/_esm/index.js",
"types": "./dist/_types/index.d.ts",
"typings": "./dist/_types/index.d.ts",
"description": "React SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.",
"keywords": [
"erc-7579",
"erc-4337",
"modular smart account",
"account abstraction",
"biconomy",
"sdk",
"react",
"hooks"
],
"scripts": {
"dev": "bun link && concurrently \"bun run esm:watch\" \"bun run esm:watch:aliases\"",
"build": "bun run clean && bun run build:esm && bun run build:types",
"clean": "rimraf ./dist/_esm ./dist/_types ./dist/tsconfig",
"build:esm": "tsc --project ./tsconfig.esm.json && tsc-alias -p ./tsconfig.esm.json && echo > ./dist/_esm/package.json '{\"type\": \"module\",\"sideEffects\":false}'",
"build:types": "tsc --project ./tsconfig.types.json && tsc-alias -p ./tsconfig.types.json",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"serve": "npx serve ./storybook-static",
"esm:watch": "tsc --project ./tsconfig.esm.json --watch",
"esm:watch:aliases": "tsc-alias -p ./tsconfig.esm.json --watch",
"changeset": "changeset",
"changeset:release": "bun run build && changeset publish",
"changeset:version": "changeset version && bun install --lockfile-only",
"size": "size-limit",
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "bun run lint --apply",
"docs": "typedoc --tsconfig ./tsconfig.esm.json",
"docs:deploy": "bun run docs && gh-pages -d docs",
"docs:mdx": "typedoc --tsconfig ./tsconfig.esm.json --plugin typedoc-plugin-markdown --out ./mdx"
},
"exports": {
".": {
"types": "./dist/_types/index.d.ts",
"import": "./dist/_esm/index.js"
}
},
"devDependencies": {
"@biomejs/biome": "latest",
"@changesets/cli": "^2.27.5",
"@chromatic-com/storybook": "^1.3.5",
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@rainbow-me/rainbowkit": "^2.0.7",
"@size-limit/esbuild-why": "^11",
"@size-limit/preset-small-lib": "^11",
"@storybook/addon-essentials": "^8.0.10",
"@storybook/addon-interactions": "^8.0.10",
"@storybook/addon-links": "^8.0.10",
"@storybook/addon-onboarding": "^8.0.10",
"@storybook/blocks": "^8.0.10",
"@storybook/react": "^8.0.10",
"@storybook/react-vite": "^8.0.10",
"@storybook/test": "^8.0.10",
"@testing-library/react": "^15.0.7",
"@types/node": "^20.11.17",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-storybook": "^0.8.0",
"gh-pages": "^6.1.1",
"happy-dom": "^13.3.8",
"jsdom": "^24.0.0",
"node-gyp-build": "^4.8.1",
"rimraf": "^5.0.5",
"size-limit": "^11",
"storybook": "^8.0.10",
"tsc-alias": "^1.8.8",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.3",
"typescript": "^5.2.2",
"vite": "^5.1.0",
"vitest": "^1.2.2"
},
"peerDependencies": {
"@tanstack/react-query": "^5.18.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "^2",
"@biconomy/account": "^4.5.4",
"wagmi": "^2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"simple-git-hooks": {
"pre-commit": "bun run format && bun run lint:fix",
"commit-msg": "npx --no -- commitlint --edit ${1}"
}
}