mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-12 10:34:17 +00:00
ce130f4539
* The ErrorBoundary is super powerful and useful. There is a default implementation that seems to be recommended now, so dropping our homegrown one for the standard one. We can now render custom components when an error happens within an error boundary, and we can use error boundaries within sub-components as we now do in the reactFormBuilder which will capture form rendering errors, and allow you to fix the error and retry. The more global ErrorBoundary set in the "ContainerForExtensions" now users a the ErrorBoundaryFallack to render the error - which looks a little cleaner, and tries to offer a little more information about what went wrong.
122 lines
3.6 KiB
JSON
122 lines
3.6 KiB
JSON
{
|
|
"name": "spiffworkflow-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/core": "^7.18.10",
|
|
"@babel/plugin-transform-react-jsx": "^7.18.6",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@carbon/icons-react": "^11.10.0",
|
|
"@carbon/react": "^1.33.0",
|
|
"@carbon/styles": "^1.16.0",
|
|
"@casl/ability": "^6.3.2",
|
|
"@casl/react": "^3.1.0",
|
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
"@monaco-editor/react": "^4.4.5",
|
|
"@mui/material": "^5.10.14",
|
|
"@react-icons/all-files": "^4.1.0",
|
|
"@rjsf/core": "5.0.0-beta.20",
|
|
"@rjsf/mui": "5.0.0-beta.20",
|
|
"@rjsf/utils": "5.0.0-beta.20",
|
|
"@rjsf/validator-ajv8": "5.0.0-beta.20",
|
|
"@tanstack/react-table": "^8.2.2",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^13.3.0",
|
|
"@testing-library/user-event": "^14.4.2",
|
|
"@types/jest": "^28.1.4",
|
|
"@types/node": "^18.6.5",
|
|
"@types/react": "^18.0.17",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@uiw/react-md-editor": "^3.20.2",
|
|
"autoprefixer": "10.4.8",
|
|
"axios": "^0.27.2",
|
|
"bpmn-js": "^13.2.2",
|
|
"bpmn-js-properties-panel": "^1.22.0",
|
|
"bpmn-js-spiffworkflow": "github:sartography/bpmn-js-spiffworkflow#main",
|
|
"cookie": "^0.5.0",
|
|
"craco": "^0.0.3",
|
|
"date-fns": "^2.28.0",
|
|
"diagram-js": "^11.9.1",
|
|
"dmn-js": "^12.2.0",
|
|
"dmn-js-properties-panel": "^1.1",
|
|
"dmn-js-shared": "^12.1.1",
|
|
"jwt-decode": "^3.1.2",
|
|
"keycloak-js": "^18.0.1",
|
|
"lodash.merge": "^4.6.2",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.2.0",
|
|
"react-datepicker": "^4.8.0",
|
|
"react-devtools": "^4.27.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-icons": "^4.4.0",
|
|
"react-jsonschema-form": "^1.8.1",
|
|
"react-router": "^6.3.0",
|
|
"react-router-dom": "6.3.0",
|
|
"react-scripts": "^5.0.1",
|
|
"serve": "^14.0.0",
|
|
"timepicker": "^1.13.18",
|
|
"typescript": "^4.7.4",
|
|
"use-debounce": "^9.0.4",
|
|
"web-vitals": "^3.0.2",
|
|
"react-error-boundary": "^4.0.11"
|
|
},
|
|
"overrides": {
|
|
"postcss-preset-env": {
|
|
"autoprefixer": "10.4.5"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"start": "ESLINT_NO_DEV_ERRORS=true PORT=7001 craco start",
|
|
"build": "craco build",
|
|
"test": "react-scripts test --coverage",
|
|
"t": "npm test -- --watchAll=false",
|
|
"eject": "craco eject",
|
|
"format": "prettier --write src/**/*.[tj]s{,x}",
|
|
"lint": "./node_modules/.bin/eslint src",
|
|
"lint:fix": "./node_modules/.bin/eslint --fix src"
|
|
},
|
|
"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": {
|
|
"@cypress/grep": "^3.1.0",
|
|
"@types/cookie": "^0.5.1",
|
|
"@types/lodash.merge": "^4.6.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
"@typescript-eslint/parser": "^5.30.6",
|
|
"cypress": "^12",
|
|
"cypress-file-upload": "^5.0.8",
|
|
"cypress-slow-down": "^1.2.1",
|
|
"eslint": "^8.19.0",
|
|
"eslint_d": "^12.2.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-react": "^7.31.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-sonarjs": "^0.15.0",
|
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
"prettier": "^2.7.1",
|
|
"safe-regex": "^2.1.1",
|
|
"ts-migrate": "^0.1.30"
|
|
}
|
|
}
|