mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-20 14:38:58 -04:00
* Improve the way react-devtools script is injected in dev mode - Implement a simple vite plugin to inject the reactdevtools script tag before serving index.html - Install reactdevtools and concurrently in desktop workspace - Replace tauri beforeDevCommand with concurrently for managing background process * Revert adding concurrently and executing react-devtools alongside tauri desktop app - Add instructions on how to run desktop app alongside react-devtools to CONTRIBUTING.md * Remove unnecessary 'react-devtools' script - Update wording in CONTRIBUTING.md to clarify how to launch 'react-devtools'
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "@sd/desktop",
|
|
"version": "1.0.0",
|
|
"main": "index.ts",
|
|
"license": "GPL-3.0-only",
|
|
"private": true,
|
|
"scripts": {
|
|
"vite": "vite",
|
|
"dev": "tauri dev",
|
|
"dev-vite": "vite --clearScreen=false --mode development",
|
|
"tauri": "tauri",
|
|
"build": "node ./src-tauri/build.js",
|
|
"dmg": "open ../../target/release/bundle/dmg/",
|
|
"typecheck": "tsc -b"
|
|
},
|
|
"dependencies": {
|
|
"@rspc/client": "^0.0.0-main-7c0a67c1",
|
|
"@rspc/tauri": "^0.0.0-main-7c0a67c1",
|
|
"@sd/client": "workspace:*",
|
|
"@sd/interface": "workspace:*",
|
|
"@sd/ui": "workspace:*",
|
|
"@tanstack/react-query": "^4.24.4",
|
|
"@tauri-apps/api": "1.2.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "6.9.0",
|
|
"vite-plugin-html": "^3.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sd/config": "workspace:*",
|
|
"@tauri-apps/cli": "1.2.3",
|
|
"@types/babel-core": "^6.25.7",
|
|
"@types/react": "^18.0.21",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@vitejs/plugin-react": "^2.1.0",
|
|
"prettier": "^2.7.1",
|
|
"react-devtools": "^4.27.2",
|
|
"sass": "^1.55.0",
|
|
"typescript": "^4.8.4",
|
|
"vite": "^4.0.4",
|
|
"vite-plugin-svgr": "^2.2.1",
|
|
"vite-tsconfig-paths": "^4.0.3"
|
|
}
|
|
}
|