@zkochan/pnpm
Version:
Fast, disk space efficient package manager
129 lines (128 loc) • 4.22 kB
JSON
{
"_args": [
[
{
"raw": "@pnpm/fetcher-base@1.0.0",
"scope": "@pnpm",
"escapedName": "@pnpm%2ffetcher-base",
"name": "@pnpm/fetcher-base",
"rawSpec": "1.0.0",
"spec": "1.0.0",
"type": "version"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/default-fetcher"
]
],
"_from": "@pnpm/fetcher-base@1.0.0",
"_id": "@pnpm/fetcher-base@1.0.0",
"_inCache": true,
"_location": "/@pnpm/fetcher-base",
"_nodeVersion": "6.11.4",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/fetcher-base_1.0.0_1518213590983_0.504391697633338"
},
"_npmUser": {
"name": "zkochan",
"email": "z@kochan.io"
},
"_npmVersion": "5.6.0",
"_phantomChildren": {},
"_requested": {
"raw": "@pnpm/fetcher-base@1.0.0",
"scope": "@pnpm",
"escapedName": "@pnpm%2ffetcher-base",
"name": "@pnpm/fetcher-base",
"rawSpec": "1.0.0",
"spec": "1.0.0",
"type": "version"
},
"_requiredBy": [
"/@pnpm/default-fetcher",
"/@pnpm/package-requester",
"/@pnpm/tarball-fetcher",
"/package-store"
],
"_resolved": "https://registry.npmjs.org/@pnpm/fetcher-base/-/fetcher-base-1.0.0.tgz",
"_shasum": "4922decb9e697203e3e925f62455b852dab3647d",
"_shrinkwrap": null,
"_spec": "@pnpm/fetcher-base@1.0.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/@pnpm/default-fetcher",
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://www.kochan.io/"
},
"bugs": {
"url": "https://github.com/pnpm/fetcher-base/issues"
},
"dependencies": {
"@pnpm/resolver-base": "^1.0.0"
},
"description": "Types for pnpm-compatible fetchers",
"devDependencies": {
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"rimraf": "^2.6.2",
"tslint": "^5.9.1",
"typescript": "^2.7.1"
},
"directories": {},
"dist": {
"integrity": "sha512-kp5ooq4wC84gelVjkQuV8GzDHe/m99+yvlx3HTHOP25SdfkshIG5k/q784cmw8axjBke/LXdgE9sR5JRNs8TTw==",
"shasum": "4922decb9e697203e3e925f62455b852dab3647d",
"tarball": "https://registry.npmjs.org/@pnpm/fetcher-base/-/fetcher-base-1.0.0.tgz",
"fileCount": 6,
"unpackedSize": 3952
},
"engines": {
"node": ">=4"
},
"files": [
"lib"
],
"gitHead": "d353d391b4f0e48e8879cf54ab2e73025d1336e5",
"homepage": "https://github.com/pnpm/fetcher-base#readme",
"keywords": [
"pnpm",
"fetcher"
],
"license": "MIT",
"main": "lib/index.js",
"maintainers": [
{
"name": "pnpmuser",
"email": "zoltan.kochan@gmail.com"
},
{
"name": "zkochan",
"email": "z@kochan.io"
}
],
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"name": "@pnpm/fetcher-base",
"optionalDependencies": {},
"readme": "# @pnpm/fetcher-base\n\n> Types for pnpm-compatible fetchers\n\n<!--@shields('npm', 'travis')-->\n[](https://www.npmjs.com/package/@pnpm/fetcher-base) [](https://travis-ci.org/pnpm/fetcher-base)\n<!--/@-->\n\n## Installation\n\n```sh\nnpm i -S @pnpm/fetcher-base\n```\n\n## Usage\n\nHere's a template for a fetcher using types from `@pnpm/fetcher-base`:\n\n```ts\nimport {Resolution} from '@pnpm/resolver-base'\nimport {\n FetchOptions,\n FetchResult,\n} from '@pnpm/fetcher-base'\n\nexport async function (\n resolution: Resolution,\n targetFolder: string,\n opts: FetchOptions,\n): Promise<FetchResult>\n // ...\n return {\n filesIndex,\n tempLocation,\n }\n}\n```\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/pnpm/fetcher-base.git"
},
"scripts": {
"lint": "tslint -c tslint.json --project .",
"md": "mos",
"prepare": "npm run tsc",
"start": "npm run tsc -- --watch",
"test": "npm run lint && mos t",
"tsc": "rimraf lib && tsc --pretty"
},
"typings": "lib/index.d.ts",
"version": "1.0.0"
}