sourcegraph/client/web-sveltekit/package.json
Quinn Slack f7d4517dbc
upgrade Cody Web, always create a new chat (#64334)
Incorporates https://github.com/sourcegraph/cody/pull/5129

## Test plan

Run in SvelteKit and non-SvelteKit. Ensure that the Cody standalone chat
and Cody sidebar chats work.
2024-08-07 13:23:25 +00:00

103 lines
3.6 KiB
JSON

{
"name": "@sourcegraph/web-sveltekit",
"version": "0.0.1",
"scripts": {
"dev": "vite dev",
"dev:dotcom": "SOURCEGRAPH_API_URL=https://sourcegraph.com vite dev --mode=dotcom",
"dev:enterprise": "DEPLOY_TYPE=dev vite build --watch",
"build": "vite build",
"build:preview": "vite build --mode=preview",
"build:watch": "vite build --watch",
"preview": "vite preview",
"install:browsers": "playwright install",
"test": "DISABLE_APP_ASSETS_MOCKING=true playwright test",
"test:dev": "DISABLE_APP_ASSETS_MOCKING=true PORT=5173 playwright test --ui",
"test:svelte": "vitest --run",
"sync": "svelte-kit sync",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "eslint .",
"format": "prettier --config ./prettier.config.cjs --write . --plugin prettier-plugin-svelte",
"generate": "pnpm -w generate",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
"@graphql-codegen/typed-document-node": "^5.0.1",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-tools/utils": "^10.0.11",
"@graphql-typed-document-node/core": "^3.2.0",
"@iconify-json/devicon-plain": "^1.1.42",
"@iconify-json/file-icons": "^1.1.8",
"@iconify-json/lucide": "^1.1.188",
"@iconify-json/mdi": "^1.1.67",
"@iconify-json/ph": "^1.1.13",
"@iconify-json/simple-icons": "^1.1.104",
"@playwright/test": "1.42.1",
"@storybook/addon-essentials": "^8.0.5",
"@storybook/addon-svelte-csf": "^4.1.2",
"@storybook/svelte": "^8.0.5",
"@storybook/sveltekit": "^8.0.5",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.0",
"@sveltejs/kit": "^2.5.17",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@testing-library/svelte": "^4.0.3",
"@testing-library/user-event": "^14.4.3",
"@types/cookie": "^0.5.1",
"@types/highlight.js": "^9.12.4",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-svelte3": "^4.0.0",
"graphql": "^15.0.0",
"msw": "^1.2.3",
"msw-storybook-addon": "^1.10.0",
"playwright": "1.42.1",
"prettier": "2.8.1",
"prettier-plugin-svelte": "^2.0.0",
"sass": "^1.32.4",
"signale": "^1.4.0",
"storybook": "^8.0.5",
"storybook-dark-mode": "^4.0.1",
"svelte": "^4.2.18",
"svelte-check": "^3.4.6",
"tslib": "2.1.0",
"unplugin-auto-import": "^0.17.6",
"unplugin-icons": "^0.19.0",
"vite": "~5.1.5",
"vite-plugin-inspect": "^0.8.4",
"vitest": "^1.3.1"
},
"type": "module",
"dependencies": {
"@floating-ui/dom": "^1.6.3",
"@fontsource-variable/inter": "^5.0.18",
"@fontsource-variable/roboto-mono": "^5.0.19",
"@melt-ui/svelte": "^0.76.0",
"@sentry/sveltekit": "^8.7.0",
"@sourcegraph/branded": "workspace:*",
"@sourcegraph/client-api": "workspace:*",
"@sourcegraph/cody-web": "^0.4.0",
"@sourcegraph/common": "workspace:*",
"@sourcegraph/http-client": "workspace:*",
"@sourcegraph/shared": "workspace:*",
"@sourcegraph/telemetry": "^0.11.0",
"@sourcegraph/web": "workspace:*",
"@urql/core": "^4.2.3",
"copy-to-clipboard": "^3.3.1",
"highlight.js": "^10.0.0",
"hotkeys-js": "^3.13.7",
"mermaid": "^10.9.1",
"re2js": "^0.4.1",
"ts-key-enum": "^2.0.12",
"wonka": "^6.3.4",
"zod": "^3.23.8"
},
"msw": {
"workerDirectory": "static"
}
}