mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
8971e2feba
Adds electron-builder, which we will use to package and distribute our application, same as in the existing app. Replaces explicit port assignments with dynamic ones, which are then stored into environment variables. Adds a ~/.w2-dev folder for use when running a dev build. The build-helper pipeline from the old repo is included here too, but it is not updated yet so it will fail. Also removes some redundant utility functions and cleans up some let vs. const usage. The packaging can be run using the `package:prod` and `package:dev` tasks. --------- Co-authored-by: sawka <mike.sawka@gmail.com>
109 lines
3.7 KiB
JSON
109 lines
3.7 KiB
JSON
{
|
|
"name": "thenextwave",
|
|
"author": {
|
|
"name": "Command Line Inc",
|
|
"email": "info@commandline.dev"
|
|
},
|
|
"productName": "TheNextWave",
|
|
"description": "An Open-Source, AI-Native, Terminal Built for Seamless Workflows",
|
|
"license": "Apache-2.0",
|
|
"version": "0.0.0",
|
|
"homepage": "https://waveterm.dev",
|
|
"build": {
|
|
"appId": "dev.commandline.thenextwave"
|
|
},
|
|
"private": true,
|
|
"main": "./dist/main/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"start": "electron-vite preview",
|
|
"build:dev": "electron-vite build --mode development",
|
|
"build:prod": "electron-vite build --mode production",
|
|
"storybook": "storybook dev -p 6006 --no-open",
|
|
"build-storybook": "storybook build",
|
|
"coverage": "vitest run --coverage",
|
|
"test": "vitest",
|
|
"postinstall": "electron-builder install-app-deps"
|
|
},
|
|
"devDependencies": {
|
|
"@chromatic-com/storybook": "^1.5.0",
|
|
"@eslint/js": "^9.2.0",
|
|
"@storybook/addon-essentials": "^8.1.10",
|
|
"@storybook/addon-interactions": "^8.1.10",
|
|
"@storybook/addon-links": "^8.1.10",
|
|
"@storybook/blocks": "^8.1.10",
|
|
"@storybook/react": "^8.1.10",
|
|
"@storybook/react-vite": "^8.1.10",
|
|
"@storybook/test": "^8.1.10",
|
|
"@types/node": "^20.12.12",
|
|
"@types/papaparse": "^5",
|
|
"@types/react": "^18.3.2",
|
|
"@types/sprintf-js": "^1",
|
|
"@types/throttle-debounce": "^5",
|
|
"@types/tinycolor2": "^1",
|
|
"@types/uuid": "^9.0.8",
|
|
"@vitejs/plugin-react": "^4.3.0",
|
|
"@vitest/coverage-istanbul": "^1.6.0",
|
|
"electron": "^31.1.0",
|
|
"electron-builder": "^24.13.3",
|
|
"electron-vite": "^2.2.0",
|
|
"eslint": "^9.2.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"less": "^4.2.0",
|
|
"prettier": "^3.2.5",
|
|
"prettier-plugin-jsdoc": "^1.3.0",
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
"storybook": "^8.1.10",
|
|
"ts-node": "^10.9.2",
|
|
"tslib": "^2.6.2",
|
|
"tsx": "^4.15.4",
|
|
"typescript": "^5.4.5",
|
|
"typescript-eslint": "^7.8.0",
|
|
"vite": "^5.0.0",
|
|
"vite-plugin-static-copy": "^1.0.5",
|
|
"vite-tsconfig-paths": "^4.3.2",
|
|
"vitest": "^1.6.0"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/loader": "^1.4.0",
|
|
"@monaco-editor/react": "^4.6.0",
|
|
"@observablehq/plot": "^0.6.14",
|
|
"@react-hook/resize-observer": "^2.0.1",
|
|
"@table-nav/core": "^0.0.7",
|
|
"@table-nav/react": "^0.0.7",
|
|
"@tanstack/react-table": "^8.17.3",
|
|
"@types/electron": "^1.6.10",
|
|
"@xterm/addon-fit": "^0.10.0",
|
|
"@xterm/addon-serialize": "^0.13.0",
|
|
"@xterm/xterm": "^5.5.0",
|
|
"base64-js": "^1.5.1",
|
|
"clsx": "^2.1.1",
|
|
"dayjs": "^1.11.11",
|
|
"html-to-image": "^1.11.11",
|
|
"immer": "^10.1.1",
|
|
"jotai": "^2.8.0",
|
|
"monaco-editor": "^0.49.0",
|
|
"overlayscrollbars": "^2.8.3",
|
|
"overlayscrollbars-react": "^0.5.6",
|
|
"papaparse": "^5.4.1",
|
|
"react": "^18.3.1",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-frame-component": "^5.2.7",
|
|
"react-gauge-chart": "^0.5.1",
|
|
"react-markdown": "^9.0.1",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"rxjs": "^7.8.1",
|
|
"sprintf-js": "^1.1.3",
|
|
"throttle-debounce": "^5.0.0",
|
|
"tinycolor2": "^1.6.0",
|
|
"use-device-pixel-ratio": "^1.1.2",
|
|
"uuid": "^9.0.1",
|
|
"winston": "^3.13.1"
|
|
},
|
|
"packageManager": "yarn@4.3.1"
|
|
}
|