-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
163 lines (163 loc) · 5.46 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "hathor-wallet",
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 1,
"functions": 2,
"lines": 5,
"statements": 5
}
},
"coverageReporters": [
"text-summary",
"lcov",
"clover"
]
},
"productName": "Hathor Wallet",
"description": "Light wallet for Hathor Network",
"author": "Hathor Labs <contact@hathor.network> (https://hathor.network/)",
"version": "0.31.0",
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"private": true,
"dependencies": {
"@hathor/wallet-lib": "2.0.1",
"@ledgerhq/hw-transport-node-hid": "6.28.1",
"@reduxjs/toolkit": "2.2.3",
"@sentry/electron": "3.0.7",
"babel-polyfill": "6.26.0",
"bootstrap": "4.6.1",
"eslint-config-airbnb": "19.0.4",
"eslint-plugin-react": "7.33.2",
"font-awesome": "4.7.0",
"jquery": "3.7.1",
"npm-run-all": "4.1.5",
"patch-package": "6.4.7",
"popper.js": "1.16.1",
"prop-types": "15.8.1",
"qrcode.react": "3.1.0",
"react": "18.2.0",
"react-copy-to-clipboard": "5.1.0",
"react-dom": "18.2.0",
"react-loading": "2.0.3",
"react-paginate": "8.2.0",
"react-redux": "7.2.8",
"react-router-dom": "6.22.3",
"react-scripts": "4.0.3",
"redux-saga": "1.2.1",
"redux-thunk": "2.4.1",
"ttag": "1.8.6",
"unleash-proxy-client": "3.2.0",
"viz.js": "2.1.2"
},
"main": "public/electron.js",
"homepage": "./",
"scripts": {
"build-css": "sass --no-source-map src/index.module.scss src/index.css",
"watch-css": "npm run build-css && sass --no-source-map -w src/index.module.scss src/index.css",
"start-js": "react-scripts --openssl-legacy-provider start",
"start": "npm-run-all -p watch-css start-js",
"build-js": "react-scripts --openssl-legacy-provider build",
"build": "npm-run-all build-css build-js",
"test": "react-scripts test --env=./tests/env.js",
"e2e": "cypress run",
"eject": "react-scripts eject",
"electron": "electron --inspect=5858 .",
"electron-deps": "electron-builder install-app-deps",
"electron-pack": "electron-builder --mac --win --linux -c.extraMetadata.main=build/electron.js",
"electron-pack-mac": "electron-builder --mac -c.extraMetadata.main=build/electron.js",
"electron-pack-linux": "electron-builder --linux -c.extraMetadata.main=build/electron.js",
"electron-pack-linux-arm64": "electron-builder --linux --arm64 -c.extraMetadata.main=build/electron.js",
"electron-pack-win": "electron-builder --win -c.extraMetadata.main=build/electron.js",
"watch-electron": "ELECTRON_START_URL=http://localhost:3000 NODE_ENV=dev nodemon --watch ./public/**/* --watch . --exec 'npm run electron'",
"electron-dev": "ELECTRON_START_URL=http://localhost:3000 NODE_ENV=dev electron --inspect=5858 .",
"electron-debug": "ELECTRON_START_URL=http://localhost:3000 NODE_ENV=dev electron --inspect=5858 --unsafe-mode --hathor-debug .",
"electron-dev-concurrently": "npx concurrently 'npx cross-env BROWSER=none npm run start' 'npx wait-on http://localhost:3000/ && npx cross-env ELECTRON_START_URL=http://localhost:3000 NODE_ENV=dev electron --inspect=5858 .'",
"locale-update-pot": "ttag extract -o ./locale/texts.pot ./src/",
"postinstall": "npx cross-env ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true npm run electron-deps && patch-package",
"generate-doc": "npx jsdoc -c jsdoc.json -r src/. README.md || exit 0",
"qa_network_up": "docker compose -f ./qa/large-values-network/docker-compose.yml up",
"qa_network_down": "docker compose -f ./qa/large-values-network/docker-compose.yml down"
},
"devDependencies": {
"@sentry/browser": "7.99.0",
"@sentry/cli": "2.27.0",
"@testing-library/cypress": "10.0.2",
"@testing-library/react": "14.1.2",
"@testing-library/user-event": "14.5.1",
"cypress": "13.16.0",
"electron": "27.1.3",
"electron-builder": "24.6.4",
"electron-devtools-installer": "3.2.0",
"eslint-plugin-cypress": "2.12.1",
"jsdoc": "4.0.2",
"nodemon": "3.0.3",
"sass": "1.70.0",
"ttag-cli": "1.9.4"
},
"build": {
"appId": "network.hathor.macos.wallet",
"compression": "maximum",
"win": {
"icon": "build/icon.png",
"target": "nsis",
"publisherName": "Hathor Labs",
"sign": "./scripts/win-ev-sign.js"
},
"mac": {
"provisioningProfile": "keys/mac_production.provisionprofile",
"notarize": {
"teamId": "TEAM-ID-HERE"
},
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"icon": "build/icon.icns",
"target": "dmg"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"extraResources": [
{
"from": "build_resources/linux/apparmor-profile",
"to": "./apparmor-profile"
}
]
},
"deb": {
"afterInstall": "build_resources/linux/after-install.tpl",
"afterRemove": "build_resources/linux/after-remove.tpl"
},
"directories": {
"buildResources": "build_resources"
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"overrides": [
{
"extends": [
"plugin:cypress/recommended"
],
"files": [
"cypress/**/*.js"
]
}
]
}