InvenTree/src/frontend/package.json
Lukas cb537780dc
Make modals/forms more reactive (#5897)
* First draft for refactoring the api forms including modals

* Fix merging errors

* Fix deepsource

* Fix jsdoc

* trigger: deepsource

* Try to improve performance by not passing the whole definition down

* First draft for switching to react-hook-form

* Fix warning log in console with i18n when locale is not loaded

* Fix: deepsource

* Fixed RelatedModelField initial value loading and disable submit if form is not 'dirty'

* Make field state hookable to state

* Added nested object field to PUI form framework

* Fix ts errors while integrating the new forms api into a few places

* Fix: deepsource

* Fix some values were not present in the submit data if the field is hidden

* Handle error while loading locales

* Fix: deepsource
2023-11-21 00:00:44 +11:00

68 lines
2.2 KiB
JSON

{
"name": "InvenTreeUI",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"extract": "lingui extract",
"compile": "lingui compile --typescript"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@lingui/core": "^4.5.0",
"@lingui/react": "^4.5.0",
"@mantine/carousel": "<7",
"@mantine/core": "<7",
"@mantine/dates": "<7",
"@mantine/dropzone": "<7",
"@mantine/form": "<7",
"@mantine/hooks": "<7",
"@mantine/modals": "<7",
"@mantine/notifications": "<7",
"@naisutech/react-tree": "^3.1.0",
"@sentry/react": "^7.74.1",
"@tabler/icons-react": "^2.39.0",
"@tanstack/react-query": "^5.0.0",
"axios": "^1.6.0",
"dayjs": "^1.11.10",
"easymde": "^2.18.0",
"embla-carousel-react": "^7.1.0",
"html5-qrcode": "^2.3.8",
"mantine-datatable": "^6.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-grid-layout": "^1.4.2",
"react-hook-form": "^7.48.2",
"react-router-dom": "^6.17.0",
"react-select": "^5.7.7",
"react-simplemde-editor": "^5.2.0",
"styled-components": "^6.1.0",
"zustand": "^4.4.3"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@lingui/cli": "^4.5.0",
"@lingui/macro": "^4.5.0",
"@playwright/test": "^1.39.0",
"@types/node": "^20.8.6",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@types/react-grid-layout": "^1.3.3",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.1.0",
"babel-plugin-macros": "^3.1.0",
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vite-plugin-babel-macros": "^1.0.6"
}
}