0.15.1 • Published 8 months ago

@instabuy/package-config v0.15.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
8 months ago

Instabuy Package Config

This package provides a simple way to configure your Typescript application or library. This package comes with Eslint and Prettier configurations and denpendencies so you don't have to worry about it.

Installation

The installation is straightforward and already comes with Eslint and Prettier dependencies, ramaning to you only to install Typescript depedency. Just run the following command to install Prettier and Eslint configurations and dependencies.

npm install @instabuy/package-config --save-dev

Usage

  1. Use the default Typescript configuration by adding the following line to your tsconfig.json file.

    {
      "extends":  "@instabuy/package-config/tsconfig.json"
    }
  2. Configure Eslint configuration file.

    a) If you just want the basic Typescript configuration, add the following line to your .eslintrc.json file.

    {
      "extends": "@instabuy/eslint-config"
    }

    b) If you want to use the React configuration, add the following line to your .eslintrc.json file.

    {
      "extends": "@instabuy/eslint-config/react"
    }
  3. Configure Prettier configuration file by making the following line your prettierrc.json file content.

    "@instabuy/prettier-config"
  4. Configure your package.json scripts to use the configurations. Like:

    {
      "scripts": {
        "lint": "eslint src --ext .ts,.js,.tsx",
        "lint:fix": "yarn lint --fix"
      }
    }
0.13.6

10 months ago

0.13.7

10 months ago

0.13.8

10 months ago

0.13.9

10 months ago

0.13.0

10 months ago

0.13.1

10 months ago

0.15.0

8 months ago

0.13.2

10 months ago

0.15.1

8 months ago

0.13.3

10 months ago

0.13.4

10 months ago

0.13.5

10 months ago

0.13.12

10 months ago

0.13.11

10 months ago

0.13.10

10 months ago

0.13.15

9 months ago

0.13.14

9 months ago

0.13.13

10 months ago

0.14.0

8 months ago

0.12.12

10 months ago

0.12.13

10 months ago

0.12.14

10 months ago

0.12.15

10 months ago

0.12.11

11 months ago

0.12.10

11 months ago

0.12.7

11 months ago

0.12.8

11 months ago

0.12.9

11 months ago

0.10.18

12 months ago

0.10.19

12 months ago

0.11.0

12 months ago

0.10.14

1 year ago

0.12.0

12 months ago

0.10.15

1 year ago

0.12.1

12 months ago

0.10.16

1 year ago

0.12.2

12 months ago

0.10.17

12 months ago

0.12.3

12 months ago

0.12.4

12 months ago

0.12.5

12 months ago

0.12.6

12 months ago

0.10.13

1 year ago

0.10.9

1 year ago

0.10.3

1 year ago

0.10.4

1 year ago

0.10.10

1 year ago

0.10.5

1 year ago

0.10.11

1 year ago

0.10.6

1 year ago

0.10.12

1 year ago

0.10.7

1 year ago

0.10.8

1 year ago

0.8.1

1 year ago

0.7.4

1 year ago