This app uses commons-ui library which released in the npmjs packages.
To launch the app type npm install then npm start .
-
npm run type-check- Runs TypeScript type checking without emitting files. This ensures all developers use the project's local TypeScript version fromnode_modulesrather than a potentially different globally-installed version. Run this to verify your code has no type errors before committing. -
npm run build- Builds the library. Note: This automatically runsnpm run prebuildfirst. -
npm run prebuild- Runs linting and type checking before the build. This script is executed automatically by npm beforenpm run buildand ensures that the build is not executed if linting or type checking fails. You don't need to call this manually unless you want to verify code quality without building.
If you are a developer and you want to update / enhance components used from the gridsuite commons-ui library click here and follow instructions.
Files tsconfig.json and src/react-app-env.d.ts both results from create-react-app typescript template (version 5). Some property values have been changed to meet the project needs (ex: target, baseUrl,...).
To check dependencies license compatibility with this project one locally, please run the following command :
npm run licenses-check
Notes :
- Check license-checker-config.json for license white list and exclusion. If you need to update this list, please inform organization's owners.
- We need to exclude some packages for now :
@mapbox/[email protected]is a special license[email protected]is Creative Commons but not correctly described in the package[email protected]is a BSD but not correctly described in the package ("BSD*")