enso/app/ide-desktop/lib/dashboard/package.json
somebody1234 9b7e3d0f16
E2E tests (#8239)
- Closes #8179

# Important Notes
- ⚠️ These tests are currently *not run* on any CI workflow.
- There is some unused code for mocking the PM. This has been intentionally kept, as this may be useful in the future.
Note that this may be useful for testing the dashboard, however the dashboard is currently only tested in cloud mode
- that is, without the backend switcher, and with only the remote backend available. As such, currently it uses HTTP API mocks, and no PM mock.
2023-11-27 15:48:37 +00:00

57 lines
1.8 KiB
JSON

{
"name": "enso-dashboard",
"version": "0.1.0",
"type": "module",
"private": true,
"scripts": {
"typecheck": "tsc",
"build": "tsx bundle.ts",
"dev": "tsx watch.ts",
"start": "tsx start.ts",
"test": "npm run test:unit",
"test:unit": "playwright test",
"test:browsers": "npx --yes playwright install && npm run test:component && npm run test:e2e-and-log",
"test:component": "playwright test -c playwright-component.config.ts",
"test:e2e": "npx playwright test -c playwright-e2e.config.ts",
"test:e2e-and-log": "npm run test:e2e || npx tsx log-screenshot-diffs.ts"
},
"dependencies": {
"@heroicons/react": "^2.0.15",
"@sentry/react": "^7.74.0",
"esbuild": "^0.19.3",
"esbuild-plugin-time": "^1.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.7.0"
},
"devDependencies": {
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@modyfi/vite-plugin-yaml": "^1.0.4",
"@playwright/experimental-ct-react": "^1.40.0",
"@playwright/test": "^1.40.0",
"@types/node": "^18.17.5",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"chalk": "^5.3.0",
"enso-authentication": "^1.0.0",
"enso-chat": "git://github.com/enso-org/enso-bot",
"enso-content": "^1.0.0",
"esbuild-plugin-inline-image": "^0.0.9",
"eslint": "^8.49.0",
"eslint-plugin-jsdoc": "^46.8.1",
"eslint-plugin-react": "^7.32.1",
"playwright": "^1.38.0",
"react-toastify": "^9.1.3",
"tailwindcss": "^3.2.7",
"tsx": "^3.12.6",
"typescript": "~5.2.2"
},
"optionalDependencies": {
"@esbuild/darwin-x64": "^0.17.15",
"@esbuild/linux-x64": "^0.17.15",
"@esbuild/windows-x64": "^0.17.15"
}
}