1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
| {
| "_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"
| }
|
|