-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
119 lines (119 loc) · 3.71 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
{
"name": "@elastosfoundation/did-js-sdk",
"version": "2.3.5",
"description": "Elastos DID Typescript SDK",
"scripts": {
"prepublishOnly": "npm run build",
"build": "npm run build:release",
"build:debug": "npm run clean && npm run types && rollup -c",
"build:release": "npm run clean && npm run types && rollup -c --environment prodbuild",
"dev": "rollup -c -w",
"clean": "rm -rf dist/ typings/ generated/",
"types": "npm run clean && tsc --emitDeclarationOnly --outDir typings/ --project tsconfig.types.json",
"tsc:build": "rollup -c",
"tsc:w": "tsc -w",
"docs": "typedoc src/index.ts --excludePrivate --excludeProtected --excludeInternal && mv docs/modules.html docs/did-docs.html"
},
"exports": {
"node": "./dist/did.js",
"browser": {
"types": "./typings/index.d.ts",
"import": "./dist/es/did.browser.js"
},
"default": {
"types": "./typings/index.d.ts",
"default": "./dist/es/did.browser.js"
}
},
"main": "./dist/did.js",
"module": "./dist/es/did.js",
"browser": {
"./dist/did.js": "./dist/did.browser.js",
"./dist/es/did.js": "./dist/es/did.browser.js"
},
"typings": "typings/index.d.ts",
"dependencies": {
"assert": "2.0.0",
"axios": "0.27.2",
"bip32": "2.0.6",
"bip39": "3.0.4",
"bn.js": "5.2.0",
"browserfs": "1.4.3",
"bs58": "4.0.1",
"bs58check": "2.1.2",
"buffer": "5.7.1",
"create-hash": "1.2.0",
"crypto-browserify": "3.12.0",
"dayjs": "1.10.7",
"elliptic": "6.5.4",
"events": "3.3.0",
"jose": "4.5.0",
"js-crypto-key-utils": "1.0.4",
"jszip": "3.7.1",
"libsodium-wrappers": "^0.7.10",
"lodash": "4.17.21",
"path-browserify": "1.0.1",
"secp256r1": "0.0.3",
"stream-browserify": "3.0.0",
"string_decoder": "1.3.0",
"typedoc": "0.22.11",
"util": "0.12.4"
},
"devDependencies": {
"@babel/core": "7.17.8",
"@babel/plugin-proposal-class-properties": "7.16.0",
"@babel/plugin-proposal-decorators": "7.16.4",
"@babel/preset-env": "7.16.4",
"@babel/preset-typescript": "7.16.0",
"@rollup/plugin-alias": "3.1.8",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "19.0.2",
"@rollup/plugin-eslint": "^9.0.4",
"@rollup/plugin-inject": "4.0.3",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.0.6",
"@rollup/plugin-replace": "2.4.2",
"@rollup/plugin-typescript": "8.3.0",
"@types/bn.js": "5.1.0",
"@types/libsodium-wrappers": "^0.7.9",
"@types/node": "14.17.34",
"@typescript-eslint/eslint-plugin": "5.11.0",
"@typescript-eslint/parser": "5.11.0",
"eslint": "8.9.0",
"eslint-plugin-es": "4.1.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.0.0",
"rollup": "2.67.2",
"rollup-plugin-analyzer": "4.0.0",
"rollup-plugin-copy-assets": "2.0.3",
"rollup-plugin-file-content-replace": "file:./build-plugins/rollup-plugin-file-content-replace",
"rollup-plugin-multi-input": "1.3.1",
"rollup-plugin-natives": "0.7.5",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-polyfill-node": "0.6.2",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-visualizer": "5.5.2",
"tslib": "2.3.1",
"typescript": "4.5.5"
},
"engines": {
"node": ">=14.0.0"
},
"browserslist": "> 0.25%, not dead",
"repository": {
"type": "git",
"url": "git+https://github.com/elastos/Elastos.DID.JS.SDK.git"
},
"files": [
"dist",
"dist.esm",
"typings"
],
"author": "Trinity Tech",
"license": "MIT",
"bugs": {
"url": "https://github.com/elastos/Elastos.DID.JS.SDK/issues"
},
"homepage": "https://github.com/elastos/Elastos.DID.JS.SDK#readme"
}