UNPKG

5.25 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "13.8.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": "bin/stylelint.js",
27 "files": [
28 "bin",
29 "CONTRIBUTING.md",
30 "SECURITY.md",
31 "docs",
32 "lib",
33 "!**/__tests__",
34 "!lib/testUtils"
35 ],
36 "scripts": {
37 "benchmark-rule": "node scripts/benchmark-rule.js",
38 "format": "prettier . --write",
39 "jest": "jest",
40 "lint": "npm-run-all --parallel lint:*",
41 "lint:formatting": "prettier . --check",
42 "lint:js": "eslint . --cache --max-warnings=0",
43 "lint:md": "remark . --quiet --frail",
44 "lint:types": "tsc",
45 "release": "np",
46 "pretest": "npm run lint",
47 "test": "jest --coverage",
48 "watch": "jest --watch"
49 },
50 "husky": {
51 "hooks": {
52 "pre-commit": "lint-staged"
53 }
54 },
55 "lint-staged": {
56 "*.js": "eslint --cache --fix",
57 "*.{js,json,md,ts,yml}": "prettier --write"
58 },
59 "prettier": "@stylelint/prettier-config",
60 "eslintConfig": {
61 "extends": [
62 "stylelint"
63 ],
64 "globals": {
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/vendor/**/*.js",
80 "!lib/utils/parseCalcExpression/parser.js"
81 ],
82 "coverageDirectory": "./.coverage/",
83 "coverageReporters": [
84 "lcov",
85 "text-summary"
86 ],
87 "coverageThreshold": {
88 "global": {
89 "branches": 75,
90 "functions": 75,
91 "lines": 75,
92 "statements": 75
93 }
94 },
95 "moduleNameMapper": {
96 "^stylelint$": "<rootDir>/lib/index.js",
97 "stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
98 },
99 "preset": "jest-preset-stylelint",
100 "roots": [
101 "lib",
102 "system-tests"
103 ],
104 "testEnvironment": "node",
105 "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
106 "testRunner": "jest-circus/runner",
107 "watchPlugins": [
108 "jest-watch-typeahead/filename",
109 "jest-watch-typeahead/testname"
110 ]
111 },
112 "dependencies": {
113 "@stylelint/postcss-css-in-js": "^0.37.2",
114 "@stylelint/postcss-markdown": "^0.36.2",
115 "autoprefixer": "^9.8.6",
116 "balanced-match": "^1.0.0",
117 "chalk": "^4.1.0",
118 "cosmiconfig": "^7.0.0",
119 "debug": "^4.2.0",
120 "execall": "^2.0.0",
121 "fast-glob": "^3.2.4",
122 "fastest-levenshtein": "^1.0.12",
123 "file-entry-cache": "^6.0.0",
124 "get-stdin": "^8.0.0",
125 "global-modules": "^2.0.0",
126 "globby": "^11.0.1",
127 "globjoin": "^0.1.4",
128 "html-tags": "^3.1.0",
129 "ignore": "^5.1.8",
130 "import-lazy": "^4.0.0",
131 "imurmurhash": "^0.1.4",
132 "known-css-properties": "^0.20.0",
133 "lodash": "^4.17.20",
134 "log-symbols": "^4.0.0",
135 "mathml-tag-names": "^2.1.3",
136 "meow": "^8.0.0",
137 "micromatch": "^4.0.2",
138 "normalize-selector": "^0.2.0",
139 "postcss": "^7.0.35",
140 "postcss-html": "^0.36.0",
141 "postcss-less": "^3.1.4",
142 "postcss-media-query-parser": "^0.2.3",
143 "postcss-resolve-nested-selector": "^0.1.1",
144 "postcss-safe-parser": "^4.0.2",
145 "postcss-sass": "^0.4.4",
146 "postcss-scss": "^2.1.1",
147 "postcss-selector-parser": "^6.0.4",
148 "postcss-syntax": "^0.36.2",
149 "postcss-value-parser": "^4.1.0",
150 "resolve-from": "^5.0.0",
151 "slash": "^3.0.0",
152 "specificity": "^0.4.1",
153 "string-width": "^4.2.0",
154 "strip-ansi": "^6.0.0",
155 "style-search": "^0.1.0",
156 "sugarss": "^2.0.0",
157 "svg-tags": "^1.0.0",
158 "table": "^6.0.3",
159 "v8-compile-cache": "^2.2.0",
160 "write-file-atomic": "^3.0.3"
161 },
162 "devDependencies": {
163 "@stylelint/prettier-config": "^2.0.0",
164 "@stylelint/remark-preset": "^1.0.0",
165 "@types/balanced-match": "^1.0.1",
166 "@types/browserslist": "^4.8.0",
167 "@types/debug": "^4.1.5",
168 "@types/file-entry-cache": "^5.0.1",
169 "@types/global-modules": "^2.0.0",
170 "@types/globjoin": "^0.1.0",
171 "@types/imurmurhash": "^0.1.1",
172 "@types/lodash": "^4.14.165",
173 "@types/micromatch": "^4.0.1",
174 "@types/postcss-less": "^3.1.1",
175 "@types/postcss-safe-parser": "^4.0.0",
176 "@types/style-search": "^0.1.1",
177 "@types/svg-tags": "^1.0.0",
178 "@types/table": "^6.0.0",
179 "@types/write-file-atomic": "^3.0.1",
180 "benchmark": "^2.1.4",
181 "common-tags": "^1.8.0",
182 "del": "^6.0.0",
183 "eslint": "^7.13.0",
184 "eslint-config-stylelint": "^13.0.0",
185 "got": "^11.8.0",
186 "husky": "^4.3.0",
187 "jest": "^26.6.3",
188 "jest-circus": "^26.6.3",
189 "jest-preset-stylelint": "^3.0.0",
190 "jest-watch-typeahead": "^0.6.1",
191 "lint-staged": "^10.5.1",
192 "np": "^7.0.0",
193 "npm-run-all": "^4.1.5",
194 "postcss-import": "^12.0.1",
195 "prettier": "^2.1.2",
196 "remark-cli": "^9.0.0",
197 "typescript": "^4.0.5"
198 },
199 "engines": {
200 "node": ">=10.13.0"
201 }
202}