forked from trezor/connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 6.22 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
139
140
141
142
{
"name": "trezor-connect",
"version": "8.2.8-beta.2",
"author": "Trezor <info@trezor.io>",
"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 serve -c ./webpack/config.dev.babel.js",
"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:karma:production": "babel-node ./node_modules/.bin/karma start karma.config.production.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 .",
"example:node": "./tests/run.sh -s 'yarn babel-node ./examples/node/index.js'"
},
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/node": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-flow": "^7.14.5",
"@trezor/blockchain-link": "^2.1.1",
"@trezor/connect-common": "^0.0.4",
"@trezor/rollout": "^1.3.1",
"@trezor/transport": "^1.1.0",
"@trezor/utxo-lib": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"assert": "^2.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.3",
"bignumber.js": "^9.0.2",
"bowser": "^2.11.0",
"cbor-web": "^7.0.6",
"copy-webpack-plugin": "^9.0.1",
"crypto-browserify": "^3.12.0",
"css-loader": "6.6.0",
"es6-promise": "^4.2.2",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-flowtype": "6.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.5",
"eslint-plugin-prettier": "^4.0.0",
"flow-bin": "0.130.0",
"fs-extra": "^10.0.1",
"html-webpack-plugin": "5.3.2",
"jasmine-core": "^3.7.1",
"jest": "^26.6.3",
"karma": "^6.3.16",
"karma-babel-preprocessor": "^8.0.2",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.2.0",
"karma-jasmine": "4.0.1",
"karma-jasmine-async": "^0.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"less": "4.1.2",
"less-loader": "^10.2.0",
"less-plugin-autoprefix": "^2.0.0",
"less-plugin-clean-css": "^1.5.1",
"mini-css-extract-plugin": "2.3.0",
"parse-uri": "^1.0.5",
"prettier": "^2.4.1",
"process": "^0.11.10",
"randombytes": "2.1.0",
"stream-browserify": "^3.0.0",
"style-loader": "3.2.1",
"terser-webpack-plugin": "5.2.4",
"typescript": "^4.4.3",
"uglify-es": "3.3.9",
"util": "^0.12.3",
"version-bump-prompt": "6.1.0",
"webpack": "5.53.0",
"webpack-cli": "4.8.0",
"webpack-dev-server": "^4.2.1",
"worker-loader": "^3.0.8"
},
"dependencies": {
"@babel/runtime": "^7.15.4",
"cross-fetch": "^3.1.5",
"events": "^3.3.0"
},
"extendedDependencies": {
"@trezor/blockchain-link": "^2.1.1",
"@trezor/connect-common": "^0.0.4",
"@trezor/rollout": "^1.3.1",
"@trezor/transport": "^1.1.0",
"@trezor/utxo-lib": "^1.0.0",
"bignumber.js": "^9.0.2",
"bowser": "^2.11.0",
"cbor-web": "^7.0.6",
"parse-uri": "^1.0.5",
"randombytes": "2.1.0"
}
}