@pointpack/react-scripts
v1.1.8
Published
Configuration and scripts for Create React App.
Downloads
71
Readme
React scripts
Install
npm install @pointpack/react-scriptsUsage
In addition to standard react-scripts usage it supports following flags:
--portsets desired port,--themechanges following things:build/directory changes tobuild/THEME/,public/directory changes topublic/THEME/,- importing
index.jsimportsindex.THEME.jsorindex.js.
npx react-scripts start --port PORT --theme THEMEContribute
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.gitPublish
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