UNPKG

5.01 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "14.0.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.js",
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/vendor/**/*.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 "cosmiconfig": "^7.0.1",
113 "debug": "^4.3.2",
114 "execall": "^2.0.0",
115 "fast-glob": "^3.2.7",
116 "fastest-levenshtein": "^1.0.12",
117 "file-entry-cache": "^6.0.1",
118 "get-stdin": "^8.0.0",
119 "global-modules": "^2.0.0",
120 "globby": "^11.0.4",
121 "globjoin": "^0.1.4",
122 "html-tags": "^3.1.0",
123 "ignore": "^5.1.8",
124 "import-lazy": "^4.0.0",
125 "imurmurhash": "^0.1.4",
126 "is-plain-object": "^5.0.0",
127 "known-css-properties": "^0.23.0",
128 "mathml-tag-names": "^2.1.3",
129 "meow": "^9.0.0",
130 "micromatch": "^4.0.4",
131 "normalize-path": "^3.0.0",
132 "normalize-selector": "^0.2.0",
133 "picocolors": "^1.0.0",
134 "postcss": "^8.3.11",
135 "postcss-media-query-parser": "^0.2.3",
136 "postcss-resolve-nested-selector": "^0.1.1",
137 "postcss-safe-parser": "^6.0.0",
138 "postcss-selector-parser": "^6.0.6",
139 "postcss-value-parser": "^4.1.0",
140 "resolve-from": "^5.0.0",
141 "specificity": "^0.4.1",
142 "string-width": "^4.2.3",
143 "strip-ansi": "^6.0.1",
144 "style-search": "^0.1.0",
145 "svg-tags": "^1.0.0",
146 "table": "^6.7.2",
147 "v8-compile-cache": "^2.3.0",
148 "write-file-atomic": "^3.0.3"
149 },
150 "devDependencies": {
151 "@stylelint/prettier-config": "^2.0.0",
152 "@stylelint/remark-preset": "^3.0.0",
153 "@types/balanced-match": "^1.0.1",
154 "@types/debug": "^4.1.7",
155 "@types/file-entry-cache": "^5.0.2",
156 "@types/global-modules": "^2.0.0",
157 "@types/globjoin": "^0.1.0",
158 "@types/imurmurhash": "^0.1.1",
159 "@types/micromatch": "^4.0.2",
160 "@types/normalize-path": "^3.0.0",
161 "@types/postcss-less": "^4.0.1",
162 "@types/postcss-safe-parser": "^5.0.0",
163 "@types/style-search": "^0.1.3",
164 "@types/svg-tags": "^1.0.0",
165 "@types/write-file-atomic": "^3.0.2",
166 "benchmark": "^2.1.4",
167 "common-tags": "^1.8.0",
168 "deepmerge": "^4.2.2",
169 "eslint": "^7.32.0",
170 "eslint-config-stylelint": "^14.0.0",
171 "got": "^11.8.2",
172 "husky": "^7.0.4",
173 "jest": "^27.3.1",
174 "jest-preset-stylelint": "^4.1.1",
175 "jest-watch-typeahead": "^1.0.0",
176 "lint-staged": "^11.2.4",
177 "np": "^7.5.0",
178 "npm-run-all": "^4.1.5",
179 "postcss-import": "^14.0.2",
180 "postcss-less": "^5.0.0",
181 "postcss-sass": "^0.5.0",
182 "postcss-scss": "^4.0.1",
183 "prettier": "2.4.1",
184 "remark-cli": "^10.0.0",
185 "sugarss": "^4.0.1",
186 "typescript": "^4.4.4"
187 },
188 "engines": {
189 "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
190 }
191}