mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
a43cdb4060
I've been able to use the OpenAI library as they support being in the browser if you pass the "dangerouslyAllowBrowser" flag. Anthropics don't have any interest in supporting browers making API calls and causes sugnificant CORS problems, so I've made use of the Tauri HTTP library, so this commit also sets that up
100 lines
3.1 KiB
JSON
100 lines
3.1 KiB
JSON
{
|
|
"name": "@gitbutler/ui",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"test": "vitest run --mode development",
|
|
"build:development": "vite build --mode development",
|
|
"build:nightly": "vite build --mode nightly",
|
|
"build": "vite build",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "pnpm check --watch",
|
|
"lint": "prettier --no-editorconfig --check . && eslint .",
|
|
"format": "prettier --no-editorconfig --write .",
|
|
"fix": "eslint --fix .",
|
|
"tauri": "tauri",
|
|
"prepare": "svelte-kit sync"
|
|
},
|
|
"devDependencies": {
|
|
"@codemirror/lang-cpp": "^6.0.2",
|
|
"@codemirror/lang-css": "^6.2.1",
|
|
"@codemirror/lang-html": "^6.4.8",
|
|
"@codemirror/lang-java": "^6.0.1",
|
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
"@codemirror/lang-json": "^6.0.1",
|
|
"@codemirror/lang-markdown": "^6.2.4",
|
|
"@codemirror/lang-php": "^6.0.1",
|
|
"@codemirror/lang-python": "^6.1.4",
|
|
"@codemirror/lang-rust": "^6.0.1",
|
|
"@codemirror/lang-vue": "^0.1.3",
|
|
"@codemirror/lang-wast": "^6.0.2",
|
|
"@codemirror/lang-xml": "^6.0.2",
|
|
"@codemirror/language": "^6.10.1",
|
|
"@codemirror/legacy-modes": "^6.3.3",
|
|
"@codemirror/state": "^6.4.1",
|
|
"@codemirror/view": "^6.24.1",
|
|
"@lezer/common": "^1.2.1",
|
|
"@lezer/highlight": "^1.2.0",
|
|
"@octokit/rest": "^20.0.2",
|
|
"@replit/codemirror-lang-svelte": "^6.0.0",
|
|
"@sentry/sveltekit": "^7.104.0",
|
|
"@sveltejs/adapter-static": "^2.0.3",
|
|
"@sveltejs/kit": "^1.30.4",
|
|
"@tauri-apps/api": "^1.5.3",
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@types/diff": "^5.0.9",
|
|
"@types/diff-match-patch": "^1.0.36",
|
|
"@types/lscache": "^1.3.4",
|
|
"@types/marked": "^5.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"autoprefixer": "^10.4.17",
|
|
"class-transformer": "^0.5.1",
|
|
"crypto-js": "^4.2.0",
|
|
"date-fns": "^2.30.0",
|
|
"diff-match-patch": "^1.0.5",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-square-svelte-store": "^1.0.0",
|
|
"eslint-plugin-svelte": "^2.35.1",
|
|
"inter-ui": "^4.0.2",
|
|
"leven": "^4.0.0",
|
|
"lscache": "^1.3.2",
|
|
"marked": "^10.0.0",
|
|
"mm-jsr": "^3.0.2",
|
|
"nanoevents": "^9.0.0",
|
|
"nanoid": "^5.0.6",
|
|
"postcss": "^8.4.35",
|
|
"postcss-load-config": "^5.0.3",
|
|
"posthog-js": "1.110.0",
|
|
"prettier": "^3.2.5",
|
|
"prettier-plugin-svelte": "^3.2.2",
|
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
"reflect-metadata": "^0.2.1",
|
|
"rxjs": "^7.8.1",
|
|
"svelte": "^4.2.12",
|
|
"svelte-check": "^3.6.6",
|
|
"svelte-floating-ui": "^1.5.8",
|
|
"svelte-french-toast": "^1.2.0",
|
|
"svelte-loadable-store": "^2.0.1",
|
|
"svelte-outclick": "^3.7.0",
|
|
"svelte-resize-observer": "^2.0.0",
|
|
"tailwindcss": "^3.4.1",
|
|
"tauri-plugin-context-menu": "^0.7.0",
|
|
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
|
|
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store#v1",
|
|
"tinykeys": "^2.1.0",
|
|
"tslib": "^2.6.2",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^4.5.2",
|
|
"vitest": "^0.34.6"
|
|
},
|
|
"dependencies": {
|
|
"openai": "^4.28.4"
|
|
}
|
|
}
|