forked from hashgraph/hedera-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 5.92 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
{
"name": "@hashgraph/sdk",
"version": "2.4.0",
"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": {
"./package.json": "./package.json",
".": {
"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/*.js' 'test/integration/*.js' '*.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 10; mocha-webdriver-runner --headless-chrome http://localhost:9001/unit.html",
"test:unit:browser:firefox": "vite -c vite.config.cjs serve --port 9002 test/ & sleep 10; mocha-webdriver-runner --headless-firefox http://localhost:9002/unit.html",
"test:unit:browser:safari": "vite -c vite.config.cjs serve --port 9003 test/ & sleep 10; mocha-webdriver-runner --safari http://localhost:9003/unit.html",
"test:integration:browser": "run-s test:integration:browser:*",
"test:integration:browser:chrome": "vite -c vite.config.cjs serve --port 9011 test/ & sleep 10; mocha-webdriver-runner --headless-chrome http://localhost:9011/integration.html",
"test:integration:browser:firefox": "vite -c vite.config.cjs serve --port 9012 test/ & sleep 10; mocha-webdriver-runner --headless-firefox http://localhost:9012/integration.html",
"test:integration:browser:safari": "vite -c vite.config.cjs serve --port 9013 test/ & sleep 10; mocha-webdriver-runner --safari http://localhost:9013/integration.html"
},
"dependencies": {
"@grpc/grpc-js": "^1.3.4",
"@hashgraph/cryptography": "^1.0.20",
"@hashgraph/proto": "2.0.1-beta.2",
"bignumber.js": "^9.0.1",
"crypto-js": "^4.0.0",
"js-base64": "^3.6.1",
"long": "^4.0.0",
"protobufjs": "^6.11.2",
"utf8": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.15.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
"@babel/register": "^7.15.3",
"@types/chai": "^4.2.22",
"@types/long": "^4.0.1",
"@types/node": "^16.10.2",
"@types/utf8": "^3.0.0",
"@types/crypto-js": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-module-rewrite": "^0.2.0",
"chai": "^4.3.4",
"chromedriver": "^94.0.0",
"dotenv": "^10.0.0",
"dpdm": "^3.8.0",
"eslint": "^7.32.0",
"eslint-plugin-chai-expect": "^3.0.0",
"eslint-plugin-compat": "^3.13.0",
"eslint-plugin-deprecation": "^1.2.1",
"eslint-plugin-ie11": "^1.0.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^37.0.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
"geckodriver": "^2.0.4",
"lerna": "^4.0.0",
"mocha": "^9.1.2",
"mocha-webdriver-runner": "^0.6.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"typedoc": "^0.22.5",
"typescript": "^4.4.3",
"vite": "^2.6.2",
"yalc": "^1.0.0-pre.53"
}
}