• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "read-package-json",
3  "version": "7.0.0",
4  "author": "GitHub Inc.",
5  "description": "The thing npm uses to read package.json files with semantics and defaults and validation",
6  "repository": {
7    "type": "git",
8    "url": "https://github.com/npm/read-package-json.git"
9  },
10  "main": "lib/read-json.js",
11  "scripts": {
12    "prerelease": "npm t",
13    "postrelease": "npm publish && git push --follow-tags",
14    "release": "standard-version -s",
15    "test": "tap",
16    "npmclilint": "npmcli-lint",
17    "lint": "eslint \"**/*.js\"",
18    "lintfix": "npm run lint -- --fix",
19    "posttest": "npm run lint",
20    "postsnap": "npm run lintfix --",
21    "postlint": "template-oss-check",
22    "snap": "tap",
23    "template-oss-apply": "template-oss-apply --force"
24  },
25  "dependencies": {
26    "glob": "^10.2.2",
27    "json-parse-even-better-errors": "^3.0.0",
28    "normalize-package-data": "^6.0.0",
29    "npm-normalize-package-bin": "^3.0.0"
30  },
31  "devDependencies": {
32    "@npmcli/eslint-config": "^4.0.0",
33    "@npmcli/template-oss": "4.18.0",
34    "tap": "^16.0.1"
35  },
36  "license": "ISC",
37  "files": [
38    "bin/",
39    "lib/"
40  ],
41  "engines": {
42    "node": "^16.14.0 || >=18.0.0"
43  },
44  "tap": {
45    "branches": 73,
46    "functions": 77,
47    "lines": 77,
48    "statements": 77,
49    "nyc-arg": [
50      "--exclude",
51      "tap-snapshots/**"
52    ]
53  },
54  "templateOSS": {
55    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
56    "version": "4.18.0",
57    "publish": "true",
58    "ciVersions": [
59      "16.14.0",
60      "16.x",
61      "18.0.0",
62      "18.x"
63    ]
64  }
65}
66