65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"name": "flexitimeui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^5.11.9",
|
|
"@testing-library/react": "^11.2.5",
|
|
"@testing-library/user-event": "^12.8.3",
|
|
"babel": "^6.23.0",
|
|
"bootstrap": "^4.6.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"react-redux": "^7.2.2",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-scripts": "4.0.3",
|
|
"react-toastify": "^7.0.3",
|
|
"redux": "^4.0.5",
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
|
"redux-thunk": "^2.3.0",
|
|
"web-vitals": "^1.1.0"
|
|
},
|
|
"scripts": {
|
|
"start": "run-p start:dev start:api",
|
|
"start:dev": "craco start",
|
|
"prestart:api": "node tools/createMockDb.js",
|
|
"start:api": "node tools/apiServer.js",
|
|
"build": "react-scripts build",
|
|
"test-react": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"tc": "craco test",
|
|
"test": "jest --watch"
|
|
},
|
|
"jest": {
|
|
"moduleNameMapper": {
|
|
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tools/fileMock.js",
|
|
"\\.(css|less)$": "<rootDir>/tools/styleMock.js"
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.5.0",
|
|
"craco": "0.0.3",
|
|
"enzyme": "^3.11.0",
|
|
"json-server": "^0.16.3",
|
|
"react-test-renderer": "^17.0.2"
|
|
}
|
|
}
|