open-index/open-npm huggingface dataset:
npm package: @manomano/babel
Description: default manomano babel configuration
Latest version: 3.1.0

# Babel

- This package contains the manomano babel presets as well as a webpack babel loader already configured to work with the presets.

- This configuration can be extendend in package.json by adding

```json
{
  "babel": {
    "presets": ["@manomano/babel"]
  }
}
```

- or directly in your babel.rc file

```json
{
  "presets": ["@manomano/babel"]
}
```

If you use webpack, you can use the already configured babel loader as such:

```js
{
  test: /\.js$/,
  use: require.resolve('@manomano/babel/webpack-loader')
}
```
npm package: @manomano/browserslist-config
Description: default manomano browserslist
Latest version: 3.0.0

# Browserslist

- This package contains the manomano browserlist configuration. At the moment we support

1. last 2 versions of Chrome
2. last 2 versions of Firefox
3. Edge since version 17
4. Internet Explorer 11
5. Safari since version 9
6. Safari IOs since version 9

- This configuration can be extendend in package.json adding

```json
{
  "browserslist": ["extends @mano/browserslist-config", "ie 10"]
}
```

- Or overrided.

```json
{
  "browserslist": ["last 2 Chrome versions"]
}
```
npm package: @manomano/cypress
Description: default manomano cypress configuration
Latest version: 3.1.0

# Cypress

This package includes manomano e2e configuration.

## Scripts

- The package exposes a start script (`/scripts/e2e.js`), which will automatically boot a cypress instance

## Configuration

It allows some parameters to be passed as arguments to the CLI.

```json
"scripts": {
    "e2e": "macgyver e2e --platform=gb --port=4000",
    "e2e:dev": "macgyver e2e --dev --platform=gb",
    "e2e:prod": "yarn build && yarn e2e",
}
```

| Param    | type    | defaultValue | Description                                                                                                                                                                              |
| -------- | ------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| dev      | boolean | false        | When it is true, it will run `yarn start:[platform]` as a dev server. Otherwise, production build will be used. In dev cypress run in `open` mode while in production `run` mode is used |
| platform | string  | fr           | Which platform to use in tests.                                                                                                                                                          |
| port     | number  | 3000         | Which port is used by the server                                                                                                                                                         |

## Eslint

In order to get eslint support on e2e files you can add the `eslint-plugin-cypress` package and extend it.

```json
{
  "extends": ["plugin:cypress/recommended"]
}
```
npm package: @manomano/jest-config
Description: default manomano jest configuration
Latest version: 3.1.0

# Browserslist

This package contains the manomano jest configuration.

- This configuration can be used by creating a **jest.config.js** file and requiring this package.

```js
// jest.config.js
module.exports = require('@manomano/jest-config');
```

- or invoking jest with the --config option pointing to this package

```
  jest --config=@manomano/jest-config
```
npm package: @manomano/macgyver
Description: Manomano cli interface
Latest version: 3.1.0

# Macgyver

- Command Line Interface that bootstraps a project according to the manomano front configuration.

By default, the entry point is `src/index.js` and anything inside `public` folder will be bundled.

The generated output will be placed inside `build` folder.

# Available commands

## start

```json
{
  "scripts": {
    "start": "macgyver start"
  }
}
```

## build

```json
{
  "scripts": {
    "build": "macgyver build"
  }
}
```

### `options`

```
  --analyze               Analyze the generated bundle.
  --platform           Sets the current platform. Must correspond with one platform name inside manoconfig.platforms

```

## test

```json
{
  "scripts": {
    "test": "macgyver test"
  }
}
```

This command runs all the tests of the application, using your **jest.config.js** or **@manomano/jest-config** by default.

## rollup

```json
{
  "scripts": {
    "build:lib": "macgyver rollup"
  }
}
```

This command builds the packages in order to be published.

## e2e

```json
{
  "scripts": {
    "e2e": "macgyver e2e"
  }
}
```

This command boots up the e2e environment, using **[@manomano/rollup](../cypress/README.md)** package.
npm package: @manomano/postcss
Description: default manomano postCSS configuration
Latest version: 3.0.0

# PostCSS

- This package contains the manomano PostCSS configuration. It uses the manomano browserslist package `@manomano/browserslist`.

- this package exports a webpack loader preconfigured to work with the postcss configuration

```js
{
  test: /\.css$/,
  use: [
    {
      loader: 'style-loader',
    },
    {
      loader: 'css-loader',
    },
    {
      loader: require.resolve('@manomano/postcss/webpack-loader'),
    },
  ],
}
```
npm package: @manomano/prettier-config
Description: default manomano prettier config
Latest version: 3.0.0

# Prettier

- This package contains the manomano prettier configuration.

- This configuration can be extendend by adding `.prettierrc.js` or `prettier.config.js` file on the root project.

```js
// prettier.config.js or .prettierrc.js
const manoConfig = require('@manomano/prettier-config');
const overrides = {};
module.exports = {
  ...manoConfig,
  ...overrides,
};
```

More info can be found in [Prettier docs](https://prettier.io/docs/en/options.html)
npm package: @manomano/toolkit
Description: mano-toolkit component library
Author: Colibri SAS - ManoMano
Latest version: 3.0.8

- Copyright (c) Colibri SAS - ManoMano
- This source code is licensed under the MIT license found in the
  LICENSE file in the root directory of this source tree.

## Manoolkit

Demo of currently available components: [Demo Toolkit](http://master.toolkit.manomano-lan.com/) (activate your VPN)

##### version 0.1.0

---

### Minimum Requirements

| React | React-DOM | Node |
| ----- | --------- | ---- |
| 16.4  | 16.4      | 8.9  |

<br />

### Installation
  
  `yarn add @manomano/toolkit`
  
  or 
  
  `npm install @manomano/toolkit --save`
  
<br/>

### Usage

`import { component } from '@manomano/toolkit';`

### Warning

Some components have external dependencies that increase the final bundle size.

- React-table(41.29KB)

  - Table

- React-Spring(31.79KB)
  - Alert
  - HeightTransition
  - Modal
  - OptionContainer
  - Overlay
  - Stepper
  - Tabs
  - TabBody
  - ToggleDown
  - Tooltip

### Releasing new version of the Toolkit

In order to release a new version of the Toolkit, the *Publish* job of the *master* pipeline of GitlabCI needs to be triggered.

Then Semantic Release will analyse the name of every commits in the repository. 
This is why we recommend to squash every commits from the same branch and open a MR with a name following angular-commit convention (as mentioned below)

> Gitlab MR name

prefix(scope): Name of the commit

> Gitlab Description content

Description that might contain
BREAKING CHANGE: here is the content of the breaking change

> prefix

| prefix by | effect on v1.2.3 |
| ------ | ------ |
| chore | no version: v1.2.3 |
| fix | patch version: v1.2.4 |
| feat | minor version: v1.3.0 |
| feat/fix with BREAKING CHANGE in Gitlab description | major version: v2.0.0 |

> scope

Scope can be:
- the name of one modified Component 

Or some names of concerned work
- dept for dependencies
- test for general updates on tests

> BREAKING CHANGE

Warning: As breaking changes are not related to any issues (no Jira issue will ask a developer to do breaking changes), 
the **Semantic Release** system is looking for BREAKING CHANGE words inside the description of Gitlab MR.

> Some questions about Releasing Toolkit?

Feel free to ask *ft-core-react* some help
npm package: @manomano/webpack
Description: manomano webpack configuration
Latest version: 3.1.0

# webpack

This package includes manomano webpack configuration, which can be found in the `config.js` file. It's heavily inspired from create-react-app.

## Scripts

- The package exposes a start script (`/scripts/start.js`), which will automatically boot a webpack dev server

- The package exposes a build script (`/scripts/build.js`), which will bundle your app

## Configuration

The package works out of the box.
you can add your own webpack configuration if you like directly in your project's package.json file under the `webpack` entry.

```json
"webpack": {
  "entry": "my-custom-project/index.js",
}
```