mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-30 05:25:35 +00:00
485018696a
Bump node version to latest lts on the 18.x line which is 18.20.4 at the time of writing. Updates https://github.com/tailscale/corp/issues/21741 Signed-off-by: Mario Minardi <mario@tailscale.com>
82 lines
1.9 KiB
JSON
82 lines
1.9 KiB
JSON
{
|
|
"name": "webclient",
|
|
"version": "0.0.1",
|
|
"license": "BSD-3-Clause",
|
|
"engines": {
|
|
"node": "18.20.4",
|
|
"yarn": "1.22.19"
|
|
},
|
|
"type": "module",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@radix-ui/react-collapsible": "^1.0.3",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-popover": "^1.0.6",
|
|
"classnames": "^2.3.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"swr": "^2.2.4",
|
|
"wouter": "^2.11.0",
|
|
"zustand": "^4.4.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.16.1",
|
|
"@types/react": "^18.0.20",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"autoprefixer": "^10.4.15",
|
|
"eslint": "^8.23.1",
|
|
"eslint-config-react-app": "^7.0.1",
|
|
"eslint-plugin-curly-quotes": "^1.0.4",
|
|
"jsdom": "^23.0.1",
|
|
"postcss": "^8.4.31",
|
|
"prettier": "^2.5.1",
|
|
"prettier-plugin-organize-imports": "^3.2.2",
|
|
"tailwindcss": "^3.3.3",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.1.7",
|
|
"vite-plugin-svgr": "^4.2.0",
|
|
"vite-tsconfig-paths": "^3.5.0",
|
|
"vitest": "^1.3.1"
|
|
},
|
|
"resolutions": {
|
|
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
"@typescript-eslint/parser": "^6.2.1"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"start": "vite",
|
|
"lint": "tsc --noEmit && eslint 'src/**/*.{ts,tsx,js,jsx}'",
|
|
"test": "vitest",
|
|
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
|
"format-check": "prettier --check 'src/**/*.{ts,tsx}'"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app"
|
|
],
|
|
"plugins": [
|
|
"curly-quotes",
|
|
"react-hooks"
|
|
],
|
|
"rules": {
|
|
"curly-quotes/no-straight-quotes": "warn",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "error"
|
|
},
|
|
"settings": {
|
|
"projectRoot": "client/web/package.json"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"semi": false,
|
|
"printWidth": 80
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"tailwindcss": {},
|
|
"autoprefixer": {}
|
|
}
|
|
}
|
|
}
|