78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"name": "new-item-finder-website",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@cypress/code-coverage": "^3.9.11",
|
|
"@cypress/instrument-cra": "^1.4.0",
|
|
"@testing-library/jest-dom": "^5.11.4",
|
|
"@testing-library/react": "^11.1.0",
|
|
"@testing-library/user-event": "^12.1.10",
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "^12.0.0",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"cypress": "9.0.0",
|
|
"start-server-and-test": "^1.14.0",
|
|
"typescript": "^4.1.2",
|
|
"wait-on": "^6.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.4.1",
|
|
"@emotion/styled": "^11.3.0",
|
|
"@mui/icons-material": "^5.0.3",
|
|
"@mui/material": "^5.0.3",
|
|
"@mui/styles": "^5.0.1",
|
|
"history": "5",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-json-view": "^1.21.3",
|
|
"react-router-dom": "6",
|
|
"react-scripts": "4.0.3",
|
|
"web-vitals": "^1.0.1",
|
|
"zustand": "^3.5.13"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test:jest": "react-scripts test",
|
|
"cy:start:app": "cross-env BROWSER=none react-scripts -r @cypress/instrument-cra start",
|
|
"cy:start:wait": "start-server-and-test cy:start:app http://localhost:3000",
|
|
"cy:install": "cypress install",
|
|
"cy:verify": "cypress verify",
|
|
"cy:run:ci": "cross-env CYPRESS_BASE_URL=http://frontend:3000 cypress run",
|
|
"cy:open": "yarn run cy:start:wait -- \"cypress open\"",
|
|
"cy:run": "yarn run wait-on http-get://frontend:3000 && yarn run cy:install && yarn run cy:verify && yarn run cy:run:ci",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"nyc": {
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx"
|
|
],
|
|
"exclude": [
|
|
"src/reportWebVitals.ts"
|
|
],
|
|
"excludeAfterRemap": true
|
|
}
|
|
}
|