lamassu-server/packages/admin-ui
2025-05-19 09:58:45 +01:00
..
public chore: use monorepo organization 2025-05-12 10:52:54 +01:00
src fix: third level navigation links 2025-05-19 09:58:45 +01:00
.gitignore chore: use monorepo organization 2025-05-12 10:52:54 +01:00
index.html chore: use monorepo organization 2025-05-12 10:52:54 +01:00
package.json chore: udpate react, downshift and routing 2025-05-15 13:00:21 +01:00
README.md chore: use monorepo organization 2025-05-12 10:52:54 +01:00
vite.config.js chore: stop using alias imports 2025-05-13 07:30:38 +01:00

Dev Environment

formatting

You can configure a eslint plugin to format code on save. The configuration for vscode is already on the repo, all you need to do is install the eslint plugin.

This project has a husky pre commit hook to format the staged changes using our styleguide. To take advantage of that make sure to run git commit from within this folder.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm fix

Runs eslint --fix on the src folder

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.