-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
170 lines (170 loc) · 6.3 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
{
"name": "bridge",
"version": "3.2.10",
"description": "An application for interacting with Azimuth",
"repository": {
"type": "git",
"url": "git+https://github.com/urbit/bridge.git"
},
"main": "src/index.js",
"private": true,
"author": "Tlon",
"license": "MIT",
"engines": {
"node": "16.18.0"
},
"proxy": "http://localhost:4000",
"dependencies": {
"@ethereumjs/common": "^3.0.0",
"@ethereumjs/tx": "^4.0.0",
"@ethereumjs/util": "^8.0.0",
"@ledgerhq/hw-transport-u2f": "^5.36.0-deprecated",
"@metamask/detect-provider": "^1.2.0",
"@reach/disclosure": "^0.15.0",
"@reach/menu-button": "^0.15.1",
"@reach/tabs": "^0.15.0",
"@tlon/indigo-dark": "^1.0.6",
"@tlon/indigo-light": "^1.0.7",
"@tlon/indigo-react": "^1.2.27",
"@tlon/sigil-js": "^1.4.5",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.2",
"@types/react": "^17.0.9",
"@types/react-dom": "^17.0.6",
"@types/styled-components": "^5.1.10",
"@types/styled-system": "^5.1.11",
"@types/styled-system__css": "^5.0.15",
"@urbit/nockjs": "^0.0.1",
"@urbit/roller-api": "^0.1.15",
"@walletconnect/encoding": "^1.0.2",
"@walletconnect/sign-client": "^2.7.6",
"@walletconnect/types": "^2.7.6",
"@web3modal/standalone": "^2.4.1",
"@welldone-software/why-did-you-render": "^3.2.3",
"agent-base": "^6.0.2",
"async-retry": "^1.2.3",
"azimuth-js": "^0.22.2",
"azimuth-solidity": "github:urbit/azimuth",
"bip32": "^1.0.2",
"bip39": "^3.0.4",
"bitcoinjs-lib": "^5.2.0",
"bn.js": "^4.11.8",
"bs58check": "^2.1.2",
"buffer": "^6.0.3",
"classnames": "^2.2.6",
"comlink": "^4.3.1",
"copy-to-clipboard": "^3.2.0",
"date-fns": "^2.25.0",
"ethereum-blockies-base64": "^1.0.2",
"file-saver": "^2.0.0",
"final-form": "^4.18.4",
"final-form-arrays": "^3.0.1",
"final-form-set-field-data": "^1.0.2",
"folktale": "^2.3.1",
"formik": "^2.2.9",
"indigo-tokens": "^1.2.3",
"jszip": "^3.7.1",
"keccak": "^3.0.1",
"keythereum": "^1.2.0",
"lodash": "^4.17.14",
"markdown-to-jsx": "^7.1.3",
"more-entropy": "^0.0.7",
"new-github-issue-url": "^0.2.1",
"prop-types": "^15.6.2",
"react": "^17.0.2",
"react-device-detect": "^2.0.1",
"react-dom": "^17.0.2",
"react-final-form": "^6.3.0",
"react-final-form-arrays": "^3.1.0",
"react-teleporter": "^2.2.0",
"react-transition-group": "^4.4.2",
"sass": "^1.49.8",
"secp256k1": "^4.0.2",
"secure-ls": "^1.2.6",
"styled-components": "^5.3.0",
"styled-system": "^5.1.5",
"truffle": "^5.11.4",
"typescript": "^4.3.2",
"urbit-key-generation": "^0.19.0",
"urbit-ob": "^4.1.4",
"urbit-paper-renderer": "^2.0.13",
"web3": "^1.10.2",
"web3-core": "^1.10.2",
"web3-utils": "^1.10.2",
"zustand": "^3.5.9"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
"@rollup/plugin-inject": "^5.0.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/async-retry": "^1.4.3",
"@types/file-saver": "^2.0.4",
"@types/keccak": "^3.0.1",
"@types/ledgerhq__hw-transport-u2f": "^4.21.2",
"@types/lodash": "^4.14.170",
"@types/react-transition-group": "^4.4.2",
"@vitejs/plugin-basic-ssl": "^0.1.2",
"@vitejs/plugin-react": "1.1.1",
"eslint": "^8.44.0",
"eslint-config-prettier": "^5.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-prettier": "^3.4.1",
"ganache": "^7.9.1",
"husky": "^2.4.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.19.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"serve": "^11.0.1",
"source-map-explorer": "^2.0.0",
"stream-browserify": "^3.0.0",
"vite": "3.1.7",
"vite-plugin-comlink": "^3.0.4",
"vite-plugin-svgr": "^2.2.1",
"vitest": "^0.24.1"
},
"scripts": {
"preview:mainnet": "VITE_MAINNET=true vite preview --port 3000",
"start": "vite --clearScreen false",
"build": "VITE_MAINNET=true vite build",
"build:goerli": "VITE_GOERLI=true vite build",
"test": "echo 'TODO: set up vitest'",
"checksum": "cd build && find . -exec shasum -a256 {} ';' > ../checksums.txt && cd ..",
"zip": "BRIDGE_VERSION=${VITE_BRIDGE_VERSION:-$npm_package_version}; zip -ur bridge-$BRIDGE_VERSION.zip README.md bridge-https.py checksums.txt && cd build && zip -ur ../bridge-$BRIDGE_VERSION.zip ./* && cd ..",
"release": "npm install && npm run build && npm run checksum && npm run zip",
"release:goerli": "export VITE_BRIDGE_VERSION=$npm_package_version\"r\"; npm install && npm run build:goerli && npm run checksum && npm run zip",
"pilot:ganache": "ganache --blockTime 1 --chain.chainId=1337 --chain.networkId=5 --chain.hardfork=merge --host '0.0.0.0' -m 'benefit crew supreme gesture quantum web media hazard theory mercy wing kitten' > /dev/null &",
"pilot:truffle": "truffle deploy",
"pilot:setup": "npm run pilot:ganache && truffle deploy",
"pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
"pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
"pilot-mainnet": "VITE_MAINNET=true HTTPS=true npm-run-all start --continue-on-error",
"pilot-release": "HTTPS=true BROWSER=NONE NODE_ENV=development WITH_TEST_STATE=STAR_RELEASE npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
"pilot-residents": "WITH_TEST_STATE=RESIDENTS npm run pilot",
"pilot-l2": "BROWSER=NONE WITH_TEST_STATE=L2 HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
"pilot-l2-local": "BROWSER=NONE VITE_L2=true HTTPS=false NODE_ENV=development npm run start --continue-on-error",
"pilot-goerli": "VITE_GOERLI=true HTTPS=true npm-run-all start --continue-on-error",
"pilot:cleanup": "pkill -f ganache",
"lint:check": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'",
"analyze": "source-map-explorer 'build/static/js/*.js'"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "npm-run-all lint:check"
}
}
}