UNPKG

lint-staged

Version:
106 lines (105 loc) 2.59 kB
{ "name": "lint-staged", "version": "9.2.2", "description": "Lint files staged by git", "license": "MIT", "repository": "https://github.com/okonet/lint-staged", "author": "Andrey Okonetchnikov <andrey@okonet.ru>", "maintainers": [ "Lufty Wiranda <lufty.wiranda@gmail.com>", "Suhas Karanth <sudo.suhas@gmail.com>", "Iiro Jäppinen <iiro@jappinen.fi> (https://iiro.fi)" ], "main": "./src/index.js", "bin": "./bin/lint-staged", "files": [ "src", "bin" ], "scripts": { "cz": "git-cz", "lint:base": "eslint --rule \"prettier/prettier: 2\"", "lint": "npm run lint:base -- .", "lint:fix": "npm run lint -- --fix", "pretest": "npm run lint", "test": "jest --coverage", "test:watch": "jest --watch" }, "husky": { "hooks": { "pre-commit": "./bin/lint-staged" } }, "dependencies": { "chalk": "^2.4.2", "commander": "^2.20.0", "cosmiconfig": "^5.2.1", "debug": "^4.1.1", "dedent": "^0.7.0", "del": "^5.0.0", "execa": "^2.0.3", "listr": "^0.14.3", "log-symbols": "^3.0.0", "micromatch": "^4.0.2", "please-upgrade-node": "^3.1.1", "string-argv": "^0.3.0", "stringify-object": "^3.3.0" }, "devDependencies": { "@babel/core": "^7.5.5", "@babel/plugin-proposal-object-rest-spread": "^7.5.5", "@babel/preset-env": "^7.5.5", "babel-eslint": "^10.0.2", "babel-jest": "^24.8.0", "commitizen": "3.1.2", "consolemock": "^1.1.0", "cz-conventional-changelog": "2.1.0", "eslint": "^6.1.0", "eslint-config-okonet": "^7.0.2", "eslint-config-prettier": "^6.0.0", "eslint-plugin-flowtype": "^3.12.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-node": "^9.1.0", "eslint-plugin-prettier": "^3.1.0", "eslint-plugin-react": "^7.14.2", "fs-extra": "^8.1.0", "husky": "^3.0.1", "jest": "^24.8.0", "jest-snapshot-serializer-ansi": "^1.0.0", "jsonlint": "^1.6.3", "prettier": "1.18.2", "tmp": "0.1.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "jest": { "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.js" ], "setupFiles": [ "./testSetup.js" ], "snapshotSerializers": [ "jest-snapshot-serializer-ansi" ], "testEnvironment": "node" }, "keywords": [ "lint", "git", "staged", "eslint", "prettier", "stylelint", "code", "quality", "check", "format", "validate" ] }