@pointpack/react-scripts
v1.1.8
Published
Configuration and scripts for Create React App.
Downloads
40
Readme
React scripts
Install
npm install @pointpack/react-scripts
Usage
In addition to standard react-scripts
usage it supports following flags:
--port
sets desired port,--theme
changes following things:build/
directory changes tobuild/THEME/
,public/
directory changes topublic/THEME/
,- importing
index.js
importsindex.THEME.js
orindex.js
.
npx react-scripts start --port PORT --theme THEME
Contribute
Before any chnages it's good to update to newest version from Facebook's repository. All current changes can be found in config/paths.js
and scripts/test.js
.
Update react-scripts
git pull https://github.com/facebook/create-react-app.git
Publish
cd packages/react-scripts
npm version patch --no-git-tag-version
cd ../..
git add .
git commit -m "New version"
git push
cd packages/react-scripts
npm publish