forked from hiero-ledger/hiero-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 5.81 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
{
"name": "@hashgraph/sdk",
"version": "2.0.19",
"description": "Hedera™ Hashgraph SDK",
"types": "./lib/index.d.ts",
"main": "./lib/index.cjs",
"module": "./src/index.js",
"react-native": {
"./lib/index.cjs": "./src/native.js",
"./src/encoding/hex.js": "./src/encoding/hex.native.js",
"./src/encoding/utf8.js": "./src/encoding/utf8.native.js",
"./src/cryptography/sha384.js": "./src/cryptography/sha384.native.js"
},
"browser": {
"./src/index.js": "./src/browser.js",
"./src/encoding/hex.js": "./src/encoding/hex.browser.js",
"./src/encoding/utf8.js": "./src/encoding/utf8.browser.js",
"./src/cryptography/sha384.js": "./src/cryptography/sha384.browser.js",
"crypto": false
},
"exports": {
"import": "./src/index.js",
"require": "./lib/index.cjs"
},
"license": "Apache-2.0",
"author": "Launchbadge <[email protected]>",
"repository": "https://github.com/hashgraph/hedera-sdk-js",
"bugs": "https://github.com/hashgraph/hedera-sdk-js/issues",
"type": "module",
"keywords": [
"hedera",
"hashgraph",
"sdk",
"transactions"
],
"files": [
"lib/",
"src/"
],
"engines": {
"node": ">=10.17.0"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"not dead",
"not op_mini all",
"not ie > 0"
],
"scripts": {
"docs": "typedoc --theme minimal --mode modules --excludeNotExported --excludePrivate --excludeProtected --out docs --listInvalidSymbolLinks",
"compile:js": "babel src -d lib --out-file-extension .cjs",
"lint": "run-s lint:*",
"lint:types": "tsc",
"lint:dpdm": "dpdm src/index.js --circular true --tree false --warning false",
"lint:format": "prettier src 'test/unit/*.js' 'test/integration/*.js' '*.json' 'src/*.js' --check",
"lint:js": "eslint --fix 'src/**/*.js' 'test/integration/**/*.js' 'test/unit/**/*.js'",
"format": "prettier src test/unit test/integration '*.json' 'src/*.js' --write",
"prepare": "run-s compile:js lint:types",
"bundle:browser": "vite -c vite.config.cjs build",
"test": "run-s test:node test:browser",
"test:node": "env HEDERA_SDK_TEST='' run-s test:unit:node test:integration:node",
"test:unit:node": "env HEDERA_SDK_TEST='' nyc mocha -r @babel/register -r chai/register-expect 'test/unit/*.js'",
"test:integration:node": "env HEDERA_SDK_TEST='' nyc mocha -r @babel/register -r chai/register-expect 'test/integration/*.js'",
"test:browser": "run-s test:unit:browser test:integration:browser",
"test:browser:chrome": "run-s test:unit:browser:chrome test:integration:browser:chrome",
"test:browser:firefox": "run-s test:unit:browser:firefox test:integration:browser:firefox",
"test:unit:browser": "run-s test:unit:browser:*",
"test:unit:browser:chrome": "vite -c vite.config.cjs serve --port 9001 test/ & sleep 2; mocha-webdriver-runner --headless-chrome http://localhost:9001/unit.html; kill %1",
"test:unit:browser:firefox": "vite -c vite.config.cjs serve --port 9002 test/ & sleep 2; mocha-webdriver-runner --headless-firefox http://localhost:9002/unit.html; kill %1",
"test:unit:browser:safari": "vite -c vite.config.cjs serve --port 9003 test/ & sleep 2; mocha-webdriver-runner --safari http://localhost:9003/unit.html; kill %1",
"test:integration:browser": "run-s test:integration:browser:*",
"test:integration:browser:chrome": "vite -c vite.config.cjs serve --port 9011 test/ & sleep 2; mocha-webdriver-runner --headless-chrome http://localhost:9011/integration.html; kill %1",
"test:integration:browser:firefox": "vite -c vite.config.cjs serve --port 9012 test/ & sleep 2; mocha-webdriver-runner --headless-firefox http://localhost:9012/integration.html; kill %1",
"test:integration:browser:safari": "vite -c vite.config.cjs serve --port 9013 test/ & sleep 2; mocha-webdriver-runner --safari http://localhost:9013/integration.html; kill %1"
},
"dependencies": {
"@grpc/grpc-js": "^1.2.2",
"@hashgraph/cryptography": "^1.0.14",
"@hashgraph/proto": "^1.0.25",
"@types/crypto-js": "^4.0.1",
"@types/utf8": "^2.1.6",
"bignumber.js": "^9.0.1",
"crypto-js": "^4.0.0",
"js-base64": "^3.6.0",
"long": "^4.0.0",
"utf8": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/register": "^7.12.10",
"@types/chai": "^4.2.14",
"@types/long": "^4.0.1",
"@types/node": "^14.14.19",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"babel-eslint": "^10.1.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-module-rewrite": "^0.2.0",
"chai": "^4.2.0",
"chromedriver": "^87.0.4",
"dotenv": "^8.2.0",
"dpdm": "^3.5.0",
"eslint": "^7.17.0",
"eslint-plugin-chai-expect": "^2.2.0",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-deprecation": "^1.2.0",
"eslint-plugin-ie11": "^1.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.7.13",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.1.0",
"geckodriver": "^1.21.1",
"lerna": "^3.22.1",
"mocha": "^8.2.1",
"mocha-webdriver-runner": "^0.6.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"typedoc": "^0.20.11",
"typescript": "^4.1.3",
"vite": "^1.0.0-rc.9"
}
}