npm-package-json-lint-config-tnw

1.1.2 • Public • Published

npm-package-json-lint-config-tnw

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

Status

Category Status
Version npm
Dependencies David
Dev dependencies David
Build GitHub Actions
License GitHub

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

Package Sidebar

Install

npm i npm-package-json-lint-config-tnw

Weekly Downloads

9

Version

1.1.2

License

MIT

Unpacked Size

11.2 kB

Total Files

10

Last publish

Collaborators

  • thenativeweb-admin
  • goloroden