{ "_from": "lint-staged@8.1.5", "_id": "lint-staged@8.1.5", "_inBundle": false, "_integrity": "sha512-e5ZavfnSLcBJE1BTzRTqw6ly8OkqVyO3GL2M6teSmTBYQ/2BuueD5GIt2RPsP31u/vjKdexUyDCxSyK75q4BDA==", "_location": "/lint-staged", "_phantomChildren": { "array-union": "1.0.2", "glob": "7.2.3", "object-assign": "4.1.1", "path-is-inside": "1.0.2", "pinkie-promise": "2.0.1", "rimraf": "2.7.1" }, "_requested": { "type": "version", "registry": true, "raw": "lint-staged@8.1.5", "name": "lint-staged", "escapedName": "lint-staged", "rawSpec": "8.1.5", "saveSpec": null, "fetchSpec": "8.1.5" }, "_requiredBy": [ "#DEV:/" ], "_resolved": "https://registry.npmmirror.com/lint-staged/-/lint-staged-8.1.5.tgz", "_shasum": "372476fe1a58b8834eb562ed4c99126bd60bdd79", "_spec": "lint-staged@8.1.5", "_where": "D:\\源码\\vue-element-admin-master", "author": { "name": "Andrey Okonetchnikov", "email": "andrey@okonet.ru" }, "bin": { "lint-staged": "index.js" }, "bugs": { "url": "https://github.com/okonet/lint-staged/issues" }, "bundleDependencies": false, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "dependencies": { "chalk": "^2.3.1", "commander": "^2.14.1", "cosmiconfig": "^5.0.2", "debug": "^3.1.0", "dedent": "^0.7.0", "del": "^3.0.0", "execa": "^1.0.0", "find-parent-dir": "^0.3.0", "g-status": "^2.0.2", "is-glob": "^4.0.0", "is-windows": "^1.0.2", "listr": "^0.14.2", "listr-update-renderer": "^0.5.0", "lodash": "^4.17.11", "log-symbols": "^2.2.0", "micromatch": "^3.1.8", "npm-which": "^3.0.1", "p-map": "^1.1.1", "path-is-inside": "^1.0.2", "pify": "^3.0.0", "please-upgrade-node": "^3.0.2", "staged-git-files": "1.1.2", "string-argv": "^0.0.2", "stringify-object": "^3.2.2", "yup": "^0.26.10" }, "deprecated": false, "description": "Lint files staged by git", "devDependencies": { "babel-core": "^6.26.3", "babel-jest": "^23.6.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.0", "commitizen": "^2.9.6", "consolemock": "^1.0.2", "cz-conventional-changelog": "^2.0.0", "eslint": "^4.18.1", "eslint-config-okonet": "^5.0.1", "eslint-plugin-node": "^6.0.0", "husky": "^1.1.4", "jest": "^23.6.0", "jest-snapshot-serializer-ansi": "^1.0.0", "jsonlint": "^1.6.2", "prettier": "1.11.1", "tmp": "0.0.33" }, "files": [ "index.js", "src" ], "homepage": "https://github.com/okonet/lint-staged#readme", "husky": { "hooks": { "pre-commit": "node index.js" } }, "jest": { "testEnvironment": "node", "setupFiles": [ "./testSetup.js" ], "snapshotSerializers": [ "jest-snapshot-serializer-ansi" ] }, "keywords": [ "lint", "git", "staged", "eslint", "prettier", "stylelint", "code", "quality", "check", "format", "validate" ], "license": "MIT", "maintainers": [ { "name": "Lufty Wiranda", "email": "lufty.wiranda@gmail.com" }, { "name": "Suhas Karanth", "email": "sudo.suhas@gmail.com" } ], "name": "lint-staged", "repository": { "type": "git", "url": "git+https://github.com/okonet/lint-staged.git" }, "scripts": { "cz": "git-cz", "lint": "npm run lint:base -- .", "lint:base": "eslint --rule \"prettier/prettier: 2\"", "lint:fix": "npm run lint --fix", "pretest": "npm run lint", "test": "jest --coverage", "test:watch": "jest --watch" }, "version": "8.1.5" }