UNPKG

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