0.2.7 • Published 11 months ago

@svile/node-development v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

node-development

Supercharge your Node development configuration.

Installation

Add @svile/node-development usually in devDependencies of your package.json.

Usage

Prettier

Add prettier usually in devDependencies of your package.json then add the following to your package.json file:

{
    "prettier": "@svile/node-development/prettier"
}

NOTE: Prettier can be further customized as per the documentation

Typescript

Add typescript usually in devDependencies of your package.json then create a tsconfig.json file in the root directory of your repo with the following contents:

{
    "extends": "@svile/node-development/tsconfig.json",
    "compilerOptions": {
        "baseUrl": ".",
    }
}

NOTE: Typescript can be further customized as per the documentation

ESLint

Add eslint usually in devDependencies of your package.json then add the following to your package.json file:

{
    "eslintConfig": {
        "extends": [
            "./node_modules/@svile/node-development/eslint"
        ],
        "root": true
    }
}

NOTE: ESLint can be further customized as per the documentation

Jest

Add jest usually in devDependencies of your package.json then create a jest.config.js file in the root directory of your repo with the following contents:

module.exports = {
  ...require('@svile/node-development/jest'),
  moduleNameMapper: {
    '^-/(.*)': '<rootDir>/src/$1',
  },
};

NOTE: Jest can be further customized as per the documentation

0.2.7

11 months ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.3

1 year ago

0.2.4

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago