/
package.json
196 lines (196 loc) · 5.08 KB
/
package.json
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "stylelint",
"version": "14.8.1",
"description": "A mighty, modern CSS linter.",
"keywords": [
"css-in-js",
"css",
"less",
"lint",
"linter",
"markdown",
"sass",
"scss",
"stylelint",
"sugarss"
],
"homepage": "https://stylelint.io",
"repository": "stylelint/stylelint",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/stylelint"
},
"license": "MIT",
"author": "stylelint",
"main": "lib/index.js",
"types": "types/stylelint/index.d.ts",
"bin": {
"stylelint": "bin/stylelint.js"
},
"files": [
"bin/**/*.js",
"lib/**/*.js",
"!**/__tests__/**",
"!lib/testUtils/**",
"types/stylelint/index.d.ts"
],
"scripts": {
"benchmark-rule": "node scripts/benchmark-rule.mjs",
"format": "prettier . --write",
"jest": "jest",
"lint": "npm-run-all --parallel --continue-on-error lint:*",
"lint:formatting": "prettier . --check",
"lint:js": "eslint . --cache --max-warnings=0",
"lint:md": "remark . --quiet --frail",
"lint:types": "tsc",
"prepare": "husky install",
"release": "np",
"pretest": "npm run lint",
"test": "jest --coverage",
"watch": "jest --watch"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,json,md,ts,yml}": "prettier --write"
},
"prettier": "@stylelint/prettier-config",
"eslintConfig": {
"extends": [
"stylelint"
],
"globals": {
"__dirname": true,
"module": true,
"require": true,
"testRule": true
},
"root": true
},
"remarkConfig": {
"plugins": [
"@stylelint/remark-preset"
]
},
"jest": {
"clearMocks": true,
"collectCoverage": false,
"collectCoverageFrom": [
"lib/**/*.js",
"!lib/**/{__tests__,testUtils}/**/*.js"
],
"coverageDirectory": "./.coverage/",
"coverageReporters": [
"lcov",
"text-summary"
],
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
},
"moduleNameMapper": {
"^stylelint$": "<rootDir>/lib/index.js",
"stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
},
"preset": "jest-preset-stylelint",
"roots": [
"lib",
"system-tests"
],
"testEnvironment": "node",
"testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"dependencies": {
"balanced-match": "^2.0.0",
"colord": "^2.9.2",
"cosmiconfig": "^7.0.1",
"css-functions-list": "^3.0.1",
"debug": "^4.3.4",
"execall": "^2.0.0",
"fast-glob": "^3.2.11",
"fastest-levenshtein": "^1.0.12",
"file-entry-cache": "^6.0.1",
"get-stdin": "^8.0.0",
"global-modules": "^2.0.0",
"globby": "^11.1.0",
"globjoin": "^0.1.4",
"html-tags": "^3.2.0",
"ignore": "^5.2.0",
"import-lazy": "^4.0.0",
"imurmurhash": "^0.1.4",
"is-plain-object": "^5.0.0",
"known-css-properties": "^0.25.0",
"mathml-tag-names": "^2.1.3",
"meow": "^9.0.0",
"micromatch": "^4.0.5",
"normalize-path": "^3.0.0",
"normalize-selector": "^0.2.0",
"picocolors": "^1.0.0",
"postcss": "^8.4.13",
"postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1",
"postcss-safe-parser": "^6.0.0",
"postcss-selector-parser": "^6.0.10",
"postcss-value-parser": "^4.2.0",
"resolve-from": "^5.0.0",
"specificity": "^0.4.1",
"string-width": "^4.2.3",
"strip-ansi": "^6.0.1",
"style-search": "^0.1.0",
"supports-hyperlinks": "^2.2.0",
"svg-tags": "^1.0.0",
"table": "^6.8.0",
"v8-compile-cache": "^2.3.0",
"write-file-atomic": "^4.0.1"
},
"devDependencies": {
"@stylelint/prettier-config": "^2.0.0",
"@stylelint/remark-preset": "^3.0.0",
"@types/balanced-match": "^1.0.2",
"@types/debug": "^4.1.7",
"@types/file-entry-cache": "^5.0.2",
"@types/global-modules": "^2.0.0",
"@types/globjoin": "^0.1.0",
"@types/imurmurhash": "^0.1.1",
"@types/micromatch": "^4.0.2",
"@types/normalize-path": "^3.0.0",
"@types/postcss-less": "^4.0.2",
"@types/postcss-safe-parser": "^5.0.1",
"@types/style-search": "^0.1.3",
"@types/svg-tags": "^1.0.0",
"@types/write-file-atomic": "^4.0.0",
"benchmark": "^2.1.4",
"common-tags": "^1.8.2",
"deepmerge": "^4.2.2",
"eslint": "^8.14.0",
"eslint-config-stylelint": "^15.0.0",
"eslint-plugin-jest": "^26.1.5",
"husky": "^7.0.4",
"jest": "^27.5.1",
"jest-preset-stylelint": "^5.0.3",
"jest-watch-typeahead": "^1.1.0",
"lint-staged": "^12.4.1",
"node-fetch": "^3.2.4",
"np": "^7.6.1",
"npm-run-all": "^4.1.5",
"postcss-html": "^1.4.1",
"postcss-import": "^14.1.0",
"postcss-less": "^6.0.0",
"postcss-sass": "^0.5.0",
"postcss-scss": "^4.0.4",
"prettier": "2.6.2",
"remark-cli": "^10.0.1",
"sugarss": "^4.0.1",
"typescript": "^4.6.3"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
}