UNPKG

5.59 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "12.0.0",
4 "description": "A mighty, modern CSS linter.",
5 "keywords": [
6 "css",
7 "less",
8 "sass",
9 "scss",
10 "sugarss",
11 "lint",
12 "linter",
13 "stylelint"
14 ],
15 "authors": [
16 "David Clark",
17 "Maxime Thirouin",
18 "Richard Hallows"
19 ],
20 "license": "MIT",
21 "homepage": "https://stylelint.io",
22 "repository": {
23 "type": "git",
24 "url": "https://github.com/stylelint/stylelint.git"
25 },
26 "funding": {
27 "type": "opencollective",
28 "url": "https://opencollective.com/stylelint"
29 },
30 "main": "lib/index.js",
31 "bin": "bin/stylelint.js",
32 "files": [
33 "bin",
34 "CONTRIBUTING.md",
35 "SECURITY.md",
36 "docs",
37 "lib",
38 "VISION.md",
39 "!**/__tests__",
40 "flow-typed",
41 "!flow-typed/npm"
42 ],
43 "engines": {
44 "node": ">=8.7.0"
45 },
46 "dependencies": {
47 "autoprefixer": "^9.7.1",
48 "balanced-match": "^1.0.0",
49 "chalk": "^3.0.0",
50 "cosmiconfig": "^6.0.0",
51 "debug": "^4.1.1",
52 "execall": "^2.0.0",
53 "file-entry-cache": "^5.0.1",
54 "get-stdin": "^7.0.0",
55 "global-modules": "^2.0.0",
56 "globby": "^9.2.0",
57 "globjoin": "^0.1.4",
58 "html-tags": "^3.1.0",
59 "ignore": "^5.1.4",
60 "import-lazy": "^4.0.0",
61 "imurmurhash": "^0.1.4",
62 "known-css-properties": "^0.17.0",
63 "leven": "^3.1.0",
64 "lodash": "^4.17.15",
65 "log-symbols": "^3.0.0",
66 "mathml-tag-names": "^2.1.1",
67 "meow": "^5.0.0",
68 "micromatch": "^4.0.2",
69 "normalize-selector": "^0.2.0",
70 "postcss": "^7.0.21",
71 "postcss-html": "^0.36.0",
72 "postcss-jsx": "^0.36.3",
73 "postcss-less": "^3.1.4",
74 "postcss-markdown": "^0.36.0",
75 "postcss-media-query-parser": "^0.2.3",
76 "postcss-reporter": "^6.0.1",
77 "postcss-resolve-nested-selector": "^0.1.1",
78 "postcss-safe-parser": "^4.0.1",
79 "postcss-sass": "^0.4.2",
80 "postcss-scss": "^2.0.0",
81 "postcss-selector-parser": "^3.1.0",
82 "postcss-syntax": "^0.36.2",
83 "postcss-value-parser": "^4.0.2",
84 "resolve-from": "^5.0.0",
85 "slash": "^3.0.0",
86 "specificity": "^0.4.1",
87 "string-width": "^4.2.0",
88 "strip-ansi": "^6.0.0",
89 "style-search": "^0.1.0",
90 "sugarss": "^2.0.0",
91 "svg-tags": "^1.0.0",
92 "table": "^5.4.6",
93 "v8-compile-cache": "^2.1.0",
94 "write-file-atomic": "^3.0.1"
95 },
96 "devDependencies": {
97 "@types/cosmiconfig": "^5.0.3",
98 "@types/debug": "^4.1.5",
99 "@types/global-modules": "^2.0.0",
100 "@types/globjoin": "^0.1.0",
101 "@types/lodash": "^4.14.146",
102 "@types/meow": "^5.0.0",
103 "@types/micromatch": "^3.1.0",
104 "benchmark": "^2.1.4",
105 "common-tags": "^1.8.0",
106 "coveralls": "^3.0.7",
107 "cp-file": "^7.0.0",
108 "del": "^5.1.0",
109 "eslint": "~6.6.0",
110 "eslint-config-stylelint": "~11.1.0",
111 "file-exists-promise": "^1.0.2",
112 "flow-bin": "^0.100.0",
113 "flow-typed": "^2.6.2",
114 "husky": "^3.0.9",
115 "jest": "^24.9.0",
116 "jest-watch-typeahead": "^0.4.2",
117 "lint-staged": "^9.4.2",
118 "np": "^5.1.3",
119 "npm-run-all": "^4.1.5",
120 "postcss-import": "^12.0.1",
121 "prettier": "~1.19.1",
122 "remark-cli": "^7.0.1",
123 "remark-lint-no-missing-blank-lines": "^1.0.3",
124 "remark-preset-lint-consistent": "^2.0.3",
125 "remark-preset-lint-recommended": "^3.0.3",
126 "remark-validate-links": "^9.0.1",
127 "request": "^2.88.0",
128 "typescript": "^3.6.4"
129 },
130 "scripts": {
131 "benchmark-rule": "node scripts/benchmark-rule.js",
132 "flow": "flow",
133 "flow-defs": "./node_modules/.bin/flow-typed install jest@24 lodash@4",
134 "jest": "jest",
135 "jest:detectleaks": "jest --detectLeaks",
136 "lint:js": "eslint . --cache --max-warnings=0",
137 "lint:md": "remark . --quiet --frail",
138 "lint:types": "tsc",
139 "lint": "npm-run-all --parallel lint:*",
140 "pretest": "npm-run-all --serial lint flow prettier:check",
141 "prettier:check": "prettier \"**/*.js\" --check",
142 "prettier:fix": "prettier \"**/*.js\" --write",
143 "release": "np",
144 "test": "jest --coverage",
145 "watch": "jest --watch"
146 },
147 "husky": {
148 "hooks": {
149 "pre-commit": "lint-staged"
150 }
151 },
152 "lint-staged": {
153 "*.js": [
154 "prettier --write",
155 "eslint --max-warnings=0 --fix",
156 "git add"
157 ],
158 "*.md": [
159 "remark --quiet --frail"
160 ]
161 },
162 "eslintConfig": {
163 "parserOptions": {
164 "ecmaVersion": 2019
165 },
166 "extends": [
167 "stylelint"
168 ],
169 "globals": {
170 "testRule": true
171 },
172 "rules": {
173 "no-mixed-spaces-and-tabs": 0
174 }
175 },
176 "jest": {
177 "clearMocks": true,
178 "collectCoverage": false,
179 "collectCoverageFrom": [
180 "lib/**/*.js",
181 "!lib/vendor/**/*.js",
182 "!lib/utils/parseCalcExpression/parser.js"
183 ],
184 "coverageDirectory": "./.coverage/",
185 "coverageReporters": [
186 "lcov",
187 "text-summary"
188 ],
189 "coverageThreshold": {
190 "global": {
191 "branches": 75,
192 "functions": 75,
193 "lines": 75,
194 "statements": 75
195 }
196 },
197 "setupFiles": [
198 "./jest-setup.js"
199 ],
200 "testEnvironment": "node",
201 "roots": [
202 "lib",
203 "system-tests"
204 ],
205 "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
206 "watchPlugins": [
207 "jest-watch-typeahead/filename",
208 "jest-watch-typeahead/testname"
209 ]
210 },
211 "remarkConfig": {
212 "plugins": [
213 "preset-lint-recommended",
214 "preset-lint-consistent",
215 [
216 "lint-no-missing-blank-lines",
217 {
218 "exceptTightLists": true
219 }
220 ],
221 [
222 "validate-links",
223 {
224 "repository": "stylelint/stylelint"
225 }
226 ]
227 ]
228 }
229}