-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
74 lines (74 loc) · 2.17 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
{
"name": "dotbit",
"version": "1.0.0-beta.1",
"description": "A complete .bit SDK and utilities in TypeScript",
"author": "dotbitHQ <https://github.com/dotbitHQ>",
"license": "MIT",
"main": "lib/index.js",
"module": "lib.esm/index.js",
"types": "src/index.ts",
"publishConfig": {
"types": "lib/index.d.ts"
},
"scripts": {
"test": "jest",
"clear:lib": "rm -rf ./lib/ ./lib.esm/ ./coverage/",
"clear:node_modules": "pnpm recursive exec -- rm -rf node_modules && rm -rf node_modules",
"build": "npm run clear:lib && npm run build:esm && npm run build:commonjs",
"build:commonjs": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.build.esm.json",
"dev:browser": "npm run build && vite ./example/browser",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prepublishOnly": "npx only-allow pnpm && npm run build",
"postversion": "genversion src/version.ts --es6 && git add src/version.ts package.json && git commit --amend --no-edit",
"slip44": "npm i bip44-constants@latest -D && node scripts/slip44-json.js",
"character": "node scripts/get_character_list.js"
},
"keywords": [
"dotbit",
".bit",
"DID",
"Decentralized Identity",
"web3",
"blockchain",
"nervos",
"ckb"
],
"files": [
"src",
"lib",
"lib.esm"
],
"repository": {
"type": "git",
"url": "https://github.com/dotbitHQ/dotbit.js.git"
},
"bugs": {
"url": "https://github.com/dotbitHQ/dotbit.js/issues"
},
"dependencies": {
"@metamask/eth-sig-util": "^7.0.1",
"cross-fetch": "^4.0.0",
"ethers": "^6.11.1",
"grapheme-splitter": "^1.0.4",
"jest-environment-jsdom": "^29.3.1",
"multicoin-address-validator": "^0.5.16",
"type-fest": "^2.16.0"
},
"devDependencies": {
"@linkdesu/moleculejs": "^1.1.1",
"@types/jest": "^28.1.2",
"@types/node": "^18.0.0",
"bip44-constants": "latest",
"eslint": "8.22.0",
"eslint-config-blockabc": "^0.15.2",
"eslint-plugin-n": "^15.3.0",
"genversion": "^3.1.1",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.3",
"vite": "^5.2.7"
}
}