-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 3.5 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": "@biconomy/passkey",
"version": "0.0.2",
"author": "Biconomy",
"repository": "github:bcnmy/passkey",
"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",
"@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",
"gh-pages": "^6.1.1",
"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",
"vitest": "^1.3.1",
"yargs": "^17.7.2"
},
"dependencies": {
"typescript": "^5",
"viem": "^2.20.0",
"@biconomy/sdk": "latest",
"@simplewebauthn/browser": "^8.3.4",
"@simplewebauthn/typescript-types": "^8.3.4"
},
"exports": {
".": {
"types": "./dist/_types/index.d.ts",
"import": "./dist/_esm/index.js",
"default": "./dist/_cjs/index.js"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"description": "Passkey validator plug in for Biconomy SDK",
"files": [
"dist/*",
"README.md"
],
"homepage": "https://biconomy.io",
"keywords": [
"erc-7579",
"modular smart account",
"account abstraction",
"biconomy",
"sdk",
"passkey"
],
"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",
"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"
},
"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"
}