Skip to content

hs2323/outsystems-react-select

Repository files navigation

OutSystems React Select

OutSystems component for the React Select library.

🧞 Commands

All commands are run from the root of the project, from a terminal:

npm

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

Testing

Vitest - Test runner framework.

Unit and Integration Testing

  • Run unit and integraiton testing with interactive reload:
npm run test
  • Run unit and integration testing once:
npm run test:run

End-to-end testing

  • 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:ui

Format

Prettier - Opinionated code formatter.

  • Run the format check:
npm run format
  • Fix any automatically fixable format issues:
npm run format:write

Lint

ESLint - Static code analyzer.

  • Run the lint checker:
npm run lint
  • Fix any automatically fixable issues:
npm run lint:fix

Converting to OutSystems

Once development is complete, run:

npm run output

The file outputs will then be added to the React Select component in OutSystems.

About

React Select component in OutSystems using Astro Islands.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors