Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.05 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.05 KB
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
{
"name": "near-safe",
"version": "0.0.0",
"license": "MIT",
"description": "An SDK for controlling Ethereum Smart Accounts via ERC4337 from a Near Account.",
"author": "bh2smith",
"repository": {
"type": "git",
"url": "https://github.com/BitteProtocol/near-safe"
},
"bugs": {
"url": "https://github.com/BitteProtocol/near-safe/issues"
},
"engines": {
"node": ">=20.0.0"
},
"keywords": [
"near",
"ethereum",
"safe",
"account-abstraction",
"erc4337",
"chain-signatures"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "rm -fr dist/* && bun build:esm && bun build:cjs",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:deployments": "tsx scripts/safe-deployments.ts && prettier --write 'src/_gen/**/*.ts'",
"start": "bun example",
"example": "tsx examples/send-tx.ts",
"lint": "prettier --check '{src,examples,tests}/**/*.{js,jsx,ts,tsx}' && eslint . --ignore-pattern dist/",
"fmt": "prettier --write '{src,examples,tests}/**/*.{js,jsx,ts,tsx}' && bun lint --fix",
"all": "bun fmt && bun lint && bun build"
},
"dependencies": {
"@safe-global/safe-gateway-typescript-sdk": "^3.23.1",
"glob": "^11.0.3",
"near-api-js": "^6.4.0",
"near-ca": "0.12.1",
"semver": "^7.7.3",
"viem": "^2.38.6"
},
"devDependencies": {
"@duneanalytics/client-sdk": "^0.2.5",
"@safe-global/safe-deployments": "^1.37.47",
"@safe-global/safe-modules-deployments": "^2.2.18",
"@types/jest": "^30.0.0",
"@types/node": "^24.9.2",
"@types/semver": "^7.7.1",
"@types/yargs": "^17.0.34",
"@typescript-eslint/eslint-plugin": "^8.46.2",
"@typescript-eslint/parser": "^8.46.2",
"dotenv": "^17.2.3",
"eslint": "^9.39.0",
"eslint-plugin-import": "^2.32.0",
"prettier": "^3.6.2",
"tsx": "^4.20.6",
"typescript": "^5.9.3",
"yargs": "^18.0.0"
},
"resolutions": {
"glob": "^11.0.1"
}
}