OutSystems component for the React Select library.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build distribution to ./dist/ |
npm run output |
Build OutSystems production site to ./output/ |
npm run preview |
Preview build locally, before creating output |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
npm run audit |
Run audit of modules |
Vitest - Test runner framework.
- Run unit and integraiton testing with interactive reload:
npm run test- Run unit and integration testing once:
npm run test:run- Install browsers
npm run test:e2e:install- Run end-to-end testing in the command line only.
npm run test:e2e:run- Run end-to-end testing with visual browser.
npm run ui:test:e2e:uiPrettier - Opinionated code formatter.
- Run the format check:
npm run format- Fix any automatically fixable format issues:
npm run format:writeESLint - Static code analyzer.
- Run the lint checker:
npm run lint- Fix any automatically fixable issues:
npm run lint:fixOnce development is complete, run:
npm run outputThe file outputs will then be added to the React Select component in OutSystems.