UNPKG

find-node-modules

Version:

Return an array of all parent node_modules directories

95 lines (94 loc) 3.1 kB
{ "_args": [ [ "manage-path@2.0.0", "/Users/callumacrae/Sites/find-node-modules/cz-cli" ] ], "_development": true, "_from": "manage-path@2.0.0", "_id": "manage-path@2.0.0", "_inBundle": false, "_integrity": "sha1-9M+EV7km7u4qg7FzUBQUvHbrlZc=", "_location": "/manage-path", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "manage-path@2.0.0", "name": "manage-path", "escapedName": "manage-path", "rawSpec": "2.0.0", "saveSpec": null, "fetchSpec": "2.0.0" }, "_requiredBy": [ "/ghooks", "/opt-cli" ], "_resolved": "https://registry.npmjs.org/manage-path/-/manage-path-2.0.0.tgz", "_spec": "2.0.0", "_where": "/Users/callumacrae/Sites/find-node-modules/cz-cli", "author": { "name": "Kent C. Dodds", "email": "kent@doddsfamily.us", "url": "http://kentcdodds.com/" }, "bugs": { "url": "https://github.com/kentcdodds/node-manage-path/issues" }, "config": { "ghooks": { "commit-msg": "./node_modules/.bin/validate-commit-msg && npm run eslint && npm t && npm run check-coverage && echo 'pre-commit checks good 👍'" } }, "czConfig": { "path": "node_modules/cz-conventional-changelog/" }, "description": "Cross-platform method to add a directory to your $PATH", "devDependencies": { "babel": "5.8.23", "chai": "3.2.0", "chai-string": "1.1.2", "codecov.io": "0.1.6", "commitizen": "2.1.0", "cz-conventional-changelog": "1.1.4", "eslint": "1.7.2", "eslint-config-kentcdodds": "5.0.0", "eslint-plugin-mocha": "0.5.1", "ghooks": "0.3.2", "istanbul": "0.3.19", "mocha": "2.3.2", "publish-latest": "1.0.2", "semantic-release": "^4.3.5", "validate-commit-msg": "1.0.0" }, "homepage": "https://github.com/kentcdodds/node-manage-path#readme", "keywords": [ "path", "cross-platform" ], "license": "MIT", "main": "dist/index.js", "name": "manage-path", "repository": { "type": "git", "url": "git+https://github.com/kentcdodds/node-manage-path.git" }, "scripts": { "build": "cd src && babel --ignore **/*.test.js -d ../dist . && cd ..", "check-coverage": "istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100", "commit": "git-cz", "eslint": "npm run eslint:test -s && npm run eslint:src -s", "eslint:src": "eslint -c other/src.eslintrc --ignore-pattern '!**/*.+(test|mock).js' src/", "eslint:test": "eslint -c other/test.eslintrc --ignore-pattern '**/*.+(test|mock).js' src/", "postpublish": "publish-latest", "prebuild": "rm -rf dist && mkdir dist", "prepublish": "npm run build", "report-coverage": "echo 'Reporting coverage stats' && cat ./coverage/lcov.info | codecov", "semantic-release": "semantic-release pre && npm publish && semantic-release post", "start": "mocha src/*.test.js -w . --compilers js:babel/register", "test": "istanbul cover -x *.test.js _mocha -- -R spec src/*.test.js --compilers js:babel/register" }, "version": "2.0.0" }