Skip to content

Latest commit

 

History

History
59 lines (30 loc) · 2.31 KB

README.md

File metadata and controls

59 lines (30 loc) · 2.31 KB

Essencium

Licence: MIT Contributors npm Version Build

Essencium Logo

React based starter monorepo consisting of a component library, docs and a boilerplate application.

Report an issue


setup-env

This command is supposed to be executed only once when setting up the project. It installs all dependencies and sets up Husky for commit linting.

clean

If you need to clean up the project, that's your command. It deletes all dist folders as well as node_modules folders.

clean:install

Does the same as clean, but afterwards all dependencies will be installed again.

lint

Performs ESLint linting throughout the whole codebase.

format

Performs Prettier formatting throughout the whole codebase.

test

Runs all existing tests with Vitest.

dev

Behind this command, the command pnpm --filter @frachtwerk/essencium-app dev is executed. The Next.js development server will start and the library and the application are ready for development. Both packages support HMR.

build

Behind this command, the command pnpm --stream -r build is executed. Due to the fact, that the Essencium library is a direct dependency of the application, it gets built firstly to make sure the application has the latest version. As a result, a dist folder gets created for production inside the app package.