@stinkstudios/react-scripts
DEPRECATED PACKAGE - FOR OLDER PROJECTS AT [STINK STUDIOS]
This is a fork of facebooks react-scripts
This package includes scripts and configuration used by Create React App.
Please refer to its documentation:
Usage
To use @stinkstudios/react-scripts
instead of the default react-scripts
npx create-react-app my-app --scripts-version @stinkstudios/react-scripts
Typescript
To use with Typescript
npx create-react-app my-app --typescript --scripts-version @stinkstudios/react-scripts
- User Guide – How to develop apps bootstrapped with Create React App.
react-scripts
Differences to -
ESLint
- Configuration defined in
.eslintrc
file instead of webpack loader. No need to eject (99229e9) - Switched from extending
eslint-config-react-app
to@stinkstudios/eslint-config-react-app
- Added cli
npm run lint
. (4153084) - Made use of ESLint optional in development, do this by setting the USE_ESLINT in env config. (b2e78cd)
- Configuration defined in
-
Babel
- Configuration defined in
.babelrc
file instead of webpack loader. No need to eject. (de90c89) - Removed
babel-plugin-named-asset-import
that was used to import svg as React Components. Yarn can't find babel plugins installed via a@stinkstudios/react-scripts
at the moment. You can add any Babel Plugins yourself. (de90c89)
- Configuration defined in
-
PostCSS
- Configuration defined in
postcss.config.js
file instead of webpack loader. No need to eject. (c7dac54) - Added
postcss-import
. (e24759e)
- Configuration defined in
-
Stylelint
- Configuration defined in
.stylelintrc
that extends@stinkstudios/stylelint-config-react-app
. (93d1f49) - Cli
npm run lint
. (4153084)
- Configuration defined in
-
.graphql
file support via webpack loader (4b9ff5a) -
Prettier
- Configuration defined in
.prettierrc
&.prettierignore
- Cli
npm run format
. (172ae22)
- Configuration defined in
-
Jest
- Configuration defined in
jest.config.js
- Configuration defined in
- Renamed
/src/App
to/src/app
to conform to filename convention camelCase. For some reason/src/App
is the only file that doesn't stick to this convention (904a1ab) - Removed service worker