Replaces CodeMirror with Monaco for scripting editors under the experimental scripting sandbox. The legacy CodeMirror-based editors are preserved for backwards compatibility and will continue to power the legacy scripting sandbox. This introduces improved type support, IntelliSense, and JSDoc hinting via Monaco, with the backing for pre-request and post-request scripts in tabbed views. Type definitions are isolated per editor to avoid variable leakage.
94 lines
3.4 KiB
JSON
94 lines
3.4 KiB
JSON
{
|
|
"name": "@hoppscotch/selfhost-web",
|
|
"private": true,
|
|
"version": "2025.6.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev:vite": "vite",
|
|
"dev:gql-codegen": "graphql-codegen --require dotenv/config --config gql-codegen.yml dotenv_config_path=\"../../.env\" --watch",
|
|
"dev": "pnpm exec npm-run-all -p -l dev:*",
|
|
"build": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint src --ext .ts,.js,.vue --ignore-path .gitignore .",
|
|
"lint:ts": "vue-tsc --noEmit",
|
|
"lintfix": "eslint --fix src --ext .ts,.js,.vue --ignore-path .gitignore .",
|
|
"prod-lint": "cross-env HOPP_LINT_FOR_PROD=true pnpm run lint",
|
|
"generate": "pnpm run build",
|
|
"do-dev": "pnpm run dev",
|
|
"do-build-prod": "pnpm run build",
|
|
"do-lint": "pnpm run prod-lint",
|
|
"do-typecheck": "pnpm run lint",
|
|
"do-lintfix": "pnpm run lintfix",
|
|
"gql-codegen": "graphql-codegen --require dotenv/config --config gql-codegen.yml dotenv_config_path=\"../../.env\"",
|
|
"postinstall": "pnpm run gql-codegen"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/inter": "5.1.0",
|
|
"@fontsource-variable/material-symbols-rounded": "5.1.2",
|
|
"@fontsource-variable/roboto-mono": "5.1.0",
|
|
"@hoppscotch/common": "workspace:^",
|
|
"@hoppscotch/data": "workspace:^",
|
|
"@hoppscotch/kernel": "workspace:^",
|
|
"@hoppscotch/ui": "0.2.1",
|
|
"@import-meta-env/unplugin": "0.6.0",
|
|
"@tauri-apps/api": "2.1.1",
|
|
"@tauri-apps/plugin-dialog": "2.0.1",
|
|
"@tauri-apps/plugin-fs": "2.0.2",
|
|
"@tauri-apps/plugin-shell": "2.0.1",
|
|
"@vueuse/core": "10.5.0",
|
|
"axios": "1.8.2",
|
|
"buffer": "6.0.3",
|
|
"dioc": "3.0.2",
|
|
"fp-ts": "2.16.9",
|
|
"process": "0.11.10",
|
|
"rxjs": "7.8.1",
|
|
"stream-browserify": "3.0.0",
|
|
"util": "0.12.5",
|
|
"verzod": "0.3.0",
|
|
"vue": "3.5.12",
|
|
"workbox-window": "7.1.0",
|
|
"zod": "3.25.32"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/add": "5.0.3",
|
|
"@graphql-codegen/cli": "5.0.3",
|
|
"@graphql-codegen/typed-document-node": "5.0.10",
|
|
"@graphql-codegen/typescript": "4.1.0",
|
|
"@graphql-codegen/typescript-operations": "4.3.0",
|
|
"@graphql-codegen/typescript-urql-graphcache": "3.1.0",
|
|
"@graphql-codegen/urql-introspection": "3.0.0",
|
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
"@iconify-json/lucide": "1.2.8",
|
|
"@intlify/unplugin-vue-i18n": "6.0.4",
|
|
"@rushstack/eslint-patch": "1.10.4",
|
|
"@typescript-eslint/eslint-plugin": "8.9.0",
|
|
"@typescript-eslint/parser": "8.9.0",
|
|
"@urql/exchange-graphcache": "6.5.1",
|
|
"@vitejs/plugin-legacy": "5.4.2",
|
|
"@vitejs/plugin-vue": "5.1.4",
|
|
"@vue/eslint-config-typescript": "13.0.0",
|
|
"autoprefixer": "10.4.20",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "8.57.0",
|
|
"eslint-plugin-prettier": "5.2.1",
|
|
"eslint-plugin-vue": "9.29.0",
|
|
"npm-run-all": "4.1.5",
|
|
"postcss": "8.4.47",
|
|
"prettier-plugin-tailwindcss": "0.6.8",
|
|
"tailwindcss": "3.4.13",
|
|
"typescript": "5.8.3",
|
|
"unplugin-fonts": "1.1.1",
|
|
"unplugin-icons": "0.19.3",
|
|
"unplugin-vue-components": "0.27.4",
|
|
"vite": "5.4.9",
|
|
"vite-plugin-fonts": "0.7.0",
|
|
"vite-plugin-html-config": "2.0.2",
|
|
"vite-plugin-inspect": "0.8.7",
|
|
"vite-plugin-pages": "0.32.3",
|
|
"vite-plugin-pages-sitemap": "1.7.1",
|
|
"vite-plugin-pwa": "0.20.5",
|
|
"vite-plugin-static-copy": "2.0.0",
|
|
"vite-plugin-vue-layouts": "0.11.0",
|
|
"vue-tsc": "2.1.6"
|
|
}
|
|
}
|