@credijusto/react-scripts
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

Credijusto's custom react-scripts

This is a fork of Facebook's Create React App but with Creijusto's own preferences, this package is meant to be used on every React project to ensure consistency, ease of setup and improved developer-experience.

Usage

yarn add -D -E @credijusto/react-scripts

This installs the devDependency, it supports all things Create React App offers AND:

  • Linting with AirBnb rules
  • Formatting with Prettier for .html, .js, .jsx, .json, .css, .scss extensions
  • Precommit hook

If you are using VSCode editor, you can install it's EsLint extension and add an .eslintrc file on the root of the project you're working on to enable editor linting marks, the file must contain the following:

{
  "extends": "./node_modules/@credijusto/react-scripts/config/.eslintrc"
}

Development

We follow a simple process:

  1. Create your branch with a descriptive name.
  2. Make your changes, try them in your local projects, and push your commits.
  3. Do a Pull Request to @credijusto/react-scripts (not the original Facebook's repo)
  4. Once approved, use npm version x.x.x to update the scripts version. We follow the semver rules.
  5. Commit the version update, publish using npm publish and push these changes to Github.
  6. Merge your branch into master.
  7. Create a git tag in the master "Merge pull request..." commit with the version and a -cj ending. E.g.: v1.1.5-cj

Issues and Pull-Requests welcome.


Original react-scripts README:

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

Readme

Keywords

none

Package Sidebar

Install

npm i @credijusto/react-scripts

Weekly Downloads

0

Version

2.1.2

License

MIT

Unpacked Size

152 kB

Total Files

46

Last publish

Collaborators

  • aegre
  • cesargdm
  • dyegolara
  • jmz7v