@ -10,15 +10,23 @@
"url" : "https://github.com/Awesome-Technologies/synapse-admin"
"url" : "https://github.com/Awesome-Technologies/synapse-admin"
} ,
} ,
"devDependencies" : {
"devDependencies" : {
"@babel/preset-env" : "^7.24.4" ,
"@babel/preset-react" : "^7.24.1" ,
"@testing-library/jest-dom" : "^6.0.0" ,
"@testing-library/jest-dom" : "^6.0.0" ,
"@testing-library/react" : "^15.0.2" ,
"@testing-library/react" : "^15.0.2" ,
"@testing-library/user-event" : "^14.5.2" ,
"@testing-library/user-event" : "^14.5.2" ,
"@vitejs/plugin-react" : "^4.0.0" ,
"babel-jest" : "^29.7.0" ,
"eslint" : "^8.57.0" ,
"eslint" : "^8.57.0" ,
"eslint-config-prettier" : "^9.1.0" ,
"eslint-config-prettier" : "^9.1.0" ,
"eslint-config-react-app" : "^7.0.1" ,
"eslint-config-react-app" : "^7.0.1" ,
"eslint-plugin-prettier" : "^5.1.3" ,
"eslint-plugin-prettier" : "^5.1.3" ,
"jest" : "^29.7.0" ,
"jest-environment-jsdom" : "^29.7.0" ,
"jest-fetch-mock" : "^3.0.3" ,
"jest-fetch-mock" : "^3.0.3" ,
"prettier" : "^3.2.5"
"prettier" : "^3.2.5" ,
"react-test-renderer" : "^18.2.0" ,
"vite" : "^5.0.0"
} ,
} ,
"dependencies" : {
"dependencies" : {
"@haleos/ra-language-german" : "^1.0.0" ,
"@haleos/ra-language-german" : "^1.0.0" ,
@ -27,30 +35,45 @@
"@mui/material" : "^5.15.15" ,
"@mui/material" : "^5.15.15" ,
"@mui/styles" : "^5.15.15" ,
"@mui/styles" : "^5.15.15" ,
"papaparse" : "^5.4.1" ,
"papaparse" : "^5.4.1" ,
"ra-language-farsi" : "^4.2.0" ,
"ra-language-french" : "^4.16.15" ,
"ra-language-french" : "^4.16.15" ,
"ra-language-italian" : "^3.13.1" ,
"ra-language-italian" : "^3.13.1" ,
"ra-language-farsi" : "^4.2.0" ,
"react" : "^18.0.0" ,
"react" : "^18.0.0" ,
"react-admin" : "^4.16.15" ,
"react-admin" : "^4.16.15" ,
"react-dom" : "^18.0.0" ,
"react-dom" : "^18.0.0"
"react-scripts" : "^5.0.1"
} ,
} ,
"scripts" : {
"scripts" : {
"start" : "REACT_APP_VERSION=$(git describe --tags) react-scripts start ",
"start" : "REACT_APP_VERSION=$(git describe --tags) vite serve ",
"build" : "REACT_APP_VERSION=$(git describe --tags) react-scripts build",
"build" : "REACT_APP_VERSION=$(git describe --tags) vite build",
"fix:other" : "yarn prettier --write" ,
"fix:other" : "yarn prettier --write" ,
"fix:code" : "yarn test:lint --fix" ,
"fix:code" : "yarn test:lint --fix" ,
"fix" : "yarn fix:code && yarn fix:other" ,
"fix" : "yarn fix:code && yarn fix:other" ,
"prettier" : "prettier --ignore-path .gitignore \"**/*.{js,jsx,json,md,scss,yaml,yml}\"" ,
"prettier" : "prettier --ignore-path .gitignore \"**/*.{js,jsx,json,md,scss,yaml,yml}\"" ,
"test:code" : " react-scripts t est",
"test:code" : " j est",
"test:lint" : "eslint --ignore-path .gitignore --ext .js,.jsx ." ,
"test:lint" : "eslint --ignore-path .gitignore --ext .js,.jsx ." ,
"test:style" : "yarn prettier --list-different" ,
"test:style" : "yarn prettier --list-different" ,
"test" : "yarn test:style && yarn test:lint && yarn test:code" ,
"test" : "yarn test:style && yarn test:lint && yarn test:code"
"eject" : "react-scripts eject"
} ,
"babel" : {
"presets" : [
"@babel/preset-env" ,
[
"@babel/preset-react" ,
{
"runtime" : "automatic"
}
]
]
} ,
} ,
"eslintConfig" : {
"eslintConfig" : {
"extends" : "react-app"
"extends" : "react-app"
} ,
} ,
"jest" : {
"testEnvironment" : "jsdom" ,
"setupFilesAfterEnv" : [
"<rootDir>/src/setupTests.js"
]
} ,
"browserslist" : {
"browserslist" : {
"production" : [
"production" : [
">0.2%" ,
">0.2%" ,