UNPKG

find-node-modules

Version:

Return an array of all parent node_modules directories

78 lines (77 loc) 2.29 kB
{ "_args": [ [ "@sinonjs/commons@1.0.2", "/Users/callumacrae/Sites/find-node-modules/cz-cli" ] ], "_development": true, "_from": "@sinonjs/commons@1.0.2", "_id": "@sinonjs/commons@1.0.2", "_inBundle": false, "_integrity": "sha512-WR3dlgqJP4QNrLC4iXN/5/2WaLQQ0VijOOkmflqFGVJ6wLEpbSjo7c0ZeGIdtY8Crk7xBBp87sM6+Mkerz7alw==", "_location": "/@sinonjs/commons", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "@sinonjs/commons@1.0.2", "name": "@sinonjs/commons", "escapedName": "@sinonjs%2fcommons", "scope": "@sinonjs", "rawSpec": "1.0.2", "saveSpec": null, "fetchSpec": "1.0.2" }, "_requiredBy": [ "/nise/@sinonjs/formatio", "/nise/@sinonjs/samsam", "/sinon" ], "_resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.0.2.tgz", "_spec": "1.0.2", "_where": "/Users/callumacrae/Sites/find-node-modules/cz-cli", "author": "", "bugs": { "url": "https://github.com/sinonjs/commons/issues" }, "dependencies": { "type-detect": "4.0.8" }, "description": "Simple functions shared among the sinon end user libraries", "devDependencies": { "@sinonjs/referee-sinon": "4.1.0", "eslint": "5.2.0", "eslint-config-prettier": "2.9.0", "eslint-config-sinon": "1.0.3", "eslint-plugin-ie11": "1.0.0", "eslint-plugin-local-rules": "0.1.0", "eslint-plugin-mocha": "5.1.0", "eslint-plugin-prettier": "2.6.2", "husky": "0.14.3", "jsverify": "0.8.3", "lint-staged": "7.2.0", "mocha": "5.2.0", "nyc": "12.0.2", "prettier": "1.14.0" }, "homepage": "https://github.com/sinonjs/commons#readme", "license": "BSD-3-Clause", "lint-staged": { "*.js": "eslint" }, "main": "lib/index.js", "name": "@sinonjs/commons", "repository": { "type": "git", "url": "git+https://github.com/sinonjs/commons.git" }, "scripts": { "lint": "eslint .", "precommit": "lint-staged", "test": "mocha --recursive -R dot \"lib/**/*.test.js\"", "test-check-coverage": "npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100", "test-coverage": "nyc --reporter text --reporter html --reporter lcovonly npm run test" }, "version": "1.0.2" }