diff --git a/frontend/package.json b/frontend/package.json index c84673b..95011bd 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,52 +1,181 @@ { - "name": "frontend", - "version": "0.1.0", - "private": true, - "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "lint": "vue-cli-service lint", - "exec": "PATH=$(npm bin):$PATH" - }, - "dependencies": { - "axios": "0.18.0", - "bootstrap-vue": "2.0.0-rc.11", - "core-js": "^3.6.5", - "less": "^3.12.2", - "less-loader": "^7.0.2", - "uikit": "^3.5.9", - "vue": "2.5.13", - "vue-instantsearch": "2.7.0", - "vue-router": "^3.4.7", - "vuex": "^3.5.1", - "vuikit": "^0.8.10" - }, - "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.8", - "@vue/cli-plugin-eslint": "^4.5.8", - "@vue/cli-service": "^4.5.8", - "babel-eslint": "^10.1.0", - "eslint": "^6.7.2", - "eslint-plugin-vue": "^6.2.2", - "vue-template-compiler": "2.5.13" - }, - "eslintConfig": { - "root": true, - "env": { - "node": true + "name": "svr", + "version": "0.1.0", + "private": true, + "homepage": "/", + "dependencies": { + "@fortawesome/fontawesome-svg-core": "^1.2.30", + "@fortawesome/free-regular-svg-icons": "^5.14.0", + "@fortawesome/free-solid-svg-icons": "^5.14.0", + "@fortawesome/react-fontawesome": "^0.1.11", + "@hot-loader/react-dom": "17.0.2", + "@react-google-maps/api": "^2.2.0", + "@react-hook/event": "^1.2.2", + "@react-hook/window-size": "^3.0.7", + "angular": "^1.8.2", + "angular-gettext": "^2.4.2", + "angular-sanitize": "^1.8.2", + "axios": "^0.26", + "babel-plugin-import": "^1.13.0", + "babel-plugin-transform-imports": "^2.0.0", + "bignumber.js": "^9.0.1", + "chart.js": "^2.x", + "ckeditor4": "4.21.0", + "connected-react-router": "^6.9.1", + "cookie": "^0.4.0", + "d3": "^7.6.1", + "date-fns": "^2.30.0", + "date-fns-tz": "^1.0.8", + "detect-browser": "^5.2.0", + "dompurify": "^2.2.0", + "formik": "^2.2.6", + "history": "^4.x", + "hls.js": "^0.14.17", + "i18next": "^19.0.2", + "i18next-browser-languagedetector": "^5.0.1", + "i18next-sprintf-postprocessor": "^0.2.2", + "jquery": "^3.6.0", + "jstorage": "^0.4.8", + "libphonenumber-js": "^1.9.6", + "lodash": "^4.17.21", + "moment": "^2.29.4", + "path-to-regexp": "^6.2.0", + "qs": "^6.9.1", + "randomcolor": "^0.6.2", + "rc-tree": "^5.0.1", + "react": "^17.0.2", + "react-app-polyfill": "^1.0.6", + "react-datepicker": "^4.1.1", + "react-dnd": "15.1", + "react-dnd-html5-backend": "15.1", + "react-dom": "^17.0.2", + "react-hot-loader": "^4.13.0", + "react-i18next": "^11.8.13", + "react-intersection-observer": "^9.4.3", + "react-merge-refs": "^2.0.1", + "react-modal": "^3.11.1", + "react-redux": "^7.1.3", + "react-router-dom": "^5.2.0", + "react-scripts": "^5.0.0", + "react-scrollbar-size": "^3.0.1", + "react-tabs": "^3.1.1", + "react-test-renderer": "^17.0.2", + "react-window": "^1.8.5", + "redux": "^4.0.4", + "redux-devtools-extension": "^2.13.8", + "redux-persist": "^6.0.0", + "redux-saga": "^1.1.3", + "reselect": "^4.0.0", + "runtypes": "5.0.1", + "styled-components": "^4.4.1", + "typesafe-actions": "^5.1.0", + "typescript": "^4.3.5", + "uuid": "^8.3.0", + "yup": "^0.29.3" }, - "extends": [ - "plugin:vue/essential", - "eslint:recommended" - ], - "parserOptions": { - "parser": "babel-eslint" + "scripts": { + "start": "BROWSER=none react-app-rewired --inspect start --no-cache --runInBand", + "build": "GENERATE_SOURCEMAP=false react-app-rewired build", + "test": "react-app-rewired test", + "test:nowatch": "react-app-rewired test --watchAll=false", + "eject": "react-scripts eject", + "lint": "eslint --ext js,ts,tsx -f checkstyle -o dist/eslint-checkstyle.xml src || true", + "nggettext_extract": "yarn run nggettext_extract-into src/admin/ng/po/template.pot", + "nggettext_compile": "node scripts/nggettext_compile.js -o 'src/admin/ng/generated/translations.json' 'src/admin/ng/po/*.po'", + "nggettext_extract-into": "node scripts/nggettext_extract.js 'src/admin/ng/**/*.html' 'src/admin/**/*.js' -x '**/ckeditor-build/**' -o", + "copy-i18n-files": "python3 scripts/copy-i18n-files.py", + "extract-admin-i18n": "python3 scripts/extract-admin-i18n.py", + "postinstall": "patch-package" }, - "rules": {} - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" - ] + "eslintConfig": { + "extends": "react-app", + "rules": { + "no-multi-spaces": "error" + } + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all", + "ie >= 11" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version", + "ie >= 11" + ] + }, + "devDependencies": { + "@testing-library/dom": "^6.11.0", + "@testing-library/jest-dom": "^4.2.4", + "@testing-library/react": "^9.3.2", + "@testing-library/user-event": "^7.1.2", + "@types/angular": "^1.8.1", + "@types/cookie": "^0.4.0", + "@types/dompurify": "^2.0.4", + "@types/google.maps": "^3.45.6", + "@types/history": "^4.7.8", + "@types/hls.js": "^0.13.0", + "@types/i18next-sprintf-postprocessor": "^0.2.0", + "@types/jest": "^24.0.0", + "@types/jquery": "^3.5.5", + "@types/lodash": "^4.14.162", + "@types/node": "^12.0.0", + "@types/qs": "^6.9.0", + "@types/react": "^16.9.0", + "@types/react-datepicker": "2.11.0", + "@types/react-dom": "^16.9.0", + "@types/react-modal": "^3.10.1", + "@types/react-redux": "^7.1.5", + "@types/react-router-dom": "^5.1.7", + "@types/react-tabs": "^2.3.2", + "@types/react-window": "^1.8.1", + "@types/styled-components": "^5.1.1", + "@types/uuid": "^8.3.0", + "@types/yup": "^0.29.8", + "@welldone-software/why-did-you-render": "^6.2.0", + "@wojtekmaj/enzyme-adapter-react-17": "^0.6.2", + "angular-gettext-tools": "^2.5.3", + "babel-plugin-import": "^1.13.0", + "babel-plugin-styled-components": "^1.10.6", + "babel-plugin-transform-imports": "^2.0.0", + "bootstrap-sass": "^3.4.1", + "copy-modules-webpack-plugin": "^2.1.0", + "copy-webpack-plugin": "^6.x", + "customize-cra": "^0.9.1", + "enzyme": "^3.11.0", + "enzyme-to-json": "^3.4.4", + "html-loader": "^3.1.0", + "http-proxy-middleware": "^1.0.3", + "moment-locales-webpack-plugin": "^1.2.0", + "patch-package": "^6.5.1", + "postcss-normalize": "^10.0.1", + "postinstall-postinstall": "^2.1.0", + "react-app-rewire-hot-loader": "^2.0.1", + "react-app-rewired": "^2.2.1", + "redux-mock-store": "^1.5.4", + "redux-saga-test-plan": "^4.0.0-rc.3", + "sass": "~1.32.11", + "ts-jest": "^27.0.3", + "utility-types": "^3.10.0", + "webpack": "^5.76.0", + "webpack-bundle-analyzer": "^3.9.0", + "yargs": "^17.0.1" + }, + "jest": { + "transform": { + ".(ts|tsx)": "ts-jest" + } + }, + "resolutions": { + "glob-parent": "^6.0.1", + "json5": "^2.2.2", + "moment": "2.29.4", + "lodash": "4.17.21", + "d3-color": "^3.1", + "webpack": "^5.76.0", + "yaml": "^2.2.2" + } }