mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"name": "ohtuilmo-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.24.0",
|
|
"@material-ui/core": "^4.12.4",
|
|
"@material-ui/icons": "^4.11.3",
|
|
"axios": "^0.18.0",
|
|
"history": "^4.7.2",
|
|
"prop-types": "^15.6.2",
|
|
"react": "^16.8.1",
|
|
"react-dom": "^16.8.1",
|
|
"react-drag-list": "^1.1.0",
|
|
"react-markdown": "^8.0.7",
|
|
"react-redux": "^5.1.1",
|
|
"react-router-dom": "^4.3.1",
|
|
"react-select": "^2.4.1",
|
|
"recharts": "^2.12.3",
|
|
"redux": "^4.0.1",
|
|
"redux-thunk": "^2.3.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test-setup": "npm run test-setup:down && docker compose -f ../compose.local-test.yaml --profile local-e2e up -d",
|
|
"test-setup:down": "docker compose -f ../compose.local-test.yaml --profile local-e2e down",
|
|
"test:docker": "docker compose -f ../compose.local-test.yaml --profile e2e up --force-recreate --exit-code-from cypress",
|
|
"test:docker:down": "docker compose -f ../compose.local-test.yaml --profile e2e down",
|
|
"test": "CYPRESS_baseUrl=http://localhost:5000 npx cypress open",
|
|
"test:headless": "CYPRESS_VIDEO=false CYPRESS_baseUrl=http://localhost:5000 npx cypress run",
|
|
"lint": "oxlint src/",
|
|
"lint:fix": "oxlint --fix src/",
|
|
"format": "oxfmt src/",
|
|
"format:check": "oxfmt --check src/"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@vitejs/plugin-react-refresh": "^1.3.6",
|
|
"cypress": "^13.17.0",
|
|
"husky": "^1.2.0",
|
|
"oxfmt": "^0.62.0",
|
|
"oxlint": "^1.77.0",
|
|
"vite": "^5.2.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint"
|
|
}
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
],
|
|
"engines": {
|
|
"node": "24"
|
|
}
|
|
}
|