-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
138 lines (138 loc) · 4.73 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
133
134
135
136
137
138
{
"name": "@elastosfoundation/hive-js-sdk",
"version": "2.9.14",
"description": "Elastos Hive JS SDK",
"exports": {
"node": "./dist/hive.js",
"browser": {
"types": "./typings/src/index.d.ts",
"import": "./dist/es/hive.browser.js"
},
"default": {
"types": "./typings/src/index.d.ts",
"default": "./dist/es/hive.browser.js"
}
},
"main": "./dist/hive.js",
"module": "./dist/es/hive.js",
"typings": "typings/src",
"browser": {
"./dist/hive.js": "./dist/hive.browser.js",
"./dist/es/hive.js": "./dist/es/hive.browser.js"
},
"scripts": {
"prepublishOnly": "npm run build",
"build": "npm run build:release",
"build:debug": "npm run clean && npm run types && rollup -c",
"build:release": "npm run lint && 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/src --project tsconfig.types.json",
"tsc:build": "rollup -c",
"tsc:w": "tsc -w",
"docs": "npx typedoc src/index.ts --excludePrivate --excludeProtected --excludeInternal",
"lint": "eslint './src/**/*.{ts,tsx}' && eslint './tests/src/**/*.{ts,tsx}'",
"test": "jest",
"test:node": "JEST_CIRCUS=1 jest --silent=false --verbose --runInBand --config jest.node.config.ts",
"test:node:debug": "JEST_CIRCUS=1 node --inspect-brk node_modules/.bin/jest --runInBand --config jest.node.config.ts",
"test:node-no-jest": "rollup -c rollup.no-jest.config.js && node generated/tests-no-jest.js",
"test:browser": "npm run clean && rollup -c rollup.browsertests.config.js",
"test:node:profile": "JEST_CIRCUS=1 node --prof --no-logfile-per-isolate ./node_modules/.bin/jest --silent=false --verbose --runInBand --config jest.node.config.ts -- crypto/hdkey.test && node --prof-process v8.log > processed.log && echo '' && echo 'Please open processed.log'. && echo ''"
},
"dependencies": {
"@elastosfoundation/did-js-sdk": "^2.3.0",
"dayjs": "^1.10.4",
"promise-queue": "^2.2.5",
"ts-retrofit": "^1.17.0",
"url": "^0.11.0",
"web3": "^1.6.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elastos/Elastos.Hive.JS.SDK.git"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-alias": "^3.1.5",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-eslint": "^9.0.4",
"@rollup/plugin-inject": "^4.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/bn.js": "^5.1.0",
"@types/bs58": "^4.0.1",
"@types/crypto-js": "^4.0.1",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.2",
"@types/promise-queue": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"antlr4ts-cli": "^0.5.0-alpha.4",
"axios": "^0.24.0",
"babel-jest": "^27.5.1",
"bs58": "^5.0.0",
"buffer": "^5.6.0",
"eslint": "^8.49.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^26.2.2",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"jest-environment-node": "^26.6.2",
"jest-html-reporter": "^3.4.1",
"jest-lite": "^1.0.0-alpha.4",
"lint-staged": "^10.0.8",
"node-fetch": "^2.6.6",
"path-browserify": "^1.0.1",
"rollup": "^2.60.1",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy-assets": "^2.0.3",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-multi-input": "^1.2.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-size": "^0.2.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-visualizer": "^5.5.2",
"ts-jest": "^26.5.6",
"ts-node": "^10.8.0",
"tslib": "^2.3.1",
"typedoc": "^0.22.13",
"typescript": "^4.5.2"
},
"files": [
"dist",
"typings"
],
"include": [
"typings",
"dist"
],
"author": "Elastos",
"license": "MIT",
"bugs": {
"url": "https://github.com/elastos/Elastos.Hive.JS.SDK/issues"
},
"homepage": "https://github.com/elastos/Elastos.Hive.JS.SDK#readme",
"directories": {
"test": "tests"
},
"lint-staged": {
"src/**/*.{js,ts,tsx}": [
"eslint"
],
"tests/src/**/*.{js,ts,tsx}": [
"eslint"
]
}
}