@inetum-test/react-dse
v0.0.35
Published
French State Design System React integration library
Downloads
84
Readme
@inetum/react-dse
Description
REACT DSE :
- v0.0.x
DSE
https://www.systeme-de-design.gouv.fr/elements-d-interface/composants
Documentation
TODO
Installation
TODO
npm install
Storybook
TODO
npm run storybook
Test
TU
- testing-library : https://testing-library.com/docs/react-testing-library/intro/
- jest : https://jestjs.io/fr/
Exécution des tests unitaires :
npm run test
Exécution des tests unitaires avec la couverture :
npm run coverage
Exécution des tests unitaires avec la génération des fichiers pour Sonarqube :
npm run ci
- configuration de Sonarqube : /sonar-project.properties
- rapport : /coverage/test-report.xml
CI / CD
- Jenkins : https://jenkins.codep.inetum.world/job/codep-meae-cncd/
- Sonarqube : https://sonar.codep.inetum.world/projects
Build
Génération du build :
npm run build:lib
- livrable : /dist
Deploy
npm run publish