mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-01 16:03:55 +08:00
a18ab3ea8c
* Upgrade vite to 8.0.7 * Vite 8.0.8
116 lines
4.5 KiB
JSON
116 lines
4.5 KiB
JSON
{
|
|
"name": "teleport-ui",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"build-ui": "pnpm build-ui-oss && pnpm build-ui-e",
|
|
"build-ui-oss": "pnpm --filter=@gravitational/teleport build",
|
|
"build-ui-e": "pnpm --filter=@gravitational/teleport.e build",
|
|
"build-wasm": "pnpm --filter=@gravitational/shared build-wasm",
|
|
"start-teleport": "pnpm --filter=@gravitational/teleport start",
|
|
"start-teleport-e": "pnpm --filter=@gravitational/teleport.e start",
|
|
"build-term": "pnpm --filter=@gravitational/teleterm build",
|
|
"start-term": "pnpm --filter=@gravitational/teleterm start",
|
|
"package-term": "pnpm --filter=@gravitational/teleterm package",
|
|
"storybook": "./web/scripts/run-storybook.sh",
|
|
"storybook-smoke-test": "storybook dev -p 9002 -c web/.storybook --ci --smoke-test",
|
|
"test-storybook": "NODE_TLS_REJECT_UNAUTHORIZED=0 test-storybook -c web/.storybook --url https://localhost:9002 --skipTags=skip-test --browsers=chromium",
|
|
"test": "jest",
|
|
"test-coverage": "jest --coverage && web/scripts/print-coverage-link.sh",
|
|
"test-update-snapshot": "pnpm run test --updateSnapshot",
|
|
"tdd": "jest --watch",
|
|
"oxlint": "oxlint --quiet --report-unused-disable-directives-severity error web/ e/ e2e/",
|
|
"lint": "pnpm oxlint && pnpm format-check",
|
|
"lint-fix": "pnpm oxlint --fix && pnpm format",
|
|
"type-check": "NODE_OPTIONS='--max-old-space-size=4096' tsc --build",
|
|
"type-check-native": "tsgo --build",
|
|
"optimize-resource-icons": "svgo --multipass --quiet -rf web/packages/design/src/ResourceIcon/assets",
|
|
"format-check": "pnpm format --check",
|
|
"format": "oxfmt 'e/**/*.{ts,tsx,js,jsx,mts}' 'web/**/*.{ts,tsx,js,jsx,mts}' 'e2e/**/*.{ts,tsx,js,jsx,mts}'",
|
|
"process-icons": "pnpm optimize-resource-icons && node web/packages/design/src/Icon/script/script.js && pnpm oxfmt 'web/packages/design/src/Icon/**/*.tsx'",
|
|
"list-installed-versions": "./web/scripts/list-installed-versions.sh",
|
|
"nop": "exit 0"
|
|
},
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@gravitational/build": "workspace:*",
|
|
"@storybook/addon-vitest": "^10.3.3",
|
|
"@storybook/react-vite": "^10.3.3",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/history": "^4.7.11",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^24.10.9",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/react-transition-group": "^4.4.12",
|
|
"@types/wicg-file-system-access": "^2023.10.7",
|
|
"@typescript/native-preview": "7.0.0-dev.20260331.1",
|
|
"cspell": "^9.7.0",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
"eslint-plugin-storybook": "^10.3.3",
|
|
"eslint-plugin-testing-library": "7.16.2",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"jest": "^30.3.0",
|
|
"jest-canvas-mock": "^2.5.2",
|
|
"jsdom-testing-mocks": "^1.16.0",
|
|
"msw": "2.12.14",
|
|
"msw-storybook-addon": "^2.0.6",
|
|
"oxfmt": "^0.43.0",
|
|
"oxlint": "^1.58.0",
|
|
"playwright": "^1.58.2",
|
|
"react-select-event": "^5.5.1",
|
|
"storybook": "^10.3.3",
|
|
"svgo": "^4.0.1",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^8.0.8"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/autocomplete": "^6.20.1",
|
|
"@codemirror/lang-sql": "^6.10.0",
|
|
"@codemirror/view": "^6.40.0",
|
|
"@floating-ui/react": "^0.27.19",
|
|
"@grpc/grpc-js": "1.14.3",
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"@lezer/highlight": "^1.2.3",
|
|
"@nivo/bar": "^0.99.0",
|
|
"@protobuf-ts/runtime": "^2.11.1",
|
|
"@protobuf-ts/runtime-rpc": "^2.11.1",
|
|
"@tanstack/react-query": "^5.95.2",
|
|
"@uiw/codemirror-themes": "^4.25.9",
|
|
"@uiw/react-codemirror": "^4.25.9",
|
|
"d3-scale": "^4.0.2",
|
|
"d3-time-format": "^4.1.0",
|
|
"date-fns": "^4.1.0",
|
|
"highlight.js": "^11.11.1",
|
|
"history": "^4.9.0",
|
|
"immer": "^11.1.4",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^19.2.4",
|
|
"react-day-picker": "^9.14.0",
|
|
"react-dom": "^19.2.4",
|
|
"react-error-boundary": "^6.1.1",
|
|
"react-hook-form": "^7.72.0",
|
|
"react-is": "^19.2.4",
|
|
"react-router": "^7.13.2",
|
|
"react-select": "^5.10.2",
|
|
"react-transition-group": "^4.4.5",
|
|
"styled-components": "^6.3.12",
|
|
"tslib": "^2.8.1",
|
|
"use-immer": "^0.11.0",
|
|
"usehooks-ts": "^3.1.1",
|
|
"whatwg-fetch": "^3.6.20",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"msw": {
|
|
"workerDirectory": [
|
|
"web/.storybook/public"
|
|
]
|
|
},
|
|
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
|
|
"engines": {
|
|
"node": "^24"
|
|
}
|
|
}
|