This package has been deprecated

Author message:

This package is deprecated; please use @latest to install the latest version. Refer to https://www.twilio.com/docs/flex/developer/plugins/cli for more information.

react-app-rewire-flex-plugin

1.5.0 • 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

Versions

Current Tags

Version History

Package Sidebar

Install

npm i react-app-rewire-flex-plugin

Weekly Downloads

3

Version

1.5.0

License

MIT

Unpacked Size

6.49 kB

Total Files

5

Last publish

Collaborators

  • flex-runtime