{"_id":"types-pkg-json","_rev":"139804","name":"types-pkg-json","description":"Type checking for package.json","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"time":{"modified":"2021-06-03T11:26:13.000Z","created":"2020-09-08T02:14:15.420Z","1.2.1":"2020-10-09T04:02:20.296Z","1.1.2":"2020-09-19T21:39:04.321Z","1.1.1":"2020-09-19T21:35:45.288Z","1.1.0":"2020-09-09T01:32:47.497Z","1.0.2":"2020-09-08T04:11:34.902Z","1.0.1":"2020-09-08T02:17:10.359Z","1.0.0":"2020-09-08T02:14:15.420Z"},"users":{},"author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-pkg-json.git"},"versions":{"1.2.1":{"name":"types-pkg-json","version":"1.2.1","description":"Type checking for package.json","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-pkg-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-pkg-json.git"},"keywords":["type","types","package","json","fields","typescript","ts","object","file"],"main":"./build/index.js","scripts":{"build":"bob build","commit":"bob commit","lint":"bob lint","release":"bob publish","test":"bob test"},"dependencies":{"types-eslintrc":"^1.0.3","types-json":"^1.2.2"},"devDependencies":{"@bconnorwhite/bob":"^2.9.2"},"eslintConfig":{"extends":"eslint-config-bob"},"husky":{"hooks":{"commit-msg":"bob lint commit"}},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"types-pkg-json@1.2.1","dist":{"shasum":"890fe4f231000a721299831ef3e17a489b1e635e","size":7480,"noattachment":false,"key":"/types-pkg-json/-/types-pkg-json-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/types-pkg-json/download/types-pkg-json-1.2.1.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-pkg-json_1.2.1_1602216140103_0.681078128416013"},"_hasShrinkwrap":false,"publish_time":1602216140296,"_cnpm_publish_time":1602216140296},"1.1.2":{"name":"types-pkg-json","version":"1.1.2","description":"Type checking for package.json","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-package-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-package-json.git"},"keywords":["type","types","package","json","fields","typescript","ts","object","file"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn run build"},"dependencies":{"types-eslintrc":"^1.0.0","types-json":"^1.0.7"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0"},"_id":"types-pkg-json@1.1.2","dist":{"shasum":"3adf92631a57fd764049e0ef5966706eae2a1100","size":3075,"noattachment":false,"key":"/types-pkg-json/-/types-pkg-json-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/types-pkg-json/download/types-pkg-json-1.1.2.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-pkg-json_1.1.2_1600551544211_0.531046217960969"},"_hasShrinkwrap":false,"publish_time":1600551544321,"_cnpm_publish_time":1600551544321},"1.1.1":{"name":"types-pkg-json","version":"1.1.1","description":"Type checking for package.json","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-package-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-package-json.git"},"keywords":["type","types","package","json","fields","typescript","ts","object","file"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn run build"},"dependencies":{"types-eslintrc":"^1.0.0","types-json":"^1.0.7"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0"},"_id":"types-pkg-json@1.1.1","dist":{"shasum":"c70362f2081577768d50045c45898be41d45790c","size":3021,"noattachment":false,"key":"/types-pkg-json/-/types-pkg-json-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/types-pkg-json/download/types-pkg-json-1.1.1.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-pkg-json_1.1.1_1600551345146_0.667771856997804"},"_hasShrinkwrap":false,"publish_time":1600551345288,"_cnpm_publish_time":1600551345288},"1.1.0":{"name":"types-pkg-json","version":"1.1.0","description":"Type checking for package.json","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-package-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-package-json.git"},"keywords":["type","types","package","json","fields","typescript","ts","object","file"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn run build"},"dependencies":{"types-json":"^1.0.7"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0"},"_id":"types-pkg-json@1.1.0","dist":{"shasum":"efac83c27dbd4839c68316a079439cc46b663b47","size":2957,"noattachment":false,"key":"/types-pkg-json/-/types-pkg-json-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/types-pkg-json/download/types-pkg-json-1.1.0.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-pkg-json_1.1.0_1599615167340_0.302509213262798"},"_hasShrinkwrap":false,"publish_time":1599615167497,"_cnpm_publish_time":1599615167497},"1.0.2":{"name":"types-pkg-json","version":"1.0.2","description":"Type checking for package.json","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-package-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-package-json.git"},"keywords":["type","types","package","json","fields","typescript","ts","object","file"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn run build"},"dependencies":{"types-json":"^1.0.7"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0"},"_id":"types-pkg-json@1.0.2","dist":{"shasum":"a2b7caa6b306a7a5eae2cacac72f60d9f922ad3e","size":2897,"noattachment":false,"key":"/types-pkg-json/-/types-pkg-json-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/types-pkg-json/download/types-pkg-json-1.0.2.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-pkg-json_1.0.2_1599538294707_0.07157723181209574"},"_hasShrinkwrap":false,"publish_time":1599538294902,"_cnpm_publish_time":1599538294902},"1.0.1":{"name":"types-pkg-json","version":"1.0.1","description":"Type checking for package.json","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-package-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-package-json.git"},"keywords":["type","types","package","json","fields","typescript","ts","object","file"],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn run build"},"dependencies":{"types-json":"^1.0.7"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0"},"_id":"types-pkg-json@1.0.1","dist":{"shasum":"b9d80b7661bba70ef0da4c809cc0960c0f86e616","size":2893,"noattachment":false,"key":"/types-pkg-json/-/types-pkg-json-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/types-pkg-json/download/types-pkg-json-1.0.1.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-pkg-json_1.0.1_1599531430270_0.7766853131151943"},"_hasShrinkwrap":false,"publish_time":1599531430359,"_cnpm_publish_time":1599531430359},"1.0.0":{"name":"types-pkg-json","version":"1.0.0","description":"Type checking for package.json","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/types-package-json","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/types-package-json.git"},"keywords":[],"main":"./build/index.js","scripts":{"build":"bob build","postversion":"git push","prepublishOnly":"yarn run build"},"dependencies":{"types-json":"^1.0.7"},"devDependencies":{"@bconnorwhite/bob":"^2.1.0"},"_id":"types-pkg-json@1.0.0","dist":{"shasum":"6df525190fbb584ad978b599c1f8c5ff9067659d","size":2870,"noattachment":false,"key":"/types-pkg-json/-/types-pkg-json-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/types-pkg-json/download/types-pkg-json-1.0.0.tgz"},"maintainers":[{"name":"bconnorwhite","email":"connor.bcw@gmail.com"}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-pkg-json_1.0.0_1599531255291_0.058133139963214564"},"_hasShrinkwrap":false,"publish_time":1599531255420,"_cnpm_publish_time":1599531255420}},"readme":"<div align=\"center\">\n  <h1>types-pkg-json</h1>\n  <a href=\"https://npmjs.com/package/types-pkg-json\">\n    <img alt=\"NPM\" src=\"https://img.shields.io/npm/v/types-pkg-json.svg\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/types-pkg-json\">\n    <img alt=\"TypeScript\" src=\"https://img.shields.io/github/languages/top/bconnorwhite/types-pkg-json.svg\">\n  </a>\n  <a href='https://coveralls.io/github/bconnorwhite/types-pkg-json?branch=master'>\n    <img alt=\"Coverage Status\" src=\"https://img.shields.io/coveralls/github/bconnorwhite/types-pkg-json.svg?branch=master\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/types-pkg-json\">\n    <img alt=\"GitHub Stars\" src=\"https://img.shields.io/github/stars/bconnorwhite/types-pkg-json?label=Stars%20Appreciated%21&style=social\">\n  </a>\n  <a href=\"https://twitter.com/bconnorwhite\">\n    <img alt=\"Twitter Follow\" src=\"https://img.shields.io/twitter/follow/bconnorwhite.svg?label=%40bconnorwhite&style=social\">\n  </a>\n</div>\n\n<br />\n\n> Type checking for package.json.\n\nDerived from [type-fest](https://www.npmjs.com/package/type-fest) with a focus on package.json types.\n\n## Installation\n\n```bash\nyarn add types-pkg-json\n```\n\n```bash\nnpm install types-pkg-json\n```\n\n## API\n\n### Types\n\n```ts\nimport { PackageJSON, fileName, PackageJSONFileName } from \"types-pkg-json\"; // Type for NPM's package.json file\n\nconsole.log(fileName); // \"package.json\"\n```\n\n#### Field Types\n\n```ts\nimport {\n  BugsLocation, // Used by the `bugs` field.\n  LicenseID, // Used by the `license` and `licenses.type` fields.\n  Person, // Used by the `author`, `contributors`, and `maintainers` fields.\n  DirectoryLocations, // Used by the `directories` field.\n  Repository, // Used by the `repository` field.\n  Scripts, // Used by the `scripts` field.\n  Dependencies // Used by the `dependencies`, `devDependencies`, `optionalDependencies`, and `peerDependencies` fields.\n} from \"types-pkg-json\";\n```\n\n#### Configuration Types\n\n```ts\nimport {\n  NonStandardEntryPoints, // module, esnext, browser, sideEffects\n  TypeScriptConfiguration, // types, typings\n  WorkspaceConfig, // packages, nohoist\n  YarnConfiguration, // workspaces, flat, resolutions\n  JSPMConfiguration, // jspm\n  ESLintConfiguration // eslintConfig\n} from \"types-pkg-json\";\n```\n\n#### Utility Types\n\n```ts\nimport {\n  isJSONObject\n  JSONObject,\n  JSONValue,\n  JSONArray,\n  Primitive,\n  LiteralUnion\n} from \"types-pkg-json\";\n\nfunction isJSONObject(object?: JSONValue): object is JSONObject;\n```\n\n<br />\n\n<h2>Dependencies<img align=\"right\" alt=\"dependencies\" src=\"https://img.shields.io/david/bconnorwhite/types-pkg-json.svg\"></h2>\n\n- [types-json](https://www.npmjs.com/package/types-json): Type checking for JSON objects\n- [types-eslintrc](https://www.npmjs.com/package/types-eslintrc): Type checking for .eslintrc.json\n\n<br />\n\n<h2>Dev Dependencies<img align=\"right\" alt=\"David\" src=\"https://img.shields.io/david/dev/bconnorwhite/types-pkg-json.svg\"></h2>\n\n- [@bconnorwhite/bob](https://www.npmjs.com/package/@bconnorwhite/bob): Bob is a toolkit for TypeScript projects\n\n<h2>License <img align=\"right\" alt=\"license\" src=\"https://img.shields.io/npm/l/types-pkg-json.svg\"></h2>\n\n[MIT](https://opensource.org/licenses/MIT)\n\n<br />\n\n## Related Projects\n\n- [types-json](https://www.npmjs.com/package/types-json): Type checking for JSON objects\n- [types-tsconfig](https://www.npmjs.com/package/types-tsconfig): Type checking for tsconfig.json\n- [types-eslintrc](https://www.npmjs.com/package/types-eslintrc): Type checking for .eslintrc.json\n","_attachments":{},"homepage":"https://connorwhite.org/github/types-pkg-json","license":"MIT"}