lamassu-server/new-lamassu-admin
Rafael Taranto aa428310f4 Merge pull request #1830 from RafaelTaranto/chore/update-react-deps
LAM-1395 Chore/update react deps
2025-04-22 12:53:42 +01:00
..
.vscode feat: add graphql support (#349) 2019-12-24 15:36:41 +01:00
nginx feat: lamassu initial dockerize approach 2022-04-05 23:10:46 +01:00
patches feat: nodemon and fast reload 2020-11-05 18:53:58 +00:00
public feat: vite as build tool 2024-12-02 08:35:34 +00:00
src Merge pull request #1830 from RafaelTaranto/chore/update-react-deps 2025-04-22 12:53:42 +01:00
.env chore: pazuz removal 2024-12-02 08:34:42 +00:00
.gitignore chore: version fonts on main project 2020-11-05 18:53:58 +00:00
.prettierrc chore: prettier config 2024-12-03 09:33:06 +00:00
eslint.config.js chore: prettier config 2024-12-03 09:33:06 +00:00
index.html chore: use proper name convention for build tools 2024-12-02 08:35:38 +00:00
jsconfig.json feat: add graphql support (#349) 2019-12-24 15:36:41 +01:00
package-lock.json chore: update react to v17 2025-04-11 10:38:20 +01:00
package.json chore: update react to v17 2025-04-11 10:38:20 +01:00
README.md chore: Sanctuary leftovers on README 2024-12-05 09:53:58 +00:00
vite.config.js chore: prettier config 2024-12-03 09:33:06 +00: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.