Files
spacedrive/apps/desktop/package.json
Vítor Vasconcellos 50442ede3e [ENG-469] Make Prettier and ESLint work together (#706)
* Make Prettier and ESLint work together
- Resolve conflicts between Prettier and ESLint regarding indentation and Tailwind rules order
- Add `.editorconfig` to standardize basic formatting options across tools and editors
- Add `.gitattributes` to hide `pnpm-lock.yaml` in `git diff` output
- Include EditorConfig in the recommended extensions for VSCode
- Replace some instances of `pnpm exec <command>` with `pnpm <command>`
- Remove superfluous Tauri config for Linux

* Revert Prettier changes (it was working correctly before)
 - Update ESLint to read Tailwind config from absolute path
 - Remove redundant Prettier dependency from subprojects
 - Specify the source folder for the lint script in subprojects

* use mobile's tailwind config with eslint

* pnpm format + pnpm lint:fix

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-04-14 21:21:21 +00:00

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",
"lint": "eslint src --cache"
},
"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",
"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"
}
}