UNPKG

5.27 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "13.10.0",
4 "description": "A mighty, modern CSS linter.",
5 "keywords": [
6 "css-in-js",
7 "css",
8 "less",
9 "lint",
10 "linter",
11 "markdown",
12 "sass",
13 "scss",
14 "stylelint",
15 "sugarss"
16 ],
17 "homepage": "https://stylelint.io",
18 "repository": "stylelint/stylelint",
19 "funding": {
20 "type": "opencollective",
21 "url": "https://opencollective.com/stylelint"
22 },
23 "license": "MIT",
24 "author": "stylelint",
25 "main": "lib/index.js",
26 "bin": {
27 "stylelint": "bin/stylelint.js"
28 },
29 "files": [
30 "bin",
31 "CONTRIBUTING.md",
32 "SECURITY.md",
33 "docs",
34 "lib",
35 "!**/__tests__",
36 "!lib/testUtils"
37 ],
38 "scripts": {
39 "benchmark-rule": "node scripts/benchmark-rule.js",
40 "format": "prettier . --write",
41 "jest": "jest",
42 "lint": "npm-run-all --parallel lint:*",
43 "lint:formatting": "prettier . --check",
44 "lint:js": "eslint . --cache --max-warnings=0",
45 "lint:md": "remark . --quiet --frail",
46 "lint:types": "tsc",
47 "release": "np",
48 "pretest": "npm run lint",
49 "test": "jest --coverage",
50 "watch": "jest --watch"
51 },
52 "husky": {
53 "hooks": {
54 "pre-commit": "lint-staged"
55 }
56 },
57 "lint-staged": {
58 "*.js": "eslint --cache --fix",
59 "*.{js,json,md,ts,yml}": "prettier --write"
60 },
61 "prettier": "@stylelint/prettier-config",
62 "eslintConfig": {
63 "extends": [
64 "stylelint"
65 ],
66 "globals": {
67 "testRule": true
68 },
69 "root": true
70 },
71 "remarkConfig": {
72 "plugins": [
73 "@stylelint/remark-preset"
74 ]
75 },
76 "jest": {
77 "clearMocks": true,
78 "collectCoverage": false,
79 "collectCoverageFrom": [
80 "lib/**/*.js",
81 "!lib/vendor/**/*.js",
82 "!lib/utils/parseCalcExpression/parser.js"
83 ],
84 "coverageDirectory": "./.coverage/",
85 "coverageReporters": [
86 "lcov",
87 "text-summary"
88 ],
89 "coverageThreshold": {
90 "global": {
91 "branches": 75,
92 "functions": 75,
93 "lines": 75,
94 "statements": 75
95 }
96 },
97 "moduleNameMapper": {
98 "^stylelint$": "<rootDir>/lib/index.js",
99 "stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
100 },
101 "preset": "jest-preset-stylelint",
102 "roots": [
103 "lib",
104 "system-tests"
105 ],
106 "testEnvironment": "node",
107 "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
108 "testRunner": "jest-circus/runner",
109 "watchPlugins": [
110 "jest-watch-typeahead/filename",
111 "jest-watch-typeahead/testname"
112 ]
113 },
114 "dependencies": {
115 "@stylelint/postcss-css-in-js": "^0.37.2",
116 "@stylelint/postcss-markdown": "^0.36.2",
117 "autoprefixer": "^9.8.6",
118 "balanced-match": "^1.0.0",
119 "chalk": "^4.1.0",
120 "cosmiconfig": "^7.0.0",
121 "debug": "^4.3.1",
122 "execall": "^2.0.0",
123 "fast-glob": "^3.2.5",
124 "fastest-levenshtein": "^1.0.12",
125 "file-entry-cache": "^6.0.0",
126 "get-stdin": "^8.0.0",
127 "global-modules": "^2.0.0",
128 "globby": "^11.0.2",
129 "globjoin": "^0.1.4",
130 "html-tags": "^3.1.0",
131 "ignore": "^5.1.8",
132 "import-lazy": "^4.0.0",
133 "imurmurhash": "^0.1.4",
134 "known-css-properties": "^0.21.0",
135 "lodash": "^4.17.20",
136 "log-symbols": "^4.0.0",
137 "mathml-tag-names": "^2.1.3",
138 "meow": "^9.0.0",
139 "micromatch": "^4.0.2",
140 "normalize-selector": "^0.2.0",
141 "postcss": "^7.0.35",
142 "postcss-html": "^0.36.0",
143 "postcss-less": "^3.1.4",
144 "postcss-media-query-parser": "^0.2.3",
145 "postcss-resolve-nested-selector": "^0.1.1",
146 "postcss-safe-parser": "^4.0.2",
147 "postcss-sass": "^0.4.4",
148 "postcss-scss": "^2.1.1",
149 "postcss-selector-parser": "^6.0.4",
150 "postcss-syntax": "^0.36.2",
151 "postcss-value-parser": "^4.1.0",
152 "resolve-from": "^5.0.0",
153 "slash": "^3.0.0",
154 "specificity": "^0.4.1",
155 "string-width": "^4.2.0",
156 "strip-ansi": "^6.0.0",
157 "style-search": "^0.1.0",
158 "sugarss": "^2.0.0",
159 "svg-tags": "^1.0.0",
160 "table": "^6.0.7",
161 "v8-compile-cache": "^2.2.0",
162 "write-file-atomic": "^3.0.3"
163 },
164 "devDependencies": {
165 "@stylelint/prettier-config": "^2.0.0",
166 "@stylelint/remark-preset": "^1.0.0",
167 "@types/balanced-match": "^1.0.1",
168 "@types/browserslist": "^4.8.0",
169 "@types/debug": "^4.1.5",
170 "@types/file-entry-cache": "^5.0.1",
171 "@types/global-modules": "^2.0.0",
172 "@types/globjoin": "^0.1.0",
173 "@types/imurmurhash": "^0.1.1",
174 "@types/lodash": "^4.14.168",
175 "@types/micromatch": "^4.0.1",
176 "@types/postcss-less": "^3.1.1",
177 "@types/postcss-safe-parser": "^4.0.0",
178 "@types/style-search": "^0.1.1",
179 "@types/svg-tags": "^1.0.0",
180 "@types/table": "^6.0.0",
181 "@types/write-file-atomic": "^3.0.1",
182 "benchmark": "^2.1.4",
183 "common-tags": "^1.8.0",
184 "del": "^6.0.0",
185 "eslint": "^7.19.0",
186 "eslint-config-stylelint": "^13.1.0",
187 "got": "^11.8.1",
188 "husky": "^4.3.8",
189 "jest": "^26.6.3",
190 "jest-circus": "^26.6.3",
191 "jest-preset-stylelint": "^3.0.0",
192 "jest-watch-typeahead": "^0.6.1",
193 "lint-staged": "^10.5.4",
194 "np": "^7.3.0",
195 "npm-run-all": "^4.1.5",
196 "postcss-import": "^12.0.1",
197 "prettier": "^2.2.1",
198 "remark-cli": "^9.0.0",
199 "typescript": "^4.1.3"
200 },
201 "engines": {
202 "node": ">=10.13.0"
203 }
204}