UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

98 lines (97 loc) 3.57 kB
{ "_args": [ [ { "raw": "pnpm-install-checks@1.1.0", "scope": null, "escapedName": "pnpm-install-checks", "name": "pnpm-install-checks", "rawSpec": "1.1.0", "spec": "1.1.0", "type": "version" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/supi" ] ], "_from": "pnpm-install-checks@1.1.0", "_id": "pnpm-install-checks@1.1.0", "_inCache": true, "_location": "/pnpm-install-checks", "_nodeVersion": "6.9.1", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/pnpm-install-checks-1.1.0.tgz_1484507272846_0.9539839378558099" }, "_npmUser": { "name": "zkochan", "email": "zoltan.kochan@gmail.com" }, "_npmVersion": "3.10.9", "_phantomChildren": {}, "_requested": { "raw": "pnpm-install-checks@1.1.0", "scope": null, "escapedName": "pnpm-install-checks", "name": "pnpm-install-checks", "rawSpec": "1.1.0", "spec": "1.1.0", "type": "version" }, "_requiredBy": [ "/supi" ], "_resolved": "https://registry.npmjs.org/pnpm-install-checks/-/pnpm-install-checks-1.1.0.tgz", "_shasum": "741d9979762fdfad93f3e469deb4a814d3430008", "_shrinkwrap": null, "_spec": "pnpm-install-checks@1.1.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/supi", "author": { "name": "Robert Kowalski", "email": "rok@kowalski.gd" }, "bugs": { "url": "https://github.com/zkochan/pnpm-install-checks/issues" }, "dependencies": { "semver": "^2.3.0 || 3.x || 4 || 5" }, "description": "checks that pnpm runs during the installation of a module", "devDependencies": { "mkdirp": "~0.5.1", "rimraf": "~2.5.4", "standard": "^8.6.0", "tape": "^4.6.2", "tape-promise": "^2.0.0" }, "directories": {}, "dist": { "shasum": "741d9979762fdfad93f3e469deb4a814d3430008", "tarball": "https://registry.npmjs.org/pnpm-install-checks/-/pnpm-install-checks-1.1.0.tgz" }, "gitHead": "be6dab4112693f2182672c946e7ad632d38315d2", "homepage": "https://github.com/zkochan/pnpm-install-checks", "keywords": [ "npm,", "install" ], "license": "BSD-2-Clause", "main": "index.js", "maintainers": [ { "name": "zkochan", "email": "zoltan.kochan@gmail.com" } ], "name": "pnpm-install-checks", "optionalDependencies": {}, "readme": "# pnpm-install-checks\n\n> checks that pnpm runs during the installation of a module\n\n[![npm version](https://img.shields.io/npm/v/pnpm-install-checks.svg?style=flat-square)](https://www.npmjs.com/package/pnpm-install-checks)\n[![Build Status](https://img.shields.io/travis/zkochan/pnpm-install-checks/master.svg?style=flat-square)](https://travis-ci.org/zkochan/pnpm-install-checks)\n\n## API\n\n### `.checkEngine(target, currentEngine): Promise<Error>`\n\nCheck if node/npm version is supported by the package. If not\nsupported, an error object is returned.\n\nError type: `ENOTSUP`\n\n### `.checkPlatform(target): Promise<Error>`\n\nCheck if OS/Arch is supported by the package.\n\nError type: `EBADPLATFORM`\n\n### `.checkCycle(target, ancestors, cb)`\nCheck for cyclic dependencies.\n\nError type: `ECYCLE`\n\n### `.checkGit(folder, cb)`\nCheck if a folder is a .git folder.\n\nError type: `EISGIT`\n\n## License\n\n[BSD](LICENSE)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/zkochan/pnpm-install-checks.git" }, "scripts": { "test": "standard && node test" }, "version": "1.1.0" }