UNPKG

5.1 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "14.0.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 "types": "types/stylelint/index.d.ts",
30 "files": [
31 "bin",
32 "CHANGELOG.md",
33 "CONTRIBUTING.md",
34 "SECURITY.md",
35 "docs",
36 "lib",
37 "!**/__tests__",
38 "!lib/testUtils",
39 "types/stylelint/index.d.ts"
40 ],
41 "scripts": {
42 "benchmark-rule": "node scripts/benchmark-rule.js",
43 "format": "prettier . --write",
44 "jest": "jest",
45 "lint": "npm-run-all --parallel --continue-on-error lint:*",
46 "lint:formatting": "prettier . --check",
47 "lint:js": "eslint . --cache --max-warnings=0",
48 "lint:md": "remark . --quiet --frail",
49 "lint:types": "tsc",
50 "prepare": "husky install",
51 "release": "np",
52 "pretest": "npm run lint",
53 "test": "jest --coverage",
54 "watch": "jest --watch"
55 },
56 "lint-staged": {
57 "*.js": "eslint --cache --fix",
58 "*.{js,json,md,ts,yml}": "prettier --write"
59 },
60 "prettier": "@stylelint/prettier-config",
61 "eslintConfig": {
62 "extends": [
63 "stylelint"
64 ],
65 "globals": {
66 "__dirname": true,
67 "module": true,
68 "require": true,
69 "testRule": true
70 },
71 "root": true
72 },
73 "remarkConfig": {
74 "plugins": [
75 "@stylelint/remark-preset"
76 ]
77 },
78 "jest": {
79 "clearMocks": true,
80 "collectCoverage": false,
81 "collectCoverageFrom": [
82 "lib/**/*.js",
83 "!lib/vendor/**/*.js"
84 ],
85 "coverageDirectory": "./.coverage/",
86 "coverageReporters": [
87 "lcov",
88 "text-summary"
89 ],
90 "coverageThreshold": {
91 "global": {
92 "branches": 75,
93 "functions": 75,
94 "lines": 75,
95 "statements": 75
96 }
97 },
98 "moduleNameMapper": {
99 "^stylelint$": "<rootDir>/lib/index.js",
100 "stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
101 },
102 "preset": "jest-preset-stylelint",
103 "roots": [
104 "lib",
105 "system-tests"
106 ],
107 "testEnvironment": "node",
108 "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
109 "watchPlugins": [
110 "jest-watch-typeahead/filename",
111 "jest-watch-typeahead/testname"
112 ]
113 },
114 "dependencies": {
115 "balanced-match": "^2.0.0",
116 "cosmiconfig": "^7.0.1",
117 "debug": "^4.3.2",
118 "execall": "^2.0.0",
119 "fast-glob": "^3.2.7",
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 "is-plain-object": "^5.0.0",
131 "known-css-properties": "^0.23.0",
132 "mathml-tag-names": "^2.1.3",
133 "meow": "^9.0.0",
134 "micromatch": "^4.0.4",
135 "normalize-path": "^3.0.0",
136 "normalize-selector": "^0.2.0",
137 "picocolors": "^1.0.0",
138 "postcss": "^8.3.11",
139 "postcss-media-query-parser": "^0.2.3",
140 "postcss-resolve-nested-selector": "^0.1.1",
141 "postcss-safe-parser": "^6.0.0",
142 "postcss-selector-parser": "^6.0.6",
143 "postcss-value-parser": "^4.1.0",
144 "resolve-from": "^5.0.0",
145 "specificity": "^0.4.1",
146 "string-width": "^4.2.2",
147 "strip-ansi": "^6.0.0",
148 "style-search": "^0.1.0",
149 "svg-tags": "^1.0.0",
150 "table": "^6.7.2",
151 "v8-compile-cache": "^2.3.0",
152 "write-file-atomic": "^3.0.3"
153 },
154 "devDependencies": {
155 "@stylelint/prettier-config": "^2.0.0",
156 "@stylelint/remark-preset": "^3.0.0",
157 "@types/balanced-match": "^1.0.1",
158 "@types/debug": "^4.1.7",
159 "@types/file-entry-cache": "^5.0.2",
160 "@types/global-modules": "^2.0.0",
161 "@types/globjoin": "^0.1.0",
162 "@types/imurmurhash": "^0.1.1",
163 "@types/jest": "^27.0.2",
164 "@types/micromatch": "^4.0.2",
165 "@types/normalize-path": "^3.0.0",
166 "@types/postcss-less": "^4.0.1",
167 "@types/postcss-safe-parser": "^5.0.0",
168 "@types/style-search": "^0.1.3",
169 "@types/svg-tags": "^1.0.0",
170 "@types/write-file-atomic": "^3.0.2",
171 "benchmark": "^2.1.4",
172 "common-tags": "^1.8.0",
173 "deepmerge": "^4.2.2",
174 "eslint": "^7.32.0",
175 "eslint-config-stylelint": "^14.0.0",
176 "got": "^11.8.2",
177 "husky": "^7.0.4",
178 "jest": "^27.3.1",
179 "jest-preset-stylelint": "^4.1.1",
180 "jest-watch-typeahead": "^1.0.0",
181 "lint-staged": "^11.2.3",
182 "np": "^7.5.0",
183 "npm-run-all": "^4.1.5",
184 "postcss-import": "^14.0.2",
185 "postcss-less": "^5.0.0",
186 "postcss-sass": "^0.5.0",
187 "postcss-scss": "^4.0.1",
188 "prettier": "2.4.1",
189 "remark-cli": "^10.0.0",
190 "sugarss": "^4.0.1",
191 "typescript": "^4.4.4"
192 },
193 "engines": {
194 "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
195 }
196}