UNPKG

5.2 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "14.5.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 "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 "css-functions-list": "^3.0.1",
115 "debug": "^4.3.3",
116 "execall": "^2.0.0",
117 "fast-glob": "^3.2.11",
118 "fastest-levenshtein": "^1.0.12",
119 "file-entry-cache": "^6.0.1",
120 "get-stdin": "^8.0.0",
121 "global-modules": "^2.0.0",
122 "globby": "^11.1.0",
123 "globjoin": "^0.1.4",
124 "html-tags": "^3.1.0",
125 "ignore": "^5.2.0",
126 "import-lazy": "^4.0.0",
127 "imurmurhash": "^0.1.4",
128 "is-plain-object": "^5.0.0",
129 "known-css-properties": "^0.24.0",
130 "mathml-tag-names": "^2.1.3",
131 "meow": "^9.0.0",
132 "micromatch": "^4.0.4",
133 "normalize-path": "^3.0.0",
134 "normalize-selector": "^0.2.0",
135 "picocolors": "^1.0.0",
136 "postcss": "^8.4.6",
137 "postcss-media-query-parser": "^0.2.3",
138 "postcss-resolve-nested-selector": "^0.1.1",
139 "postcss-safe-parser": "^6.0.0",
140 "postcss-selector-parser": "^6.0.9",
141 "postcss-value-parser": "^4.2.0",
142 "resolve-from": "^5.0.0",
143 "specificity": "^0.4.1",
144 "string-width": "^4.2.3",
145 "strip-ansi": "^6.0.1",
146 "style-search": "^0.1.0",
147 "supports-hyperlinks": "^2.2.0",
148 "svg-tags": "^1.0.0",
149 "table": "^6.8.0",
150 "v8-compile-cache": "^2.3.0",
151 "write-file-atomic": "^4.0.1"
152 },
153 "devDependencies": {
154 "@stylelint/prettier-config": "^2.0.0",
155 "@stylelint/remark-preset": "^3.0.0",
156 "@types/balanced-match": "^1.0.2",
157 "@types/debug": "^4.1.7",
158 "@types/file-entry-cache": "^5.0.2",
159 "@types/global-modules": "^2.0.0",
160 "@types/globjoin": "^0.1.0",
161 "@types/imurmurhash": "^0.1.1",
162 "@types/micromatch": "^4.0.2",
163 "@types/normalize-path": "^3.0.0",
164 "@types/postcss-less": "^4.0.2",
165 "@types/postcss-safe-parser": "^5.0.1",
166 "@types/style-search": "^0.1.3",
167 "@types/svg-tags": "^1.0.0",
168 "@types/write-file-atomic": "^4.0.0",
169 "benchmark": "^2.1.4",
170 "common-tags": "^1.8.2",
171 "deepmerge": "^4.2.2",
172 "eslint": "^8.9.0",
173 "eslint-config-stylelint": "^15.0.0",
174 "eslint-plugin-jest": "^26.1.0",
175 "husky": "^7.0.4",
176 "jest": "^27.5.1",
177 "jest-preset-stylelint": "^4.2.0",
178 "jest-watch-typeahead": "^1.0.0",
179 "lint-staged": "^12.3.4",
180 "node-fetch": "^3.2.0",
181 "np": "^7.6.0",
182 "npm-run-all": "^4.1.5",
183 "postcss-html": "^1.3.0",
184 "postcss-import": "^14.0.2",
185 "postcss-less": "^6.0.0",
186 "postcss-sass": "^0.5.0",
187 "postcss-scss": "^4.0.3",
188 "prettier": "2.5.1",
189 "remark-cli": "^10.0.1",
190 "sugarss": "^4.0.1",
191 "typescript": "^4.5.5"
192 },
193 "engines": {
194 "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
195 }
196}