mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 11:35:35 +00:00
ab159f748b
Reduces the amount of boilerplate to render the UI and makes it easier to respond to state changes (e.g. machine getting authorized, netmap changing, etc.) Preact adds ~13K to our bundle size (5K after Brotli) thus is a neglibible size contribution. We mitigate the delay in rendering the UI by having a static placeholder in the HTML. Required bumping the esbuild version to pick up evanw/esbuild#2349, which makes it easier to support Preact's JSX code generation. Fixes #5137 Fixes #5273 Signed-off-by: Mihai Parparita <mihai@tailscale.com>
23 lines
449 B
JSON
23 lines
449 B
JSON
{
|
|
"name": "tsconnect",
|
|
"version": "0.0.1",
|
|
"license": "BSD-3-Clause",
|
|
"devDependencies": {
|
|
"@types/golang-wasm-exec": "^1.15.0",
|
|
"@types/qrcode": "^1.4.2",
|
|
"preact": "^10.10.0",
|
|
"qrcode": "^1.5.0",
|
|
"tailwindcss": "^3.1.6",
|
|
"typescript": "^4.7.4",
|
|
"xterm": "^4.18.0",
|
|
"xterm-addon-fit": "^0.5.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "tsc --noEmit"
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 80
|
|
}
|
|
}
|