1 | {
|
2 | "name": "stylelint",
|
3 | "version": "14.3.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 | "types": "types/stylelint/index.d.ts",
|
27 | "bin": {
|
28 | "stylelint": "bin/stylelint.js"
|
29 | },
|
30 | "files": [
|
31 | "bin/**/*.js",
|
32 | "lib/**/*.js",
|
33 | "!**/__tests__/**",
|
34 | "!lib/testUtils/**",
|
35 | "types/stylelint/index.d.ts"
|
36 | ],
|
37 | "scripts": {
|
38 | "benchmark-rule": "node scripts/benchmark-rule.mjs",
|
39 | "format": "prettier . --write",
|
40 | "jest": "jest",
|
41 | "lint": "npm-run-all --parallel --continue-on-error lint:*",
|
42 | "lint:formatting": "prettier . --check",
|
43 | "lint:js": "eslint . --cache --max-warnings=0",
|
44 | "lint:md": "remark . --quiet --frail",
|
45 | "lint:types": "tsc",
|
46 | "prepare": "husky install",
|
47 | "release": "np",
|
48 | "pretest": "npm run lint",
|
49 | "test": "jest --coverage",
|
50 | "watch": "jest --watch"
|
51 | },
|
52 | "lint-staged": {
|
53 | "*.js": "eslint --cache --fix",
|
54 | "*.{js,json,md,ts,yml}": "prettier --write"
|
55 | },
|
56 | "prettier": "@stylelint/prettier-config",
|
57 | "eslintConfig": {
|
58 | "extends": [
|
59 | "stylelint"
|
60 | ],
|
61 | "globals": {
|
62 | "__dirname": true,
|
63 | "module": true,
|
64 | "require": true,
|
65 | "testRule": true
|
66 | },
|
67 | "root": true
|
68 | },
|
69 | "remarkConfig": {
|
70 | "plugins": [
|
71 | "@stylelint/remark-preset"
|
72 | ]
|
73 | },
|
74 | "jest": {
|
75 | "clearMocks": true,
|
76 | "collectCoverage": false,
|
77 | "collectCoverageFrom": [
|
78 | "lib/**/*.js",
|
79 | "!lib/**/{__tests__,testUtils}/**/*.js"
|
80 | ],
|
81 | "coverageDirectory": "./.coverage/",
|
82 | "coverageReporters": [
|
83 | "lcov",
|
84 | "text-summary"
|
85 | ],
|
86 | "coverageThreshold": {
|
87 | "global": {
|
88 | "branches": 75,
|
89 | "functions": 75,
|
90 | "lines": 75,
|
91 | "statements": 75
|
92 | }
|
93 | },
|
94 | "moduleNameMapper": {
|
95 | "^stylelint$": "<rootDir>/lib/index.js",
|
96 | "stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
|
97 | },
|
98 | "preset": "jest-preset-stylelint",
|
99 | "roots": [
|
100 | "lib",
|
101 | "system-tests"
|
102 | ],
|
103 | "testEnvironment": "node",
|
104 | "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
|
105 | "watchPlugins": [
|
106 | "jest-watch-typeahead/filename",
|
107 | "jest-watch-typeahead/testname"
|
108 | ]
|
109 | },
|
110 | "dependencies": {
|
111 | "balanced-match": "^2.0.0",
|
112 | "colord": "^2.9.2",
|
113 | "cosmiconfig": "^7.0.1",
|
114 | "debug": "^4.3.3",
|
115 | "execall": "^2.0.0",
|
116 | "fast-glob": "^3.2.11",
|
117 | "fastest-levenshtein": "^1.0.12",
|
118 | "file-entry-cache": "^6.0.1",
|
119 | "get-stdin": "^8.0.0",
|
120 | "global-modules": "^2.0.0",
|
121 | "globby": "^11.1.0",
|
122 | "globjoin": "^0.1.4",
|
123 | "html-tags": "^3.1.0",
|
124 | "ignore": "^5.2.0",
|
125 | "import-lazy": "^4.0.0",
|
126 | "imurmurhash": "^0.1.4",
|
127 | "is-plain-object": "^5.0.0",
|
128 | "known-css-properties": "^0.24.0",
|
129 | "mathml-tag-names": "^2.1.3",
|
130 | "meow": "^9.0.0",
|
131 | "micromatch": "^4.0.4",
|
132 | "normalize-path": "^3.0.0",
|
133 | "normalize-selector": "^0.2.0",
|
134 | "picocolors": "^1.0.0",
|
135 | "postcss": "^8.4.5",
|
136 | "postcss-media-query-parser": "^0.2.3",
|
137 | "postcss-resolve-nested-selector": "^0.1.1",
|
138 | "postcss-safe-parser": "^6.0.0",
|
139 | "postcss-selector-parser": "^6.0.9",
|
140 | "postcss-value-parser": "^4.2.0",
|
141 | "resolve-from": "^5.0.0",
|
142 | "specificity": "^0.4.1",
|
143 | "string-width": "^4.2.3",
|
144 | "strip-ansi": "^6.0.1",
|
145 | "style-search": "^0.1.0",
|
146 | "supports-hyperlinks": "^2.2.0",
|
147 | "svg-tags": "^1.0.0",
|
148 | "table": "^6.8.0",
|
149 | "v8-compile-cache": "^2.3.0",
|
150 | "write-file-atomic": "^4.0.0"
|
151 | },
|
152 | "devDependencies": {
|
153 | "@stylelint/prettier-config": "^2.0.0",
|
154 | "@stylelint/remark-preset": "^3.0.0",
|
155 | "@types/balanced-match": "^1.0.2",
|
156 | "@types/debug": "^4.1.7",
|
157 | "@types/file-entry-cache": "^5.0.2",
|
158 | "@types/global-modules": "^2.0.0",
|
159 | "@types/globjoin": "^0.1.0",
|
160 | "@types/imurmurhash": "^0.1.1",
|
161 | "@types/micromatch": "^4.0.2",
|
162 | "@types/normalize-path": "^3.0.0",
|
163 | "@types/postcss-less": "^4.0.2",
|
164 | "@types/postcss-safe-parser": "^5.0.1",
|
165 | "@types/style-search": "^0.1.3",
|
166 | "@types/svg-tags": "^1.0.0",
|
167 | "@types/write-file-atomic": "^3.0.3",
|
168 | "benchmark": "^2.1.4",
|
169 | "common-tags": "^1.8.2",
|
170 | "deepmerge": "^4.2.2",
|
171 | "eslint": "^8.7.0",
|
172 | "eslint-config-stylelint": "^15.0.0",
|
173 | "eslint-plugin-jest": "^25.7.0",
|
174 | "husky": "^7.0.4",
|
175 | "jest": "^27.4.7",
|
176 | "jest-preset-stylelint": "^4.2.0",
|
177 | "jest-watch-typeahead": "^1.0.0",
|
178 | "lint-staged": "^12.2.2",
|
179 | "node-fetch": "^3.2.0",
|
180 | "np": "^7.6.0",
|
181 | "npm-run-all": "^4.1.5",
|
182 | "postcss-html": "^1.3.0",
|
183 | "postcss-import": "^14.0.2",
|
184 | "postcss-less": "^6.0.0",
|
185 | "postcss-sass": "^0.5.0",
|
186 | "postcss-scss": "^4.0.3",
|
187 | "prettier": "2.5.1",
|
188 | "remark-cli": "^10.0.1",
|
189 | "sugarss": "^4.0.1",
|
190 | "typescript": "^4.5.5"
|
191 | },
|
192 | "engines": {
|
193 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
194 | }
|
195 | }
|