open-index/open-npm huggingface dataset:
npm package: @reacting/rp-toggle
Description: A render-prop component for toggling boolean values.
Author: Colton Colcleasure
Latest version: 0.0.1

# Webpack library starter

Webpack based boilerplate for producing libraries (Input: ES6, Output: universal library)

![Travis](https://travis-ci.org/krasimir/webpack-library-starter.svg?branch=master)

## Features

* Webpack 3 based.
* ES6 as a source.
* Exports in a [umd](https://github.com/umdjs/umd) format so your library works everywhere.
* ES6 test setup with [Mocha](http://mochajs.org/) and [Chai](http://chaijs.com/).
* Linting with [ESLint](http://eslint.org/).

## Process

```
ES6 source files
       |
       |
    webpack
       |
       +--- babel, eslint
       |
  ready to use
     library
  in umd format
```

*Have in mind that you have to build your library before publishing. The files under the `lib` folder are the ones that should be distributed.*

## Getting started

1. Setting up the name of your library
  * Open `webpack.config.js` file and change the value of `libraryName` variable.
  * Open `package.json` file and change the value of `main` property so it matches the name of your library.
2. Build your library
  * Run `yarn install` (recommended) or `npm install` to get the project's dependencies
  * Run `yarn build` or `npm run build` to produce minified version of your library.
3. Development mode
  * Having all the dependencies installed run `yarn dev` or `npm run dev`. This command will generate an non-minified version of your library and will run a watcher so you get the compilation on file change.
4. Running the tests
  * Run `yarn test` or `npm run test`

## Scripts

* `yarn build` or `npm run build` - produces production version of your library under the `lib` folder
* `yarn dev` or `npm run dev` - produces development version of your library and runs a watcher
* `yarn test` or `npm run test` - well ... it runs the tests :)
* `yarn test:watch` or `npm run test:watch` - same as above but in a watch mode

## Readings

* [Start your own JavaScript library using webpack and ES6](http://krasimirtsonev.com/blog/article/javascript-library-starter-using-webpack-es6)

## Misc

### An example of using dependencies that shouldn’t be resolved by webpack, but should become dependencies of the resulting bundle

In the following example we are excluding React and Lodash:

```js
{
  devtool: 'source-map',
  output: {
    path: '...',
    libraryTarget: 'umd',
    library: '...'
  },
  entry: '...',
  ...
  externals: {
    react: 'react'
    // Use more complicated mapping for lodash.
    // We need to access it differently depending
    // on the environment.
    lodash: {
      commonjs: 'lodash',
      commonjs2: 'lodash',
      amd: '_',
      root: '_'
    }
  }
}
```
npm package: @reactionable/cli
Description: Reactionable cli
Author: ESCEMI
Latest version: 1.2.14

<p align="center">
  <a href="#" target="_blank"><img alt="Welcome to @reactionable/cli 👋" src="https://repository-images.githubusercontent.com/215311972/24311480-3008-11eb-90e4-4a6cbf9c6197" width="600"></a>
  <br/><br/>
  <a href="https://github.com/reactionable/reactionable-cli/actions?query=workflow%3A%22Continuous+Integration%22" target="_blank"><img alt="Continuous integration" src="https://github.com/reactionable/reactionable-cli/workflows/Continuous%20Integration/badge.svg"></a>
  <a href="https://codecov.io/gh/reactionable/reactionable-cli" target="_blank"><img alt="Coverage Status" src="https://codecov.io/gh/reactionable/reactionable-cli/branch/master/graph/badge.svg"></a>
  <a href="https://www.npmjs.com/package/@reactionable/cli" target="_blank"><img alt="Version" src="https://img.shields.io/npm/v/@reactionable/cli.svg"></a>
  <a href="https://github.com/reactionable/reactionable-cli#readme" target="_blank"><img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" /></a>
  <a href="https://github.com/reactionable/reactionable/blob/master/LICENSE" target="_blank"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /></a>
  <a href="CONTRIBUTING.md" target="_blank"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs Welcome"></a>
  <a href="https://github.com/sponsors/neilime"><img src="https://img.shields.io/badge/%E2%9D%A4-Sponsor-ff69b4" alt="Sponsor"></a>
</p>

### 🏠 [Homepage](https://reactionable.github.io/reactionable-cli)

### 🧾 [Documentation](https://reactionable.github.io/reactionable-cli/docs)

## Helping Project

❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project. You can [sponsor](https://github.com/sponsors/neilime) him. Thank you !

## Contributing

👍 If you wish to contribute to **Reactionable**, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file, PRs are Welcome !

## Usage

### With npx

```sh
npx @reactionable/cli run
```

### As global package

```sh
npm install -g @reactionable/cli
reactionable run
```

## Development

### Use local version of cli

In `reactionable-cli` directory:

```sh
npm link

# or

yarn link
```

## Author

👤 **ESCEMI <contact@escemi.com>**

- Website: https://www.escemi.com
- Sponsor: https://github.com/sponsors/neilime
- Github: [@reactionable](https://github.com/reactionable)
- LinkedIn: [@https:\/\/www.linkedin.com\/company\/escemi](https://linkedin.com/in/https://www.linkedin.com/company/escemi)

## 📝 License

Copyright © 2020 [ESCEMI <contact@escemi.com>](https://www.escemi.com).<br />
This project is [MIT](https://github.com/reactionable/reactionable-cli/blob/master/LICENSE) licensed.