forked from floating/frame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
258 lines (258 loc) · 11.8 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
{
"name": "frame",
"version": "0.5.0-beta.19",
"description": "System-wide web3",
"main": "compiled/main",
"build": {
"appId": "sh.frame.app",
"afterSign": "./build/notarize.js",
"productName": "Frame",
"linux": {
"target": [
"AppImage",
"deb",
"snap",
"tar.gz"
]
},
"mac": {
"target": {
"target": "default",
"arch": [
"x64",
"arm64"
]
},
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"requirements": "build/electron-builder-requirements.txt"
},
"win": {
"publisherName": "Frame Labs, Inc.",
"signAndEditExecutable": true
},
"files": [
"compiled",
"bundle"
]
},
"scripts": {
"clean": "npx rimraf dist bundle compiled .cache node_modules",
"setup:full": "npm run clean && npm cache clean --force && npm install --cache /tmp/empty-cache --ignore-scripts && allow-scripts && npm audit fix",
"setup:clean": "npm run clean && npm run setup",
"setup": "npm install --ignore-scripts && npm run install:scripts",
"install:scripts": "allow-scripts",
"start": "npm run launch",
"bundle": "npm run bundle:bridge && npm run bundle:tray && npm run bundle:dash && npm run bundle:dapp && npm run bundle:dapp:inject",
"bundle:bridge": "parcel build resources/bridge/index.js --public-url . -d bundle -o bridge.js --target electron",
"bundle:tray": "parcel build app/tray.html --public-url . -d bundle --target browser",
"bundle:flow": "parcel build flow/flow.html --public-url . -d bundle --target browser",
"bundle:dash": "parcel build dash/dash.html --public-url . -d bundle --target browser",
"bundle:dapp": "parcel build dapp/dapp.html --public-url . -d bundle --target browser",
"bundle:dapp:inject": "parcel build main/dapps/server/inject/index.js --public-url . -d bundle -o inject.js --target browser",
"watch": "npm run watch:compile & npm run watch:tray & npm run watch:dash & npm run watch:dapp & npm run watch:bridge & npm run watch:dapp:inject",
"watch:bridge": "parcel watch resources/bridge/index.js --public-url . -d bundle -o bridge.js --target electron --no-hmr",
"watch:tray": "parcel watch app/tray.html --public-url . -d bundle --target browser --no-hmr",
"watch:flow": "parcel watch flow/flow.html --public-url . -d bundle --target browser --no-hmr",
"watch:dash": "parcel watch dash/dash.html --public-url . -d bundle --target browser --no-hmr",
"watch:dapp": "parcel watch dapp/dapp.html --public-url . -d bundle --target browser --no-hmr",
"watch:dapp:inject": "parcel watch main/dapps/server/inject/index.js --public-url . -d bundle -o inject.js --target browser",
"dev": "npm run compile && npm run bundle && npm run launch:dev",
"inspect": "npm run bundle && npm run launch:inspect",
"launch": "cross-env NODE_ENV=production electron ./compiled/main",
"launch:dev": "cross-env NODE_ENV=development LOG_LEVEL=verbose electron ./compiled/main --inspect",
"launch:dev:traffic": "cross-env NODE_ENV=development LOG_TRAFFIC=true electron ./compiled/main",
"launch:dev:fullheight": "cross-env NODE_ENV=development FULL_HEIGHT=true electron ./compiled/main",
"launch:dev:worker": "cross-env NODE_ENV=development LOG_WORKER=true electron ./compiled/main",
"launch:dev:rinkeby": "cross-env NODE_ENV=development RINKEBY=true electron ./compiled/main",
"launch:inspect": "cross-env NODE_ENV=production LOG_LEVEL=verbose electron --inspect ./compiled/main",
"prod": "npm run compile && npm run bundle && npm run launch",
"hot": "npm run compile && npm run bundle && npm run launch:hot",
"watch:compile": "shx mkdir -p ./compiled/main/windows && npm run copy-assets && tsc -w",
"compile": "tsc && npm run copy-assets",
"build": "npm run compile && sleep 4 && npm run bundle && sleep 4 && electron-builder",
"copy-assets": "shx cp ./main/windows/*.png ./compiled/main/windows",
"publish": "electron-builder -c.snap.publish=github",
"release": "npm run compile && sleep 4 && npm run bundle && sleep 4 && npm run publish",
"postinstall": "electron-builder install-app-deps",
"test": "npm run compile && npm run test:main && npm run test:components && npm run test:e2e",
"test:unit": "jest --detectOpenHandles --runInBand",
"test:main": "jest --env=node --detectOpenHandles --runInBand ./test/main",
"test:components": "jest --env=jsdom --detectOpenHandles --testTimeout=300 ./test/app",
"test:e2e": "jest --env=node --detectOpenHandles --runInBand --testPathPattern=e2e",
"test:e2e:nodeploy": "jest --env=node --detectOpenHandles --runInBand --testPathPattern=e2e --testPathIgnorePatterns=deploy",
"test:usbAdapters": "ELECTRON_RUN_AS_NODE=true ./node_modules/.bin/electron ./node_modules/jest/bin/jest.js ./test/main/signers/ledger/adapter.test.js --testPathIgnorePatterns=''",
"standard": "standardx --fix --verbose",
"test:clients": "mocha test/clients/*.test.js",
"local:rpc": "ganache-cli --account=\"0x2d6945dbddb8dcf5492004e6f720f8e971196ff61a61c4be99714ebc71e06c00, 5000000000000000000000\" --account=\"0xaef6a68a47c1628081e4e6df195f5f712ae4eb7da332a6d74dca06ae32a3e7ae,5000\""
},
"jest": {
"testTimeout": 100,
"clearMocks": true,
"roots": [
"test"
],
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/test/e2e/",
"<rootDir>/test/main/signers/ledger/adapter"
]
},
"author": {
"name": "Frame Labs",
"email": "[email protected]",
"url": "https://frame.sh"
},
"license": "GPL-3.0",
"dependencies": {
"@aragon/wrapper": "5.5.1",
"@ethereumjs/common": "2.6.3",
"@ethereumjs/tx": "3.5.1",
"@ethersproject/contracts": "5.6.0",
"@ethersproject/providers": "5.6.2",
"@framelabs/pylon-client": "0.0.7",
"@githubprimer/octicons-react": "8.5.0",
"@ledgerhq/hw-app-eth": "6.27.0",
"@ledgerhq/hw-transport-node-hid-noevents": "6.24.1",
"@ledgerhq/hw-transport-node-hid-singleton": "6.26.0",
"@ledgerhq/hw-transport-web-ble": "6.24.1",
"@sentry/electron": "3.0.7",
"@sushiswap/default-token-list": "27.1.0",
"abi-codec": "0.0.9",
"auto-launch": "5.0.5",
"babel-polyfill": "6.26.0",
"bip39": "3.0.4",
"cheerio": "1.0.0-rc.10",
"conf": "10.1.2",
"content-hash": "2.5.2",
"cookie": "0.4.2",
"cross-env": "7.0.3",
"electron-log": "4.4.6",
"electron-updater": "5.0.1",
"eth-ens-namehash": "2.0.8",
"eth-provider": "0.11.0",
"eth-sig-util": "3.0.1",
"ethereum-public-key-to-address": "0.0.5",
"extract-zip": "2.0.1",
"fs-extra": "10.0.1",
"get-pixels": "3.3.3",
"gridplus-sdk": "1.3.5",
"hdkey": "2.0.1",
"nebula": "0.1.2",
"node-fetch": "2.6.7",
"node-hid": "2.1.1",
"query-string": "7.1.1",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-restore": "0.5.0",
"react-transition-group": "4.4.2",
"semver": "7.3.6",
"trezor-connect": "8.2.7",
"uuid": "8.3.2",
"web3-utils": "1.7.3",
"ws": "8.5.0",
"zxcvbn": "4.4.2"
},
"devDependencies": {
"@babel/core": "7.17.9",
"@babel/node": "7.16.8",
"@babel/plugin-proposal-decorators": "7.17.9",
"@babel/plugin-proposal-do-expressions": "7.16.7",
"@babel/plugin-proposal-export-default-from": "7.16.7",
"@babel/plugin-proposal-function-bind": "7.16.7",
"@babel/plugin-proposal-function-sent": "7.16.7",
"@babel/plugin-proposal-pipeline-operator": "7.17.6",
"@babel/plugin-proposal-throw-expressions": "7.16.7",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@lavamoat/allow-scripts": "^2.0.2",
"@lavamoat/preinstall-always-fail": "^1.0.0",
"@ledgerhq/hw-transport-mocker": "6.24.1",
"@nomiclabs/hardhat-waffle": "2.0.3",
"@testing-library/react": "^13.0.0",
"@types/cookie": "0.4.1",
"@types/get-pixels": "3.3.2",
"@types/hdkey": "^2.0.1",
"@types/jest": "27.4.1",
"@types/node": "17.0.23",
"@types/node-fetch": "2.6.1",
"@types/node-hid": "1.3.1",
"babel-eslint": "10.1.0",
"electron": "18.1.0",
"electron-builder": "23.0.3",
"electron-notarize": "1.2.1",
"hardhat": "2.9.3",
"jest": "27.5.1",
"node-abi": "^3.8.0",
"node-gyp": "8.4.1",
"node-watch": "0.7.3",
"parcel-bundler": "1.12.3",
"prebuild-install": "^7.0.1",
"rimraf": "3.0.2",
"shx": "0.3.4",
"standardx": "7.0.0",
"stylus": "0.57.0",
"ts-jest": "27.1.4",
"typescript": "4.6.3"
},
"standard": {
"parser": "babel-eslint",
"env": [
"jest"
]
},
"eslintConfig": {
"rules": {
"multiline-ternary": 0,
"react/no-direct-mutation-state": 0,
"react/no-find-dom-node": 0
}
},
"repository": "github:floating/frame",
"lavamoat": {
"allowScripts": {
"@aragon/wrapper>@aragon/os>@aragon/truffle-config-v4>@truffle/hdwallet-provider>@ethereumjs/common>ethereumjs-util>ethereum-cryptography>keccak": true,
"@aragon/wrapper>@aragon/os>@aragon/truffle-config-v4>@truffle/hdwallet-provider>@ethereumjs/common>ethereumjs-util>ethereum-cryptography>secp256k1": true,
"@aragon/wrapper>radspec>date-fns": true,
"@aragon/wrapper>radspec>web3-eth>web3-core>web3-core-requestmanager>web3-providers-ws>websocket>bufferutil": true,
"@aragon/wrapper>radspec>web3-eth>web3-core>web3-core-requestmanager>web3-providers-ws>websocket>utf-8-validate": true,
"@aragon/wrapper>web3": true,
"@aragon/wrapper>web3>web3-core>web3-core-requestmanager>web3-providers-ws>@web3-js/websocket": true,
"@aragon/wrapper>web3>web3-eth>web3-eth-accounts>@web3-js/scrypt-shim": true,
"@babel/node>core-js": true,
"@lavamoat/preinstall-always-fail": false,
"@ledgerhq/hw-transport-node-hid-noevents>node-hid": false,
"@ledgerhq/hw-transport-node-hid-singleton>usb-detection": false,
"babel-polyfill>babel-runtime>core-js": true,
"babel-polyfill>core-js": true,
"electron": true,
"hardhat>@ethereumjs/vm>core-js-pure": true,
"nebula>ipfs-http-client>ipfs-core-utils>ipfs-unixfs>protobufjs": true,
"parcel-bundler": true,
"parcel-bundler>deasync": true,
"react-restore>babel-core>babel-register>core-js": true,
"$root$": false,
"hardhat>ethereum-cryptography>keccak": true,
"hdkey>secp256k1": true,
"node-hid": false,
"@aragon/wrapper>web3>web3-core>web3-core-requestmanager>web3-providers-ws>@web3-js/websocket>es5-ext": true,
"gridplus-sdk>secp256k1": true,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>ganache-core>ethereumjs-util>ethereum-cryptography>secp256k1": false,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>ganache-core>ethereumjs-vm>core-js-pure": false,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>ganache-core>keccak": false,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>ganache-core>web3": false,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>ganache-core>web3-provider-engine>eth-block-tracker>json-rpc-engine>babelify>babel-core>babel-runtime>core-js": false,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>ganache-core>websocket>bufferutil": false,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>ganache-core>websocket>utf-8-validate": false,
"@nomiclabs/hardhat-waffle>ethereum-waffle>@ethereum-waffle/provider>postinstall-postinstall": false,
"ethereum-public-key-to-address>keccak": false,
"parcel-bundler>@parcel/watcher>chokidar>fsevents": false,
"ws>bufferutil": false,
"ws>utf-8-validate": false,
"gridplus-sdk": false
}
}
}