Nearsighted Paramecium Multiverse
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

react-app-rewire-flex-plugin

1.3.3 • Public • Published

npm npm NpmLicense

react-app-rewire-flex-plugin

Config overrides for react-app-rewired to build a Twilio Flex.

Installation

Make sure you have an existing project that was started with create-react-app.

Alternatively, if you are starting new check out create-flex-plugin.

npm install flex-plugin
npm install -D react-app-rewired react-app-rewire-flex-plugin

Usage

Update your package.json to contain

"scripts": {
  "start": "react-app-rewired start",
  "build": "react-app-rewired build",
  "test": "react-app-rewired test --env=jsdom",
  "eject": "react-app-rewired eject"
},
"config-overrides-path": "node_modules/react-app-rewire-flex-plugin"

Run npm start or npm run build.

Contributing

Make sure to follow the instructions in the main repository to setup the project

# Install dependencies and link local packages with each other 
cd packages/react-app-rewire-flex-plugin
npx lerna bootstrap
 
# Run tests 
npm test
 
# To use your local package in a different project 
npm link
# then in a different project 
npm link react-app-rewire-flex-plugin

Contributors

Thank you to all the lovely contributors to this project. Please check the main repository to see all contributors.

License

MIT

install

npm i react-app-rewire-flex-plugin

Downloadsweekly downloads

141

version

1.3.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability