Skip to content

MqtCorentin/react-starter-toolkit

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

React Starter Toolkit

A starter based on Create React App and Slash Design System (Guidelines, Storybook)

Build Commitizen friendly codecov Netlify Status Quality Gate Status Reliability Security

Demo ๐Ÿ˜Ž

You can see a demo here

Installation ๐Ÿš€

Cloning

git clone https://github.com/samuel-gomez/react-starter-toolkit.git

For VSCode users, you can open the workspace directly by double clicking on the app.code-workspace file

๐Ÿšจ Before installation ๐Ÿšจ

If you want to clean this demo, you have to launch (node required):

npm run clean

This script delete all files of the demo (see the CLEAN.md file)

After that, you can run :

npm i

Remote

git init
git add .
git commit -m "Initial Commit"
git remote add origin $repo__url
git push -u origin master

Configuration โš™๏ธ

After installation, you have to personalize some parameters, you can check it in the CONFIG.md file

Available Scripts

In the project directory, you can run:

npm start ๐Ÿ

Runs the app in the development mode.
Open http://localhost:9999 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 test or npm t ๐Ÿ”ฌ

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run cover:local

Launches the test runner with coverage and all warnings.

npm run cover โ˜‚

Launches the test runner with coverage and no warning (silent mode).

npm run test:sonar ๐Ÿ—ผ

Launches the test runner for sonar report.

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!

npm run cz โ›ฉ

If you want a helper to respect the conventional commits naming, Commitizen give a cli interface.

commitizen

npm run lint ๐Ÿ‘ฎโ€โ™‚๏ธ

Script to launch eslint analyse.

With these plugins :

"extends": [
"react-app",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"prettier",
"@typescript-eslint"
],

npm run lint:fix ๐Ÿ‘ฎโ€โ™‚๏ธโ›‘

Script to launch eslint analyse with auto fix.

npm run prettier ๐ŸŽฉ

Script to launch prettier analyse.

npm run prettier:fix ๐ŸŽฉโ›‘

Script to launch prettier analyse with auto fix.

npm run check ๐Ÿ‘

Script to launch eslint analyse and prettier analyse with auto fix.

npm run prepare ๐Ÿถ

Script to launch husky installation, it's launched during the global installation.

Issues ๐Ÿž

If you detect a bug, please create an issue : https://github.com/samuel-gomez/react-starter-toolkit/issues

Quality ๐Ÿ’Ž

SonarCloud

https://sonarcloud.io/project/overview?id=samuel-gomez_react-starter-toolkit

Structure

See the STRUCTURE.md file

About

React Starter with Axa Design System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.0%
  • Gherkin 7.7%
  • SCSS 5.4%
  • CSS 2.2%
  • JavaScript 1.3%
  • HTML 0.2%
  • Shell 0.2%