mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-20 15:43:58 -05:00
* Basic cypress test * Add e2e test command * Add full e2e test for creating and deleting a library * Add cypress to CI * Fix cypress CI - Use arm macos for running cypress - Setup rust on cypress job - Increase cypress CI timeout * Remove unused APPLE_SIGNING_IDENTITY envvar * Update deps again + Try to fix Cypress CI setup * Update deps again * Only test default location if it exists * Use latest v18 NodeJS in CI * Increase minimum node version due to updated dependency - @typescript-eslint/eslint-plugin now requires node >=18.18 * Fix testing failing for optional default locations * Enable video recording - Fix screenshot and video artifact uploading * Fix location test - Use correct location name, instead of trying to derive it from the internal id
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"name": "@sd/web",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev:api": "env E2E_TEST=1 cargo run -p sd-server",
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "VITE_SD_DEMO_MODE=true playwright test",
|
|
"test:e2e": "env WAIT_ON_TIMEOUT=1800000 start-test dev:api http://localhost:8080 dev http://localhost:8002 cy:run",
|
|
"test:interactive": "env WAIT_ON_TIMEOUT=1800000 start-test dev:api http://localhost:8080 dev http://localhost:8002 cy:open",
|
|
"cy:run": "env ELECTRON_EXTRA_LAUNCH_ARGS=--lang=en cypress run",
|
|
"cy:open": "env ELECTRON_EXTRA_LAUNCH_ARGS=--lang=en cypress open --e2e",
|
|
"typecheck": "tsc -b",
|
|
"lint": "eslint src --cache"
|
|
},
|
|
"dependencies": {
|
|
"@oscartbeaumont-sd/rspc-client": "=0.0.0-main-dc31e5b2",
|
|
"@sd/client": "workspace:*",
|
|
"@sd/interface": "workspace:*",
|
|
"@tanstack/react-query": "^4.36.1",
|
|
"html-to-image": "^1.11.11",
|
|
"html2canvas": "^1.4.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "=6.20.1"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.42.1",
|
|
"@sd/config": "workspace:*",
|
|
"@sd/ui": "workspace:*",
|
|
"@types/react": "^18.2.67",
|
|
"@types/react-dom": "^18.2.22",
|
|
"autoprefixer": "^10.4.18",
|
|
"cypress": "^13.7.0",
|
|
"eslint-plugin-cypress": "^2.15.1",
|
|
"postcss": "^8.4.36",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"start-server-and-test": "^2.0.3",
|
|
"typescript": "^5.4.2",
|
|
"vite": "^5.1.6",
|
|
"vite-tsconfig-paths": "^4.3.2"
|
|
}
|
|
}
|