forked from trezor/connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 5.88 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
{
"name": "trezor-connect",
"version": "8.2.1",
"author": "Trezor <[email protected]>",
"homepage": "https://github.com/trezor/connect",
"description": "High-level javascript interface for Trezor hardware wallet.",
"license": "SEE LICENSE IN LICENSE.md",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/trezor/connect.git"
},
"bugs": {
"url": "https://github.com/trezor/connect/issues"
},
"keywords": [
"Trezor",
"trezor-connect",
"javascript"
],
"main": "src/js/index.js",
"browser": {
"./lib/env/node": "./lib/env/browser",
"./lib/env/node/workers": "./lib/env/browser/workers",
"./lib/env/node/networkUtils": "./lib/env/browser/networkUtils"
},
"react-native": {
"./lib/env/node": "./lib/env/react-native",
"./lib/env/node/workers": "./lib/env/react-native/workers",
"./lib/env/node/networkUtils": "./lib/env/react-native/networkUtils"
},
"scripts": {
"predev": "node webpack/generate_dev_cert.js",
"dev": "webpack-dev-server --config ./webpack/config.dev.babel.js --mode development",
"build": "rm -rf build && webpack --config ./webpack/config.prod.babel.js --progress",
"build:node": "rm -rf build && webpack --config ./webpack/config.nodejs.babel.js --progress",
"build:react-native": "rm -rf build && webpack --config ./webpack/config.reactnative.babel.js --progress",
"build:inline": "webpack --config ./webpack/config.inline.babel.js --progress",
"build:connect": "yarn build && yarn build:inline && cp ./build/js/trezor-connect.*.js ./build/trezor-connect.min.js && cp robots.txt build/robots.txt",
"build:npm": "rm -rf npm && babel-node ./scripts/build-npm.js && babel ./npm/lib --out-dir ./npm/lib",
"build:npm-extended": "rm -rf npm-extended && babel-node ./scripts/build-npm-extended.js && babel ./npm-extended/lib --out-dir ./npm-extended/lib",
"version:beta": "yarn bump prerelease ./package.json ./README.md ./src/js/data/ConnectSettings.js ./src/js/plugins/webextension/trezor-usb-permissions.js",
"version:patch": "yarn bump patch ./package.json ./README.md ./src/js/data/ConnectSettings.js ./src/js/plugins/webextension/trezor-usb-permissions.js",
"version:minor": "yarn bump minor ./package.json ./README.md ./src/js/data/ConnectSettings.js ./src/js/plugins/webextension/trezor-usb-permissions.js",
"version:major": "yarn bump major ./package.json ./README.md ./src/js/data/ConnectSettings.js ./src/js/plugins/webextension/trezor-usb-permissions.js",
"stats": "webpack --config ./webpack/config.prod.babel.js --json > build/stats.json",
"test:unit": "jest --verbose -c jest.config.unit.js",
"test:integration": "jest --verbose -c jest.config.integration.js",
"test:health": "babel-node ./scripts/check-extended-dependencies.js",
"flow": "flow check .",
"typescript": "tsc --project src/ts/types/tsconfig.json",
"lint": "eslint .",
"lint:fix": "eslint --fix ."
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@babel/preset-flow": "^7.12.1",
"@trezor/blockchain-link": "^1.0.17",
"@trezor/connect-common": "^0.0.2",
"@trezor/rollout": "^1.2.0",
"@trezor/utxo-lib": "^0.1.2",
"babel-collect-imports": "https://github.com/szymonlesisz/babel-collect-imports",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"bchaddrjs": "^0.5.2",
"bignumber.js": "^9.0.1",
"bowser": "^2.11.0",
"cbor-web": "^7.0.6",
"copy-webpack-plugin": "^6.3.2",
"css-loader": "4.3.0",
"es6-promise": "^4.2.2",
"eslint": "^7.21.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-flowtype": "5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.5",
"eslint-plugin-prettier": "^3.3.1",
"file-loader": "^6.2.0",
"flow-bin": "0.130.0",
"fs-extra": "^9.0.1",
"hd-wallet": "9.1.2",
"html-webpack-plugin": "4.5.1",
"jasmine-core": "^3.6.0",
"jest": "^26.6.3",
"keccak": "^3.0.1",
"less": "3.12.2",
"less-loader": "^7.1.0",
"less-plugin-autoprefix": "^2.0.0",
"less-plugin-clean-css": "^1.5.1",
"mini-css-extract-plugin": "0.11.2",
"node-fetch": "^2.6.1",
"parse-uri": "^1.0.3",
"prettier": "^2.2.1",
"sharedworker-loader": "^2.1.1",
"style-loader": "1.2.1",
"terser-webpack-plugin": "4.2.2",
"tiny-worker": "^2.3.0",
"trezor-link": "1.7.3",
"typescript": "^4.2.4",
"uglify-es": "3.3.9",
"version-bump-prompt": "6.1.0",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.1",
"worker-loader": "^3.0.5"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"events": "^3.2.0",
"whatwg-fetch": "^3.5.0"
},
"extendedDependencies": {
"@trezor/blockchain-link": "^1.0.17",
"@trezor/connect-common": "^0.0.2",
"@trezor/rollout": "^1.2.0",
"@trezor/utxo-lib": "^0.1.2",
"bchaddrjs": "^0.5.2",
"bignumber.js": "^9.0.1",
"bowser": "^2.11.0",
"cbor-web": "^7.0.6",
"hd-wallet": "9.1.2",
"keccak": "^3.0.1",
"node-fetch": "^2.6.1",
"parse-uri": "^1.0.3",
"tiny-worker": "^2.3.0",
"trezor-link": "1.7.3"
}
}