-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.98 KB
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
{
"name": "hardware-example",
"productName": "HardwareExample",
"executableName": "onekey-hardware-example",
"version": "1.1.29",
"author": "OneKey",
"description": "End-to-end encrypted workspaces for teams",
"main": "dist/index.js",
"license": "GPL-3.0-only",
"scripts": {
"copy:inject": "node scripts/copy-injected.js",
"clean:build": "rimraf out",
"dev-electron-web": "cross-env NODE_ENV=development yarn copy:inject && yarn build:main && cd ../expo-example && yarn dev:electron-web",
"build-electron-web": "yarn copy:inject && yarn build:main && cd ../expo-example && yarn build:electron-web",
"dev": "npx concurrently \"yarn dev:electron\" \"cross-env TRANSFORM_REGENERATOR_DISABLED=true BROWSER=none yarn dev-electron-web\"",
"dev:electron": "electron --inspect=5858 dist/index.js",
"build:main": "webpack --config webpack.config.ts",
"rebuild:deps": "electron-builder install-app-deps",
"make:mac": "yarn rebuild:deps && yarn clean:build && yarn build-electron-web && electron-builder build --mac --config electron-builder.config.js --publish always",
"make:win": "yarn rebuild:deps && yarn clean:build && yarn build-electron-web && electron-builder build --win --config electron-builder.config.js --publish always",
"lint": "eslint --ext .tsx --ext .ts ./",
"ts:check": "yarn tsc --noEmit"
},
"dependencies": {
"@onekeyfe/hd-transport-electron": "1.1.29",
"@stoprocent/noble": "2.3.16",
"debug": "4.3.4",
"electron-is-dev": "^3.0.1",
"electron-log": "^5.1.5",
"electron-updater": "^6.2.1",
"fs-extra": "^11.2.0",
"node-fetch": "^2.6.7"
},
"devDependencies": {
"@types/webpack": "^5.28.5",
"@types/webpack-node-externals": "^3.0.4",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"electron": "^40.1.0",
"electron-builder": "^24.9.1",
"webpack": "^5.90.2",
"webpack-node-externals": "^3.0.0"
},
"resolutions": {
"**/node-gyp": "^10.0.1",
"tmp": "0.2.4"
}
}