on ea25a45 help sign in
bridge/package.json
170 lines 6.5 kB history raw
1{
2 "name": "bridge",
3 "version": "3.3.0",
4 "description": "An application for interacting with Azimuth",
5 "repository": {
6 "type": "git",
7 "url": "git+https://github.com/urbit/bridge.git"
8 },
9 "main": "src/index.js",
10 "private": true,
11 "author": "The Urbit Foundation",
12 "license": "MIT",
13 "engines": {
14 "node": "16.18.0"
15 },
16 "proxy": "http://localhost:4000",
17 "dependencies": {
18 "@ethereumjs/common": "^3.0.0",
19 "@ethereumjs/tx": "^4.0.0",
20 "@ethereumjs/util": "^8.0.0",
21 "@ledgerhq/hw-transport-u2f": "^5.36.0-deprecated",
22 "@metamask/detect-provider": "^1.2.0",
23 "@reach/disclosure": "^0.15.0",
24 "@reach/menu-button": "^0.15.1",
25 "@reach/tabs": "^0.15.0",
26 "@tlon/indigo-dark": "^1.0.6",
27 "@tlon/indigo-light": "^1.0.7",
28 "@tlon/indigo-react": "^1.2.27",
29 "@tlon/sigil-js": "^1.4.5",
30 "@types/jest": "^26.0.23",
31 "@types/node": "^15.12.2",
32 "@types/react": "^17.0.9",
33 "@types/react-dom": "^17.0.6",
34 "@types/styled-components": "^5.1.10",
35 "@types/styled-system": "^5.1.11",
36 "@types/styled-system__css": "^5.0.15",
37 "@urbit/nockjs": "^0.0.1",
38 "@urbit/roller-api": "^0.1.15",
39 "@walletconnect/encoding": "^1.0.2",
40 "@walletconnect/sign-client": "^2.7.6",
41 "@walletconnect/types": "^2.7.6",
42 "@web3modal/standalone": "^2.4.1",
43 "@welldone-software/why-did-you-render": "^3.2.3",
44 "agent-base": "^6.0.2",
45 "async-retry": "^1.2.3",
46 "azimuth-js": "^0.22.2",
47 "azimuth-solidity": "github:urbit/azimuth",
48 "bip32": "^1.0.2",
49 "bip39": "^3.0.4",
50 "bitcoinjs-lib": "^5.2.0",
51 "bn.js": "^4.11.8",
52 "bs58check": "^2.1.2",
53 "buffer": "^6.0.3",
54 "classnames": "^2.2.6",
55 "comlink": "^4.3.1",
56 "copy-to-clipboard": "^3.2.0",
57 "date-fns": "^2.25.0",
58 "ethereum-blockies-base64": "^1.0.2",
59 "file-saver": "^2.0.0",
60 "final-form": "^4.18.4",
61 "final-form-arrays": "^3.0.1",
62 "final-form-set-field-data": "^1.0.2",
63 "folktale": "^2.3.1",
64 "formik": "^2.2.9",
65 "indigo-tokens": "^1.2.3",
66 "jszip": "^3.7.1",
67 "keccak": "^3.0.1",
68 "keythereum": "^1.2.0",
69 "lodash": "^4.17.14",
70 "markdown-to-jsx": "^7.1.3",
71 "more-entropy": "^0.0.7",
72 "new-github-issue-url": "^0.2.1",
73 "prop-types": "^15.6.2",
74 "react": "^17.0.2",
75 "react-device-detect": "^2.0.1",
76 "react-dom": "^17.0.2",
77 "react-final-form": "^6.3.0",
78 "react-final-form-arrays": "^3.1.0",
79 "react-teleporter": "^2.2.0",
80 "react-transition-group": "^4.4.2",
81 "sass": "^1.49.8",
82 "secp256k1": "^4.0.2",
83 "secure-ls": "^1.2.6",
84 "styled-components": "^5.3.0",
85 "styled-system": "^5.1.5",
86 "truffle": "^5.11.4",
87 "typescript": "^4.3.2",
88 "urbit-key-generation": "^0.19.0",
89 "urbit-ob": "^4.1.4",
90 "urbit-paper-renderer": "^2.0.13",
91 "web3": "^1.10.2",
92 "web3-core": "^1.10.2",
93 "web3-utils": "^1.10.2",
94 "zustand": "^3.5.9"
95 },
96 "devDependencies": {
97 "@esbuild-plugins/node-globals-polyfill": "^0.1.1",
98 "@rollup/plugin-inject": "^5.0.2",
99 "@testing-library/jest-dom": "^5.14.1",
100 "@testing-library/react": "^12.0.0",
101 "@types/async-retry": "^1.4.3",
102 "@types/file-saver": "^2.0.4",
103 "@types/keccak": "^3.0.1",
104 "@types/ledgerhq__hw-transport-u2f": "^4.21.2",
105 "@types/lodash": "^4.14.170",
106 "@types/react-transition-group": "^4.4.2",
107 "@vitejs/plugin-basic-ssl": "^0.1.2",
108 "@vitejs/plugin-react": "1.1.1",
109 "eslint": "^8.44.0",
110 "eslint-config-prettier": "^5.1.0",
111 "eslint-config-react-app": "^7.0.1",
112 "eslint-plugin-prettier": "^3.4.1",
113 "ganache": "^7.9.1",
114 "husky": "^2.4.0",
115 "npm-run-all": "^4.1.3",
116 "prettier": "^1.19.1",
117 "rollup-plugin-node-polyfills": "^0.2.1",
118 "serve": "^11.0.1",
119 "source-map-explorer": "^2.0.0",
120 "stream-browserify": "^3.0.0",
121 "vite": "3.1.7",
122 "vite-plugin-comlink": "^3.0.4",
123 "vite-plugin-svgr": "^2.2.1",
124 "vitest": "^0.24.1"
125 },
126 "scripts": {
127 "preview:mainnet": "VITE_MAINNET=true vite preview --port 3000",
128 "start": "vite --clearScreen false",
129 "build": "VITE_MAINNET=true vite build",
130 "build:goerli": "VITE_GOERLI=true vite build",
131 "test": "echo 'TODO: set up vitest'",
132 "checksum": "cd build && find . -exec shasum -a256 {} ';' > ../checksums.txt && cd ..",
133 "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 ..",
134 "release": "npm install && npm run build && npm run checksum && npm run zip",
135 "release:goerli": "export VITE_BRIDGE_VERSION=$npm_package_version\"r\"; npm install && npm run build:goerli && npm run checksum && npm run zip",
136 "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 &",
137 "pilot:truffle": "truffle deploy",
138 "pilot:setup": "npm run pilot:ganache && truffle deploy",
139 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
140 "pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
141 "pilot-mainnet": "VITE_MAINNET=true HTTPS=true npm-run-all start --continue-on-error",
142 "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",
143 "pilot-residents": "WITH_TEST_STATE=RESIDENTS npm run pilot",
144 "pilot-l2": "BROWSER=NONE WITH_TEST_STATE=L2 HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
145 "pilot-l2-local": "BROWSER=NONE VITE_L2=true HTTPS=false NODE_ENV=development npm run start --continue-on-error",
146 "pilot-goerli": "VITE_GOERLI=true HTTPS=true npm-run-all start --continue-on-error",
147 "pilot:cleanup": "pkill -f ganache",
148 "lint:check": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
149 "lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'",
150 "analyze": "source-map-explorer 'build/static/js/*.js'"
151 },
152 "browserslist": {
153 "production": [
154 ">0.2%",
155 "not dead",
156 "not ie <= 11",
157 "not op_mini all"
158 ],
159 "development": [
160 "last 1 chrome version",
161 "last 1 firefox version",
162 "last 1 safari version"
163 ]
164 },
165 "husky": {
166 "hooks": {
167 "pre-commit": "npm-run-all lint:check"
168 }
169 }