1.1.2 • Published 3 years ago

npm-package-json-lint-config-tnw v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm-package-json-lint-config-tnw

npm-package-json-lint-config-tnw contains a strict package-json-lint configuration for apps and libraries.

Status

CategoryStatus
Versionnpm
DependenciesDavid
Dev dependenciesDavid
BuildGitHub Actions
LicenseGitHub

Installation

$ npm install npm-package-json-lint-config-tnw \
              npm-package-json-lint

Quick Start

This module contains a very strict package-json-lint configuration, one for apps and one for libraries. It aims to eradicate any variation in your package.json files. It intends to make your package manifests look uniform, enforce that certain fields exist and prevent you from accidentally installing non-strict dependencies. This helps you to narrow down your focus to pure content, as you do not have to think about the order of fields or which fields you need any more. There is very little difference between the config variant for apps and the one for libraries; The difference is mainly that libraries expose an entry point for code imports, while apps expose an executable.

To use one of those configurations, create a .npmpackagejsonlintrc.json file in your project and use the extends keyword:

{
  "extends": "npm-package-json-lint-config-tnw/lib"
}

Alternatively, you may also use npm-package-json-lint-config-tnw/app.

If you want to override any rules, you can do so in your configuration file.

Running quality assurance

To run quality assurance for this module use roboter:

$ npx roboter
1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago