package.json-validator icon indicating copy to clipboard operation
package.json-validator copied to clipboard

A tool/library for validating npm/node package.json files

Results 33 package.json-validator issues
Sort by recently updated
recently updated
newest added

While it is valid for a private package (`"private": true`) to have a version, it certainly shouldn't _require_ one. Tools like changeset require that you remove the private package version...

type: feature
status: accepting prs
good first issue

We don't need to get into a conversation about whether [warnings like this](https://github.com/altano/npm-packages/security/dependabot/106) are helpful or not, but they are happening. My latest one was from pulling in `eslint-plugin-package-json`, because...

type: feature
status: accepting prs

^

status: waiting for author

``` javascript var PJV=require('package-json-validator').PJV; PJV.validate(repoName, spec, options); ``` ``` sh psjv -r repoName ``` This is try to fetch the required package.json from the npmjs.org based on the repoName and...

type: feature
status: in discussion

👋 Hi all! I'm going to be helping out with maintenance of the project for a little while. @TechNickAI has granted me some GitHub and npm permissions, so I should...

meta

This repo's development flow hasn't been worked on in quite a while. It still uses Grunt, doesn't have GitHub issue or PR templates, and no longer has CI running for...

area: tooling

A nice addition would be to use this as an npm script: ``` js // package.json { "scripts": { "test": "package-json-validator" } } ```

status: accepting prs
area: documentation

## Context I maintain [`eslint-plugin-package-json`](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json), which is an [ESLint](https://eslint.org) plugin that lints for `package.json` file correctness. It includes `package.json-validator` by way of a [`package-json/valid-package-def` rule](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/9077496bb1a4d4f63144b8a15759ca9b8c75593c/docs/rules/valid-package-def.md) that directly runs `package.json-validator`'s Node.js...

type: feature
status: in discussion

I'm currently trying to get my package.json valided before submiting a new package. However, the validation is faling since I'm trying to use GitHub URLs in my dependencies. From the...

type: bug
status: accepting prs