Sign inSign up

opensorcery/npm-package-json-lint

By opensorcery

Updated almost 8 years ago

A package.json linter for Node projects.

Image
0

530

opensorcery/npm-package-json-lint repository overview

opensorcery/npm-package-json-lint

A package.json linter for Node projects.

Overview

npm-package-json-lint helps enforce standards for your package.json file. Currently it can check for:

  • validity of data types in nodes. Ex: name should always be a string.
  • whether a string is a lowercase
  • whether a version number is a valid
  • the presence of a given module
  • the presence of a pre-release version of a module
Usage
Pull image
docker pull opensorcery/npm-package-json-lint
Run container
docker run --rm -v ${PWD}:/code opensorcery/npm-package-json-lint /code
Run from within Travis CI
jobs:
  include:
    - stage: code linting
      script:
        - >
          docker run --rm
          -v ${PWD}:/code
          opensorcery/npm-package-json-lint

Tag summary

Content type

Image

Digest

Size

24.5 MB

Last updated

almost 8 years ago

docker pull opensorcery/npm-package-json-lint