-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
132 lines (132 loc) · 5.08 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
{
"name": "@biconomy/sdk",
"version": "0.0.10",
"author": "Biconomy",
"repository": "github:bcnmy/sdk",
"main": "./dist/_cjs/index.js",
"module": "./dist/_esm/index.js",
"devDependencies": {
"@biomejs/biome": "1.6.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/wallet": "^5.7.0",
"@pimlico/alto": "^0.0.4",
"@size-limit/esbuild-why": "^11",
"@size-limit/preset-small-lib": "^11",
"@types/bun": "latest",
"@types/yargs": "^17.0.33",
"@vitest/coverage-v8": "^1.3.1",
"buffer": "^6.0.3",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"ethers": "^6.13.2",
"execa": "^9.3.1",
"get-port": "^7.1.0",
"gh-pages": "^6.1.1",
"nexus": "github:bcnmy/nexus#773943fb7bf6cd14a0dc6dcb9f513db53213d1d5",
"prool": "^0.0.16",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"size-limit": "^11.1.5",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"tslib": "^2.6.3",
"typedoc": "^0.25.9",
"viem": "2.21.6",
"vitest": "^1.3.1",
"yargs": "^17.7.2"
},
"peerDependencies": {
"typescript": "^5",
"viem": "^2.20.0",
"@rhinestone/module-sdk": "^0.1.25"
},
"exports": {
".": {
"types": "./dist/_types/index.d.ts",
"import": "./dist/_esm/index.js",
"default": "./dist/_cjs/index.js"
},
"./account": {
"types": "./_types/account/index.d.ts",
"import": "./_esm/account/index.js",
"default": "./_cjs/account/index.js"
},
"./bundler": {
"types": "./_types/bundler/index.d.ts",
"import": "./_esm/bundler/index.js",
"default": "./_cjs/bundler/index.js"
},
"./paymaster": {
"types": "./_types/paymaster/index.d.ts",
"import": "./_esm/paymaster/index.js",
"default": "./_cjs/paymaster/index.js"
},
"./modules": {
"types": "./_types/modules/index.d.ts",
"import": "./_esm/modules/index.js",
"default": "./_cjs/modules/index.js"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"description": "SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.",
"files": [
"dist/*",
"README.md"
],
"homepage": "https://biconomy.io",
"keywords": [
"erc-7579",
"modular smart account",
"account abstraction",
"biconomy",
"sdk"
],
"license": "MIT",
"scripts": {
"format": "biome format . --write",
"lint": "biome check .",
"lint:fix": "bun run lint --apply",
"dev": "bun link && concurrently \"bun run esm:watch\" \"bun run cjs:watch\" \"bun run esm:watch:aliases\" \"bun run cjs:watch:aliases\"",
"build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
"clean": "rimraf ./dist/_esm ./dist/_cjs ./dist/_types ./dist/tsconfig",
"test": "vitest -c ./src/test/vitest.config.ts",
"test:watch": "bun run test dev",
"playground": "RUN_PLAYGROUND=true vitest -c ./src/test/vitest.config.ts -t=playground",
"playground:watch": "RUN_PLAYGROUND=true bun run test -t=playground --watch",
"size": "size-limit",
"docs": "typedoc --tsconfig ./tsconfig/tsconfig.esm.json",
"docs:deploy": "bun run docs && gh-pages -d docs",
"changeset": "changeset",
"changeset:release": "bun run build && changeset publish",
"changeset:version": "changeset version && bun install --lockfile-only",
"changeset:release:canary": "original_name=$(bun run scripts/publish:canary.ts | grep ORIGINAL_NAME | cut -d'=' -f2) && npm publish && git checkout package.json && git tag -l '*-canary.*' | xargs git tag -d && git fetch --tags && git reset --hard && git clean -fd && echo \"Published canary version of $original_name as latest\"",
"esm:watch": "tsc --project ./tsconfig/tsconfig.esm.json --watch",
"cjs:watch": "tsc --project ./tsconfig/tsconfig.cjs.json --watch",
"esm:watch:aliases": "tsc-alias -p ./tsconfig/tsconfig.esm.json --watch",
"cjs:watch:aliases": "tsc-alias -p ./tsconfig/tsconfig.cjs.json --watch",
"build:cjs": "tsc --project ./tsconfig/tsconfig.cjs.json && tsc-alias -p ./tsconfig/tsconfig.cjs.json && echo > ./dist/_cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project ./tsconfig/tsconfig.esm.json && tsc-alias -p ./tsconfig/tsconfig.esm.json && echo > ./dist/_esm/package.json '{\"type\": \"module\",\"sideEffects\":false}'",
"build:types": "tsc --project ./tsconfig/tsconfig.types.json && tsc-alias -p ./tsconfig/tsconfig.types.json",
"fetch:deployment": "bun run ./scripts/fetch:deployment.ts && bun run lint --apply-unsafe",
"fetch:deployment:raw": "bun run ./scripts/fetch:deployment.ts"
},
"sideEffects": false,
"simple-git-hooks": {
"pre-commit": "bun run format && bun run lint:fix",
"commit-msg": "npx --no -- commitlint --edit ${1}"
},
"type": "module",
"types": "./dist/_types/index.d.ts",
"typings": "./dist/_types/index.d.ts",
"dependencies": {
"@silencelaboratories/walletprovider-sdk": "^0.3.0"
}
}