open-index/open-npm huggingface dataset:
npm package: @ganapativs/babel-preset-react
Description: Base babel config for react setup
Author: Ganapati V S
Latest version: 0.0.7

# Base babel config for react setup

Automagically add `Babel` support to `react` setup by adding this package.

## Install

```sh
yarn add @ganapativs/babel-preset-react --dev
```

## Extend babel config

```sh
# create `.babelrc` in root folder of the service
# .babelrc
{
    "presets": [
        "@ganapativs/babel-preset-react"
    ]
}

# Or require in babel.config.js
module.exports = function config(api) {
    api.cache(true);

    return {
        presets: [
            "@ganapativs/babel-preset-react"
        ],
    }
}

# alternatively,
# use require.resolve('@ganapativs/babel-preset-react') in
# babel loader options in build tool config(eg: webpack config)
```

## Publish

```sh
# Scoped packages are private by default
npm publish --access public
```
npm package: @ganapativs/eslint-config-react
Description: Base ESLint config for react setup
Author: Ganapati V S
Latest version: 0.3.0

# Base ESLint config for react setup

Automagically add `ESLint` support to `react` setup by adding this package.

## Install

```sh
yarn add eslint @ganapativs/eslint-config-react --dev
```

## Enable ESLint

```json
// Tell editor to use eslint config from '@ganapativs/eslint-config-react'
// package.json
{
    // ...
    "eslintConfig": {
      "extends": "@ganapativs/react"
    },
    // ...
}
```

## Extend ESLint config

```sh
# create `.eslintrc` in root folder of the service
# .eslintrc
{
    "extends": "@ganapativs/react",
    "rules": {
        # custom rules here
    }
}
```

## Publish

```sh
# Scoped packages are private by default
npm publish --access public
```
npm package: @ganapativs/eslint-config-react-ts
Description: Base ESLint config for react+typescript setup
Author: Ganapati V S
Latest version: 0.2.0

# Base ESLint config for react+typescript setup

Automagically add `ESLint` support to `react+typescript` setup by adding this package.

> It's **required** to have `tsconfig.json` in root folder of the project

## Install

```sh
yarn add eslint @ganapativs/eslint-config-react-ts --dev
```

## Enable ESLint

```json
// Tell editor to use eslint config from '@ganapativs/eslint-config-react-ts'
// package.json
{
    // ...
    "eslintConfig": {
      "extends": "@ganapativs/react-ts"
    },
    // ...
}
```

## Extend ESLint config

```sh
# create `.eslintrc` in root folder of the service
# .eslintrc
{
    "extends": "@ganapativs/react-ts",
    "rules": {
        # custom rules here
    }
}
```

## Publish

```sh
# Scoped packages are private by default
npm publish --access public
```