1.2.7 • Published 7 years ago

@justinlwz/react-scripts v1.2.7

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Deprecated warning

This is deprecated now that Create React App 2 support SCSS.

react-scripts

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

Installation with Create React App:

NPM 5.2 and higher:

npx create-react-app app-name --scripts-version @justinlwz/react-scripts

Older versions:

npm create-react-app app-name --scripts-version @justinlwz/react-scripts

Migrating versions

Inside any created project that has not been ejected, run:

npm install --save --save-exact @justinlwz/react-scripts@<version>

Important Note:

This modification removed default prebuilt set up for autoprefixing to give you the control in setting up your browser support. To find out more, refer to the Browserlist Docs to learn how to set up a .browserslistrc config.

What is changed:

The package adds the ability to process SCSS and moved prefixing to be controled using a .browserslistrc file instead of having it be done via the webpack configuration. Other areas are currently left intact for easy compatibility with any upgrades made by Facebook Create React App's team. This fork also branches from master rather than the next branch to ensure stability when used in a production environment.

Motivation of Fork:

While Create React App is a fantastic way to get started with React projects, the SCSS support out of the box makes it quite difficult to use it in conjunction with other SCSS-based UI libraries, including the in-house library we use at Bananatag. This fork include changes made to the Webpack configuration to support SCSS and external UI libraries.