UNPKG

5.09 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "11.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 "main": "lib/index.js",
27 "bin": "bin/stylelint.js",
28 "files": [
29 "bin",
30 "CONTRIBUTING.md",
31 "SECURITY.md",
32 "docs",
33 "lib",
34 "VISION.md",
35 "!**/__tests__",
36 "flow-typed",
37 "!flow-typed/npm"
38 ],
39 "engines": {
40 "node": ">=8.7.0"
41 },
42 "dependencies": {
43 "autoprefixer": "^9.5.1",
44 "balanced-match": "^1.0.0",
45 "chalk": "^2.4.2",
46 "cosmiconfig": "^5.2.0",
47 "debug": "^4.1.1",
48 "execall": "^2.0.0",
49 "file-entry-cache": "^5.0.1",
50 "get-stdin": "^7.0.0",
51 "global-modules": "^2.0.0",
52 "globby": "^9.2.0",
53 "globjoin": "^0.1.4",
54 "html-tags": "^3.0.0",
55 "ignore": "^5.0.6",
56 "import-lazy": "^4.0.0",
57 "imurmurhash": "^0.1.4",
58 "known-css-properties": "^0.15.0",
59 "leven": "^3.1.0",
60 "lodash": "^4.17.14",
61 "log-symbols": "^3.0.0",
62 "mathml-tag-names": "^2.1.0",
63 "meow": "^5.0.0",
64 "micromatch": "^4.0.0",
65 "normalize-selector": "^0.2.0",
66 "postcss": "^7.0.14",
67 "postcss-html": "^0.36.0",
68 "postcss-jsx": "^0.36.3",
69 "postcss-less": "^3.1.4",
70 "postcss-markdown": "^0.36.0",
71 "postcss-media-query-parser": "^0.2.3",
72 "postcss-reporter": "^6.0.1",
73 "postcss-resolve-nested-selector": "^0.1.1",
74 "postcss-safe-parser": "^4.0.1",
75 "postcss-sass": "^0.4.1",
76 "postcss-scss": "^2.0.0",
77 "postcss-selector-parser": "^3.1.0",
78 "postcss-syntax": "^0.36.2",
79 "postcss-value-parser": "^4.0.2",
80 "resolve-from": "^5.0.0",
81 "signal-exit": "^3.0.2",
82 "slash": "^3.0.0",
83 "specificity": "^0.4.1",
84 "string-width": "^4.1.0",
85 "strip-ansi": "^5.2.0",
86 "style-search": "^0.1.0",
87 "sugarss": "^2.0.0",
88 "svg-tags": "^1.0.0",
89 "table": "^5.2.3",
90 "v8-compile-cache": "^2.1.0"
91 },
92 "devDependencies": {
93 "benchmark": "^2.1.4",
94 "common-tags": "^1.8.0",
95 "coveralls": "^3.0.3",
96 "cp-file": "^7.0.0",
97 "del": "^5.0.0",
98 "eslint": "~6.3.0",
99 "eslint-config-stylelint": "~11.1.0",
100 "file-exists-promise": "^1.0.2",
101 "flow-bin": "^0.100.0",
102 "flow-typed": "^2.5.1",
103 "husky": "^3.0.0",
104 "jest": "^24.7.1",
105 "jest-watch-typeahead": "^0.4.0",
106 "lint-staged": "^9.0.0",
107 "np": "^5.0.3",
108 "npm-run-all": "^4.1.5",
109 "postcss-import": "^12.0.1",
110 "prettier": "~1.18.2",
111 "remark-cli": "^7.0.0",
112 "remark-lint-no-missing-blank-lines": "^1.0.2",
113 "remark-preset-lint-consistent": "^2.0.2",
114 "remark-preset-lint-recommended": "^3.0.2",
115 "remark-validate-links": "^9.0.0",
116 "request": "^2.88.0"
117 },
118 "scripts": {
119 "benchmark-rule": "node scripts/benchmark-rule.js",
120 "flow": "flow",
121 "flow-defs": "./node_modules/.bin/flow-typed install jest@24 lodash@4",
122 "jest": "jest",
123 "jest:detectleaks": "jest --detectLeaks",
124 "lint:js": "eslint . --cache --max-warnings=0",
125 "lint:md": "remark . --quiet --frail",
126 "lint": "npm-run-all --parallel lint:*",
127 "pretest": "npm-run-all --serial lint flow prettier:check",
128 "prettier:check": "prettier '**/*.js' --list-different",
129 "prettier:fix": "prettier '**/*.js' --write",
130 "release": "np",
131 "test": "jest --coverage",
132 "watch": "jest --watch"
133 },
134 "husky": {
135 "hooks": {
136 "pre-commit": "lint-staged"
137 }
138 },
139 "lint-staged": {
140 "*.js": [
141 "prettier --write",
142 "eslint --max-warnings=0 --fix",
143 "git add"
144 ],
145 "*.md": [
146 "remark --quiet --frail"
147 ]
148 },
149 "eslintConfig": {
150 "extends": [
151 "stylelint"
152 ],
153 "globals": {
154 "testRule": true
155 }
156 },
157 "jest": {
158 "clearMocks": true,
159 "collectCoverage": false,
160 "collectCoverageFrom": [
161 "lib/**/*.js",
162 "!lib/vendor/**/*.js",
163 "!lib/utils/parseCalcExpression/parser.js"
164 ],
165 "coverageDirectory": "./.coverage/",
166 "coverageReporters": [
167 "lcov",
168 "text-summary"
169 ],
170 "coverageThreshold": {
171 "global": {
172 "branches": 75,
173 "functions": 75,
174 "lines": 75,
175 "statements": 75
176 }
177 },
178 "setupFiles": [
179 "./jest-setup.js"
180 ],
181 "testEnvironment": "node",
182 "roots": [
183 "lib",
184 "system-tests"
185 ],
186 "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
187 "watchPlugins": [
188 "jest-watch-typeahead/filename",
189 "jest-watch-typeahead/testname"
190 ]
191 },
192 "remarkConfig": {
193 "plugins": [
194 "preset-lint-recommended",
195 "preset-lint-consistent",
196 [
197 "lint-no-missing-blank-lines",
198 {
199 "exceptTightLists": true
200 }
201 ],
202 [
203 "validate-links",
204 {
205 "repository": "stylelint/stylelint"
206 }
207 ]
208 ]
209 }
210}