UNPKG

2.59 kBJSONView Raw
1{
2 "name": "lint-staged",
3 "version": "10.0.9",
4 "description": "Lint files staged by git",
5 "license": "MIT",
6 "repository": "https://github.com/okonet/lint-staged",
7 "author": "Andrey Okonetchnikov <andrey@okonet.ru>",
8 "maintainers": [
9 "Lufty Wiranda <lufty.wiranda@gmail.com>",
10 "Suhas Karanth <sudo.suhas@gmail.com>",
11 "Iiro Jäppinen <iiro@jappinen.fi> (https://iiro.fi)"
12 ],
13 "funding": {
14 "url": "https://opencollective.com/lint-staged"
15 },
16 "bin": "./bin/lint-staged.js",
17 "main": "./lib/index.js",
18 "files": [
19 "bin",
20 "lib"
21 ],
22 "scripts": {
23 "cz": "git-cz",
24 "lint:base": "eslint --rule \"prettier/prettier: 2\"",
25 "lint": "npm run lint:base -- .",
26 "lint:fix": "npm run lint -- --fix",
27 "pretest": "npm run lint",
28 "test": "jest --coverage",
29 "test:watch": "jest --watch"
30 },
31 "husky": {
32 "hooks": {
33 "pre-commit": "./bin/lint-staged.js"
34 }
35 },
36 "dependencies": {
37 "chalk": "^3.0.0",
38 "commander": "^4.0.1",
39 "cosmiconfig": "^6.0.0",
40 "debug": "^4.1.1",
41 "dedent": "^0.7.0",
42 "execa": "^3.4.0",
43 "listr": "^0.14.3",
44 "log-symbols": "^3.0.0",
45 "micromatch": "^4.0.2",
46 "normalize-path": "^3.0.0",
47 "please-upgrade-node": "^3.2.0",
48 "string-argv": "0.3.1",
49 "stringify-object": "^3.3.0"
50 },
51 "devDependencies": {
52 "@babel/core": "^7.7.4",
53 "@babel/plugin-proposal-object-rest-spread": "^7.7.4",
54 "@babel/preset-env": "^7.7.4",
55 "babel-eslint": "^10.0.3",
56 "babel-jest": "^24.9.0",
57 "consolemock": "^1.1.0",
58 "eslint": "^6.7.2",
59 "eslint-config-okonet": "^7.0.2",
60 "eslint-config-prettier": "^6.7.0",
61 "eslint-plugin-flowtype": "^4.5.2",
62 "eslint-plugin-import": "^2.18.2",
63 "eslint-plugin-jsx-a11y": "^6.2.3",
64 "eslint-plugin-node": "^10.0.0",
65 "eslint-plugin-prettier": "^3.1.1",
66 "eslint-plugin-react": "^7.17.0",
67 "fs-extra": "^8.1.0",
68 "husky": "^3.1.0",
69 "jest": "^24.9.0",
70 "jest-snapshot-serializer-ansi": "^1.0.0",
71 "nanoid": "^2.1.7",
72 "prettier": "^1.19.1"
73 },
74 "config": {
75 "commitizen": {
76 "path": "./node_modules/cz-conventional-changelog"
77 }
78 },
79 "jest": {
80 "collectCoverage": true,
81 "collectCoverageFrom": [
82 "lib/**/*.js"
83 ],
84 "setupFiles": [
85 "./testSetup.js"
86 ],
87 "snapshotSerializers": [
88 "jest-snapshot-serializer-ansi"
89 ],
90 "testEnvironment": "node"
91 },
92 "keywords": [
93 "lint",
94 "git",
95 "staged",
96 "eslint",
97 "prettier",
98 "stylelint",
99 "code",
100 "quality",
101 "check",
102 "format",
103 "validate"
104 ]
105}