revolut-react-scripts
Configuration and scripts for Create React App.
Last updated 2 months ago by rip21 .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install revolut-react-scripts 
SYNC missed versions from official npm registry.

☢ revolut-react-scripts ☢

Revolut standardized way of bootstrapping web react apps.

For the latest instructions of its usage please go here.

Latest version of original react-scripts: 3.2.0

⚠️ Disclaimer:

This is not a fork of create-react-app. It's just a fork of react-scripts with simple babel/webpack modifications that can toggle extra features.

The reason for this fork's existence is explained better in this Medium article.

???? Features:

⚒ Babel plugins :

  • Lodash
  • Ramda
  • styled-components
  • polished
  • ts-optchain
  • imports
  • graphql-tag
  • optional-chaining and nullish coalescing

???? CSS Preprocessors:

  • Stylus
  • SASS/SCSS
  • Modules support for all preprocessors and CSS

Webpack loaders:

  • svg-sprite-loader

⚙️ Webpack plugins:

  • Webpack dashboard (Electron app required)
  • Webpack bundle analyzer (Static mode)
  • Sentry plugin (experimental)

The features are OPTIONAL and can be turned on/off individually

❔ How to use it

npx create-react-app name-of-my-app --typescript --scripts-version revolut-react-scripts

Modify the .env file in the root of the generated project, and add any of the configuration options to enable/disable that feature.

The generated project comes with some defaults, but you can change them at any time by making them true in the options from the .env file.

Changes to CRA defaults

ESLint

ESLint config is made of airbnb, react-app, prettier, prettier/react presets with few modifications to some rules.

For developers of this tool

Keep injections as tiny as possible, and do a minimum change to the original configs. Why? Because it will complicate migrations to the further react-scripts (which is right now simple merge) and it's the last thing anyone would like to do.

To find injections to the original react-scripts in the project, search for INJECTION! phrase.

All customizations should be kept in the config/custom folder, try to not mix react-scripts stuff and our modifications

All modifications to the original react-scripts should be marked with INJECTION! phrase, so we can easily distinct our changes and Facebook team chagnes.

Current Tags

  • 2.0.0-rc.7                                ...           experimental (a year ago)
  • 3.2.0                                ...           latest (2 months ago)

185 Versions

  • 3.2.0                                ...           2 months ago
  • 3.2.0-beta.10                                ...           2 months ago
  • 3.2.0-beta.9                                ...           2 months ago
  • 3.2.0-beta.8                                ...           2 months ago
  • 3.2.0-beta.7                                ...           2 months ago
  • 3.2.0-beta.6                                ...           2 months ago
  • 3.2.0-beta.5                                ...           2 months ago
  • 3.2.0-beta.4                                ...           2 months ago
  • 3.2.0-beta.3                                ...           2 months ago
  • 3.2.0-beta.2                                ...           2 months ago
  • 3.2.0-beta.1                                ...           2 months ago
  • 3.0.1-2                                ...           4 months ago
  • 3.0.1-1                                ...           4 months ago
  • 3.0.1                                ...           4 months ago
  • 3.0.1-beta.3                                ...           4 months ago
  • 3.0.1-beta.2                                ...           4 months ago
  • 3.0.1-beta.1                                ...           4 months ago
  • 3.0.1-alpha.11                                ...           4 months ago
  • 3.0.1-alpha.10                                ...           4 months ago
  • 3.0.1-alpha.9                                ...           4 months ago
  • 3.0.1-alpha.7                                ...           4 months ago
  • 3.0.1-alpha.5                                ...           4 months ago
  • 3.0.1-alpha.4                                ...           4 months ago
  • 3.0.1-alpha.3                                ...           4 months ago
  • 3.0.1-alpha.1                                ...           4 months ago
  • 3.0.1-alpha.0                                ...           4 months ago
  • 2.1.8-2                                ...           8 months ago
  • 2.1.8-1                                ...           8 months ago
  • 2.1.8-0                                ...           8 months ago
  • 2.1.1-17                                ...           9 months ago
  • 2.1.1-16                                ...           9 months ago
  • 2.1.1-15                                ...           9 months ago
  • 2.1.1-14                                ...           9 months ago
  • 2.1.1-13                                ...           9 months ago
  • 2.1.1-12                                ...           9 months ago
  • 2.1.1-11                                ...           10 months ago
  • 2.1.1-10                                ...           a year ago
  • 2.1.1-9                                ...           a year ago
  • 2.1.1-8                                ...           a year ago
  • 2.1.1-7                                ...           a year ago
  • 2.1.1-6                                ...           a year ago
  • 2.1.1-5                                ...           a year ago
  • 2.1.1-4                                ...           a year ago
  • 2.1.1-3                                ...           a year ago
  • 2.1.1-2                                ...           a year ago
  • 2.1.1-1                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.1-RC.6                                ...           a year ago
  • 2.1.1-RC.5                                ...           a year ago
  • 2.1.1-RC.4                                ...           a year ago
  • 2.1.1-RC.3                                ...           a year ago
  • 2.1.1-RC.2                                ...           a year ago
  • 2.1.1-RC.1                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.3-rc.1                                ...           a year ago
  • 2.0.3-beta.7                                ...           a year ago
  • 2.0.3-beta.6                                ...           a year ago
  • 2.0.3-beta.4                                ...           a year ago
  • 2.0.3-beta.3                                ...           a year ago
  • 2.0.3-beta.2                                ...           a year ago
  • 2.0.3-beta.1                                ...           a year ago
  • 2.0.0-rc.11                                ...           a year ago
  • 2.0.0-rc.10                                ...           a year ago
  • 2.0.0-rc.9                                ...           a year ago
  • 2.0.0-rc.8                                ...           a year ago
  • 2.0.0-rc.7                                ...           a year ago
  • 2.0.0-rc.6                                ...           a year ago
  • 2.0.0-rc.5                                ...           a year ago
  • 2.0.0-rc.4                                ...           a year ago
  • 2.0.0-rc.3                                ...           a year ago
  • 2.0.0-rc.2                                ...           a year ago
  • 2.0.0-rc.1                                ...           a year ago
  • 2.0.0-rc.0                                ...           a year ago
  • 2.0.0-beta.11                                ...           a year ago
  • 2.0.0-beta.10                                ...           a year ago
  • 2.0.0-beta.9                                ...           a year ago
  • 2.0.0-beta.8                                ...           a year ago
  • 2.0.0-beta.7                                ...           a year ago
  • 2.0.0-beta.6                                ...           a year ago
  • 2.0.0-beta.5                                ...           a year ago
  • 2.0.0-beta.4                                ...           a year ago
  • 2.0.0-beta.3                                ...           a year ago
  • 2.0.0-beta.2                                ...           a year ago
  • 2.0.0-beta.1                                ...           a year ago
  • 2.0.0-alpha.7                                ...           a year ago
  • 2.0.0-alpha.6                                ...           a year ago
  • 2.0.0-alpha.5                                ...           a year ago
  • 2.0.0-alpha.3                                ...           a year ago
  • 2.0.0-alpha.2                                ...           a year ago
  • 2.0.0-alpha.1                                ...           a year ago
  • 1.1.4-RC.19                                ...           a year ago
  • 1.1.4-RC.18                                ...           a year ago
  • 1.1.4-RC.17                                ...           a year ago
  • 1.1.4-RC.16                                ...           a year ago
  • 1.1.4-RC.15                                ...           a year ago
  • 1.1.4-RC.14                                ...           a year ago
  • 1.1.4-RC.13                                ...           a year ago
  • 1.1.4-RC.12                                ...           a year ago
  • 1.1.4-RC.11                                ...           a year ago
  • 1.1.4-RC.10                                ...           a year ago
  • 1.1.4-RC.9                                ...           a year ago
  • 1.1.4-RC.8                                ...           a year ago
  • 1.1.4-TS-RC.11                                ...           a year ago
  • 1.1.4-TS-RC.10                                ...           a year ago
  • 1.1.4-TS-RC.9                                ...           a year ago
  • 1.1.4-TS-RC.7                                ...           a year ago
  • 1.1.4-TS-RC.6                                ...           a year ago
  • 1.1.4-TS-RC.5                                ...           a year ago
  • 1.1.4-TS-RC.4                                ...           a year ago
  • 1.1.4-TS-RC.3                                ...           a year ago
  • 1.1.4-TS-RC.2                                ...           a year ago
  • 1.1.4-TS-RC.1                                ...           a year ago
  • 1.1.4-RC.7                                ...           a year ago
  • 1.1.4-RC.5                                ...           a year ago
  • 1.1.4-RC.4                                ...           a year ago
  • 1.1.4-RC.3                                ...           a year ago
  • 1.1.4-RC.2                                ...           2 years ago
  • 1.1.4-RC.1                                ...           2 years ago
  • 1.1.0-RC.2                                ...           2 years ago
  • 1.1.0-RC.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.1.0-beta.1                                ...           2 years ago
  • 1.0.18-beta.7                                ...           2 years ago
  • 1.0.18-beta.6                                ...           2 years ago
  • 1.0.18-beta.5                                ...           2 years ago
  • 1.0.18-beta.4                                ...           2 years ago
  • 1.0.18-beta.3                                ...           2 years ago
  • 1.0.18-beta.2                                ...           2 years ago
  • 1.0.18-beta.1                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.16                                ...           2 years ago
  • 1.0.15                                ...           2 years ago
  • 1.0.14-beta5                                ...           2 years ago
  • 1.0.14-beta4                                ...           2 years ago
  • 1.0.14-beta3                                ...           2 years ago
  • 1.0.14-beta2                                ...           2 years ago
  • 1.0.14-beta1                                ...           2 years ago
  • 1.0.14                                ...           2 years ago
  • 1.0.13                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7-beta3                                ...           2 years ago
  • 1.0.7-beta2                                ...           2 years ago
  • 1.0.7-beta1                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.0.1-beta29                                ...           2 years ago
  • 0.0.1-beta28                                ...           2 years ago
  • 0.0.1-beta27                                ...           2 years ago
  • 0.0.1-beta26                                ...           2 years ago
  • 0.0.1-beta25                                ...           2 years ago
  • 0.0.1-beta24                                ...           2 years ago
  • 0.0.1-beta23                                ...           2 years ago
  • 0.0.1-beta22                                ...           2 years ago
  • 0.0.1-beta21                                ...           2 years ago
  • 0.0.1-beta20                                ...           2 years ago
  • 0.0.1-beta19                                ...           2 years ago
  • 0.0.1-beta18                                ...           2 years ago
  • 0.0.1-beta17                                ...           2 years ago
  • 0.0.1-beta16                                ...           2 years ago
  • 0.0.1-beta15                                ...           2 years ago
  • 0.0.1-beta14                                ...           2 years ago
  • 0.0.1-beta13                                ...           2 years ago
  • 0.0.1-beta12                                ...           2 years ago
  • 0.0.1-beta11                                ...           2 years ago
  • 0.0.1-beta10                                ...           2 years ago
  • 0.0.1-beta9                                ...           2 years ago
  • 0.0.1-beta8                                ...           2 years ago
  • 0.0.1-beta7                                ...           2 years ago
  • 0.0.1-beta6                                ...           2 years ago
  • 0.0.1-beta5                                ...           2 years ago
  • 0.0.1-beta4                                ...           2 years ago
  • 0.0.1-beta3                                ...           2 years ago
  • 0.0.1-beta2                                ...           2 years ago
  • 0.0.1-beta1                                ...           2 years ago
  • 0.0.1-beta                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (78)
Dev Dependencies (7)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |