44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "react-examples",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port 3000 --open --host",
|
|
"serve": "vite serve --port 3000",
|
|
"build": "vite build",
|
|
"test:dev": "cypress open",
|
|
"test": "pnpm test-component && pnpm test-e2e",
|
|
"test-component": "cypress run --component",
|
|
"test-e2e-cypress": "cypress run --e2e --headless",
|
|
"test-e2e": "start-server-and-test 'pnpm serve' http-get://localhost:3000 'pnpm test-e2e-cypress'"
|
|
},
|
|
"dependencies": {
|
|
"@reduxjs/toolkit": "^2.2.3",
|
|
"@xyflow/react": "workspace:*",
|
|
"@xyflow/system": "workspace:*",
|
|
"classcat": "^5.0.4",
|
|
"dagre": "^0.8.5",
|
|
"localforage": "^1.10.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-redux": "^9.1.1",
|
|
"react-router-dom": "^6.18.0",
|
|
"redux": "^5.0.1",
|
|
"zustand": "^4.4.6"
|
|
},
|
|
"devDependencies": {
|
|
"@cypress/skip-test": "^2.6.1",
|
|
"@types/dagre": "^0.7.52",
|
|
"@types/react": "^18.2.36",
|
|
"@types/react-dom": "^18.2.14",
|
|
"@vitejs/plugin-react": "4.1.1",
|
|
"@vitejs/plugin-react-swc": "^3.4.1",
|
|
"cypress": "13.6.6",
|
|
"cypress-real-events": "1.12.0",
|
|
"start-server-and-test": "^2.0.2",
|
|
"typescript": "5.2.2",
|
|
"vite": "4.5.0"
|
|
}
|
|
}
|