1 | {
|
2 | "name": "stylelint",
|
3 | "version": "13.12.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 | "_postinstall": "is-ci || husky install",
|
42 | "jest": "jest",
|
43 | "lint": "npm-run-all --parallel lint:*",
|
44 | "lint:formatting": "prettier . --check",
|
45 | "lint:js": "eslint . --cache --max-warnings=0",
|
46 | "lint:md": "remark . --quiet --frail",
|
47 | "lint:types": "tsc",
|
48 | "prepublishOnly": "pinst --disable",
|
49 | "postpublish": "pinst --enable",
|
50 | "release": "np",
|
51 | "pretest": "npm run lint",
|
52 | "test": "jest --coverage",
|
53 | "watch": "jest --watch"
|
54 | },
|
55 | "husky": {
|
56 | "hooks": {
|
57 | "pre-commit": "lint-staged"
|
58 | }
|
59 | },
|
60 | "lint-staged": {
|
61 | "*.js": "eslint --cache --fix",
|
62 | "*.{js,json,md,ts,yml}": "prettier --write"
|
63 | },
|
64 | "prettier": "@stylelint/prettier-config",
|
65 | "eslintConfig": {
|
66 | "extends": [
|
67 | "stylelint"
|
68 | ],
|
69 | "globals": {
|
70 | "testRule": true
|
71 | },
|
72 | "root": true
|
73 | },
|
74 | "remarkConfig": {
|
75 | "plugins": [
|
76 | "@stylelint/remark-preset"
|
77 | ]
|
78 | },
|
79 | "jest": {
|
80 | "clearMocks": true,
|
81 | "collectCoverage": false,
|
82 | "collectCoverageFrom": [
|
83 | "lib/**/*.js",
|
84 | "!lib/vendor/**/*.js",
|
85 | "!lib/utils/parseCalcExpression/parser.js"
|
86 | ],
|
87 | "coverageDirectory": "./.coverage/",
|
88 | "coverageReporters": [
|
89 | "lcov",
|
90 | "text-summary"
|
91 | ],
|
92 | "coverageThreshold": {
|
93 | "global": {
|
94 | "branches": 75,
|
95 | "functions": 75,
|
96 | "lines": 75,
|
97 | "statements": 75
|
98 | }
|
99 | },
|
100 | "moduleNameMapper": {
|
101 | "^stylelint$": "<rootDir>/lib/index.js",
|
102 | "stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
|
103 | },
|
104 | "preset": "jest-preset-stylelint",
|
105 | "roots": [
|
106 | "lib",
|
107 | "system-tests"
|
108 | ],
|
109 | "testEnvironment": "node",
|
110 | "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
|
111 | "testRunner": "jest-circus/runner",
|
112 | "watchPlugins": [
|
113 | "jest-watch-typeahead/filename",
|
114 | "jest-watch-typeahead/testname"
|
115 | ]
|
116 | },
|
117 | "dependencies": {
|
118 | "@stylelint/postcss-css-in-js": "^0.37.2",
|
119 | "@stylelint/postcss-markdown": "^0.36.2",
|
120 | "autoprefixer": "^9.8.6",
|
121 | "balanced-match": "^1.0.0",
|
122 | "chalk": "^4.1.0",
|
123 | "cosmiconfig": "^7.0.0",
|
124 | "debug": "^4.3.1",
|
125 | "execall": "^2.0.0",
|
126 | "fast-glob": "^3.2.5",
|
127 | "fastest-levenshtein": "^1.0.12",
|
128 | "file-entry-cache": "^6.0.1",
|
129 | "get-stdin": "^8.0.0",
|
130 | "global-modules": "^2.0.0",
|
131 | "globby": "^11.0.2",
|
132 | "globjoin": "^0.1.4",
|
133 | "html-tags": "^3.1.0",
|
134 | "ignore": "^5.1.8",
|
135 | "import-lazy": "^4.0.0",
|
136 | "imurmurhash": "^0.1.4",
|
137 | "known-css-properties": "^0.21.0",
|
138 | "lodash": "^4.17.21",
|
139 | "log-symbols": "^4.0.0",
|
140 | "mathml-tag-names": "^2.1.3",
|
141 | "meow": "^9.0.0",
|
142 | "micromatch": "^4.0.2",
|
143 | "normalize-selector": "^0.2.0",
|
144 | "postcss": "^7.0.35",
|
145 | "postcss-html": "^0.36.0",
|
146 | "postcss-less": "^3.1.4",
|
147 | "postcss-media-query-parser": "^0.2.3",
|
148 | "postcss-resolve-nested-selector": "^0.1.1",
|
149 | "postcss-safe-parser": "^4.0.2",
|
150 | "postcss-sass": "^0.4.4",
|
151 | "postcss-scss": "^2.1.1",
|
152 | "postcss-selector-parser": "^6.0.4",
|
153 | "postcss-syntax": "^0.36.2",
|
154 | "postcss-value-parser": "^4.1.0",
|
155 | "resolve-from": "^5.0.0",
|
156 | "slash": "^3.0.0",
|
157 | "specificity": "^0.4.1",
|
158 | "string-width": "^4.2.2",
|
159 | "strip-ansi": "^6.0.0",
|
160 | "style-search": "^0.1.0",
|
161 | "sugarss": "^2.0.0",
|
162 | "svg-tags": "^1.0.0",
|
163 | "table": "^6.0.7",
|
164 | "v8-compile-cache": "^2.2.0",
|
165 | "write-file-atomic": "^3.0.3"
|
166 | },
|
167 | "devDependencies": {
|
168 | "@stylelint/prettier-config": "^2.0.0",
|
169 | "@stylelint/remark-preset": "^2.0.0",
|
170 | "@types/balanced-match": "^1.0.1",
|
171 | "@types/debug": "^4.1.5",
|
172 | "@types/file-entry-cache": "^5.0.1",
|
173 | "@types/global-modules": "^2.0.0",
|
174 | "@types/globjoin": "^0.1.0",
|
175 | "@types/imurmurhash": "^0.1.1",
|
176 | "@types/lodash": "^4.14.168",
|
177 | "@types/micromatch": "^4.0.1",
|
178 | "@types/postcss-less": "^3.1.1",
|
179 | "@types/postcss-safe-parser": "^4.0.0",
|
180 | "@types/style-search": "^0.1.1",
|
181 | "@types/svg-tags": "^1.0.0",
|
182 | "@types/table": "^6.0.0",
|
183 | "@types/write-file-atomic": "^3.0.1",
|
184 | "benchmark": "^2.1.4",
|
185 | "common-tags": "^1.8.0",
|
186 | "del": "^6.0.0",
|
187 | "eslint": "^7.21.0",
|
188 | "eslint-config-stylelint": "^13.1.0",
|
189 | "got": "^11.8.2",
|
190 | "husky": "^5.1.2",
|
191 | "is-ci": "^3.0.0",
|
192 | "jest": "^26.6.3",
|
193 | "jest-circus": "^26.6.3",
|
194 | "jest-preset-stylelint": "^3.0.0",
|
195 | "jest-watch-typeahead": "^0.6.1",
|
196 | "lint-staged": "^10.5.4",
|
197 | "np": "^7.4.0",
|
198 | "npm-run-all": "^4.1.5",
|
199 | "pinst": "^2.1.6",
|
200 | "postcss-import": "^12.0.1",
|
201 | "prettier": "^2.2.1",
|
202 | "remark-cli": "^9.0.0",
|
203 | "typescript": "^4.2.2"
|
204 | },
|
205 | "engines": {
|
206 | "node": ">=10.13.0"
|
207 | }
|
208 | }
|