Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

craco-config-flex-plugin

Package Overview
Dependencies
Maintainers
8
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

craco-config-flex-plugin

Craco configs to bundle Twilio Flex plugins

  • 3.14.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-71.87%
Maintainers
8
Weekly downloads
 
Created
Source

Version Download License

CRACO Config Flex Plugin

CRACO is an easy and comprehensible configuration layer for create-react-app. It allows you to configure things like eslint, babel, and webpack, without using eject.

Installation

craco-config-flex-plugin dependency is automatically added to your package.json when you create a new plugin with create-flex-plugin.

Usage

To add custom jest or webpack configuration, you can provide jest.config.js and webpack.config.js. If these files exist in the root directory, then your configuration is merged into the default configuration; e.g. merge(defaultConfig, yourConfig).

For more control over the configuration, you can edit the craco.config.js. You will need to use craco.config.js if you need to append changes to the configuration, as opposed to replacing a key completely. For example, to append a new webpack plugin, use config.plugins.push(newPlugin) within your craco.config.js file. Please visit craco documentation for more information.

Contributing

Make sure to follow the instructions in the main repository to set up the project.

# Install dependencies and link-local packages with each other
cd packages/craco-config-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 craco-config-flex-plugin

Contributors

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

License

MIT

Keywords

FAQs

Package last updated on 04 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc