pnpm
Version:
Fast, disk space efficient package manager
128 lines (127 loc) • 5.43 kB
JSON
{
"_args": [
[
{
"raw": "find-packages@4.0.1",
"scope": null,
"escapedName": "find-packages",
"name": "find-packages",
"rawSpec": "4.0.1",
"spec": "4.0.1",
"type": "version"
},
"/home/zoltan/src/pnpm/pnpm/packages/pnpm"
]
],
"_from": "find-packages@4.0.1",
"_hasShrinkwrap": false,
"_id": "find-packages@4.0.1",
"_location": "/find-packages",
"_nodeVersion": "10.12.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/find-packages_4.0.1_1552508402672_0.3865107698698229"
},
"_npmUser": {
"name": "zkochan",
"email": "z@kochan.io"
},
"_npmVersion": "6.9.0",
"_phantomChildren": {},
"_requested": {
"raw": "find-packages@4.0.1",
"scope": null,
"escapedName": "find-packages",
"name": "find-packages",
"rawSpec": "4.0.1",
"spec": "4.0.1",
"type": "version"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/find-packages/-/find-packages-4.0.1.tgz",
"_shasum": "39a45aaf859aed29afad24821fe5c2911f7dac0b",
"_shrinkwrap": null,
"_spec": "find-packages@4.0.1",
"_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm",
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io"
},
"bugs": {
"url": "https://github.com/zkochan/find-packages/issues"
},
"dependencies": {
"@pnpm/read-package-json": "^2.0.0",
"@types/node": "^10.12.18",
"fast-glob": "^2.0.4",
"p-filter": "^2.0.0"
},
"description": "Find all packages inside a directory",
"devDependencies": {
"@types/tape": "^4.2.29",
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"package-preview": "^2.0.0",
"tape": "^4.6.3",
"ts-node": "^8.0.1",
"tslint": "^5.0.0",
"typescript": "^3.0.0"
},
"directories": {},
"dist": {
"integrity": "sha512-1qtGZL3BATaXYhYvH80CDgdy+5vVXLFGXMvJsJq00/E+/sIYd6BM/2V+hOq2VyR8Fe02k/v3pdl32TuLgyvSFg==",
"shasum": "39a45aaf859aed29afad24821fe5c2911f7dac0b",
"tarball": "https://registry.npmjs.org/find-packages/-/find-packages-4.0.1.tgz",
"fileCount": 6,
"unpackedSize": 6576,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciWXzCRA9TVsSAnZWagAAlrIP/3UNreVzyhvfPTCbVsDd\ncqn1RNXfBW6Ui8Y2D9zAd6ehMXnlnQZH+NUBeCyunYP8tHXygKjAykY1IAMA\nXmbx2V6NTqgghzf2GD25Dk4+peQT8iF7IDHC/E2Vthyx7VZnvDJV9mM2zGzW\nRMCXm9GuxMeMc+6wzfxXJXp1+6wWwNCZ4YBEu3ZZHlMKWTdGRCxT/G3ATxGQ\nXvaVSKMfBzx1ao0UxCZZqmLlC1AKOo7ptmNhod+ONeX+2BGJBKQN+urV0t90\nxEn3oMJ+D2MXWuCsUVFcwTWHUtP3Ui5D7WGAVtc1f5hdiAhQ+QAae7aSKQtH\n1SXd2TrPENgbcY0D4LoAJO0Rm3msu7wuuZQgnl37Z9nlo6MeFxb2u1F5934s\nRpd9AaWjUcfn8F/9q1+RRZv39VLMaKUYwwPTBipqVTXRL/tafvO2rs+IP1PT\nFQuHUV5LndOBntvIvvOeZIDV/ee4huXOYlH2Gk3x6NFMdDtaFGPL7b2UfwdP\nZqPCICS5Qbkdd5dAxAmdh3yu+ncPL+yduHX4WkcJwimf1J8cksQG2hVItsAj\nofVAjZ7kvMIfwuBPBLN3w2ApbNNw0sJ/KCUu8+HDPa/TIQLZhDdbpmdkU5AV\nu5df6pJ6enpwkwW+re5KCDNSgM8Q0nD/1w4NuXd08Gw07pKhXkryG6mTvVke\nx0gV\r\n=21Lt\r\n-----END PGP SIGNATURE-----\r\n"
},
"engines": {
"node": ">=8"
},
"files": [
"lib"
],
"gitHead": "9cc8f7d37e222afe0853bff5888f9c91be8ce7da",
"homepage": "https://github.com/zkochan/find-packages#readme",
"keywords": [
"find",
"package"
],
"license": "MIT",
"main": "lib/index.js",
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"name": "find-packages",
"optionalDependencies": {},
"readme": "# find-packages\n\n> Find all packages inside a directory\n\n<!--@shields('npm', 'travis')-->\n[](https://www.npmjs.com/package/find-packages) [](https://travis-ci.org/zkochan/find-packages)\n<!--/@-->\n\n## Installation\n\n```sh\nnpm i -S find-packages\n```\n\n## Usage\n\n```js\nconst path = require('path')\nconst findPkgs = require('find-packages')\n\nfindPkgs(path.join(__dirname, 'test', 'fixture'))\n .then(pkgs => console.log(pkgs))\n .catch(err => console.error(err))\n //> [ { path: '/home/zkochan/src/find-packages/test/fixture/pkg',\n // manifest: { name: 'foo', version: '1.0.0' } } ]\n```\n\n## API\n\n### `findPackages(dir, [opts])`\n\n#### `dir`\n\nThe directory in which to search for packages.\n\n#### `opts`\n\nParameters normally passed to [glob](https://www.npmjs.com/package/glob)\n\n#### `opts.patterns`\n\nArray of globs to use as package locations. For example: `['packages/**', 'utils/**']`.\n\n#### `opts.ignore`\n\nPatterns to ignore when searching for packages. By default: `**/node_modules/**`, `**/bower_components/**`, `**/test/**`, `**/tests/**`.\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io)\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/zkochan/find-packages.git"
},
"scripts": {
"lint": "tslint -c tslint.json --project .",
"md": "mos",
"prepublishOnly": "npm run tsc",
"test": "npm run lint && preview && ts-node test --type-check && mos test",
"tsc": "tsc"
},
"typings": "lib/index.d.ts",
"version": "4.0.1"
}