Skip to content

Commit

Permalink
chore: remove react, react-dom and deduplicate dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kabaros committed Oct 22, 2024
1 parent 282e1ad commit 54c0f34
Show file tree
Hide file tree
Showing 2 changed files with 451 additions and 552 deletions.
141 changes: 70 additions & 71 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,73 @@
{
"name": "dashboard-app",
"version": "100.3.0",
"description": "DHIS2 Dashboard app",
"private": true,
"license": "BSD-3-Clause",
"dependencies": {
"@dhis2/analytics": "^26.8.2",
"@dhis2/app-runtime": "^3.10.6",
"@dhis2/app-runtime-adapter-d2": "^1.1.0",
"@dhis2/d2-i18n": "^1.1.3",
"@dhis2/ui": "^9.11.8",
"@krakenjs/post-robot": "^11.0.0",
"classnames": "^2.3.2",
"d2": "^31.10.0",
"d2-utilizr": "^0.2.16",
"i18next": "^20.3.5",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"react": "^16.14.0",
"react-dom": "^16.13.1",
"react-grid-layout": "1.2.2",
"react-redux": "^7.2.9",
"react-router-dom": "^5.2.0",
"redux": "^4.1.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"styled-jsx": "^4.0.1"
},
"scripts": {
"deduplicate": "d2-app-scripts deduplicate",
"start": "d2-app-scripts start",
"coverage": "npm test -- --coverage",
"lint": "d2-style check",
"build": "d2-app-scripts build",
"build:netlify": "yarn build --standalone",
"test": "d2-app-scripts test",
"validate-push": "CI=true yarn test",
"postinstall": "patch-package",
"cy:start": "BROWSER=none yarn start",
"cy:open": "start-server-and-test 'yarn cy:start' http://localhost:3000 'yarn cypress open --e2e'",
"cy:run": "start-server-and-test 'yarn cy:start' http://localhost:3000 'yarn cypress run --browser chrome headless'"
},
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^20.1.0",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.1",
"@cypress/webpack-preprocessor": "^6.0.2",
"@dhis2/cli-app-scripts": "^12.0.0-alpha.19",
"@dhis2/cli-style": "^10.7.4",
"@dhis2/cypress-commands": "^10.0.6",
"@dhis2/cypress-plugins": "^10.0.6",
"@semantic-release/changelog": "^6",
"@semantic-release/exec": "^6",
"@semantic-release/git": "^10",
"@testing-library/jest-dom": "^6.1.2",
"@testing-library/react": "^12",
"cypress": "^13.13.1",
"d2-manifest": "^1.0.0",
"eslint-plugin-cypress": "^3.3.0",
"immutability-helper": "^3.1.1",
"import": "^0.0.6",
"patch-package": "^7",
"postinstall-postinstall": "^2.1.0",
"redux-mock-store": "^1.5.4",
"semantic-release": "^20",
"start-server-and-test": "^1.14.0"
},
"jest": {
"moduleNameMapper": {
"^.+\\.(css|sass|scss)$": "identity-obj-proxy"
}
"name": "dashboard-app",
"version": "100.3.0",
"description": "DHIS2 Dashboard app",
"private": true,
"license": "BSD-3-Clause",
"dependencies": {
"@dhis2/analytics": "^26.8.2",
"@dhis2/app-runtime": "^3.10.6",
"@dhis2/app-runtime-adapter-d2": "^1.1.0",
"@dhis2/d2-i18n": "^1.1.3",
"@dhis2/ui": "^9.11.8",
"@krakenjs/post-robot": "^11.0.0",
"classnames": "^2.3.2",
"d2": "^31.10.0",
"d2-utilizr": "^0.2.16",
"i18next": "^20.3.5",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"package.json": "^2.0.1",
"react-grid-layout": "1.2.2",
"react-redux": "^7.2.9",
"react-router-dom": "^5.2.0",
"redux": "^4.1.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"styled-jsx": "^4.0.1"
},
"scripts": {
"deduplicate": "d2-app-scripts deduplicate",
"start": "d2-app-scripts start",
"coverage": "npm test -- --coverage",
"lint": "d2-style check",
"build": "d2-app-scripts build",
"build:netlify": "yarn build --standalone",
"test": "d2-app-scripts test",
"validate-push": "CI=true yarn test",
"postinstall": "patch-package",
"cy:start": "BROWSER=none yarn start",
"cy:open": "start-server-and-test 'yarn cy:start' http://localhost:3000 'yarn cypress open --e2e'",
"cy:run": "start-server-and-test 'yarn cy:start' http://localhost:3000 'yarn cypress run --browser chrome headless'"
},
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^20.1.0",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.1",
"@cypress/webpack-preprocessor": "^6.0.2",
"@dhis2/cli-app-scripts": "^12.0.0-alpha.19",
"@dhis2/cli-style": "^10.7.4",
"@dhis2/cypress-commands": "^10.0.6",
"@dhis2/cypress-plugins": "^10.0.6",
"@semantic-release/changelog": "^6",
"@semantic-release/exec": "^6",
"@semantic-release/git": "^10",
"@testing-library/jest-dom": "^6.1.2",
"@testing-library/react": "^12",
"cypress": "^13.13.1",
"d2-manifest": "^1.0.0",
"eslint-plugin-cypress": "^3.3.0",
"immutability-helper": "^3.1.1",
"import": "^0.0.6",
"patch-package": "^7",
"postinstall-postinstall": "^2.1.0",
"redux-mock-store": "^1.5.4",
"semantic-release": "^20",
"start-server-and-test": "^1.14.0"
},
"jest": {
"moduleNameMapper": {
"^.+\\.(css|sass|scss)$": "identity-obj-proxy"
}
}
}
Loading

0 comments on commit 54c0f34

Please sign in to comment.