UNPKG

4.86 kBJSONView Raw
1{
2 "name": "stylelint",
3 "version": "13.4.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 "bin": "bin/stylelint.js",
27 "files": [
28 "bin",
29 "CONTRIBUTING.md",
30 "SECURITY.md",
31 "docs",
32 "lib",
33 "!**/__tests__",
34 "!lib/testUtils"
35 ],
36 "scripts": {
37 "benchmark-rule": "node scripts/benchmark-rule.js",
38 "format": "prettier . --write",
39 "jest": "jest",
40 "lint": "npm-run-all --parallel lint:*",
41 "lint:formatting": "prettier . --check",
42 "lint:js": "eslint . --cache --max-warnings=0",
43 "lint:md": "remark . --quiet --frail",
44 "lint:types": "tsc",
45 "release": "np",
46 "pretest": "npm run lint",
47 "test": "jest --coverage",
48 "watch": "jest --watch"
49 },
50 "husky": {
51 "hooks": {
52 "pre-commit": "lint-staged"
53 }
54 },
55 "lint-staged": {
56 "*.js": "eslint --cache --fix",
57 "*.{js,json,md,ts,yml}": "prettier --write"
58 },
59 "prettier": "@stylelint/prettier-config",
60 "eslintConfig": {
61 "extends": [
62 "stylelint"
63 ],
64 "globals": {
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 "!lib/utils/parseCalcExpression/parser.js"
81 ],
82 "coverageDirectory": "./.coverage/",
83 "coverageReporters": [
84 "lcov",
85 "text-summary"
86 ],
87 "coverageThreshold": {
88 "global": {
89 "branches": 75,
90 "functions": 75,
91 "lines": 75,
92 "statements": 75
93 }
94 },
95 "moduleNameMapper": {
96 "^stylelint$": "<rootDir>/lib/index.js",
97 "stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
98 },
99 "preset": "jest-preset-stylelint",
100 "roots": [
101 "lib",
102 "system-tests"
103 ],
104 "testEnvironment": "node",
105 "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
106 "testRunner": "jest-circus/runner",
107 "watchPlugins": [
108 "jest-watch-typeahead/filename",
109 "jest-watch-typeahead/testname"
110 ]
111 },
112 "dependencies": {
113 "@stylelint/postcss-css-in-js": "^0.37.1",
114 "@stylelint/postcss-markdown": "^0.36.1",
115 "autoprefixer": "^9.7.6",
116 "balanced-match": "^1.0.0",
117 "chalk": "^4.0.0",
118 "cosmiconfig": "^6.0.0",
119 "debug": "^4.1.1",
120 "execall": "^2.0.0",
121 "file-entry-cache": "^5.0.1",
122 "get-stdin": "^8.0.0",
123 "global-modules": "^2.0.0",
124 "globby": "^11.0.0",
125 "globjoin": "^0.1.4",
126 "html-tags": "^3.1.0",
127 "ignore": "^5.1.4",
128 "import-lazy": "^4.0.0",
129 "imurmurhash": "^0.1.4",
130 "known-css-properties": "^0.19.0",
131 "leven": "^3.1.0",
132 "lodash": "^4.17.15",
133 "log-symbols": "^4.0.0",
134 "mathml-tag-names": "^2.1.3",
135 "meow": "^7.0.1",
136 "micromatch": "^4.0.2",
137 "normalize-selector": "^0.2.0",
138 "postcss": "^7.0.30",
139 "postcss-html": "^0.36.0",
140 "postcss-less": "^3.1.4",
141 "postcss-media-query-parser": "^0.2.3",
142 "postcss-reporter": "^6.0.1",
143 "postcss-resolve-nested-selector": "^0.1.1",
144 "postcss-safe-parser": "^4.0.2",
145 "postcss-sass": "^0.4.4",
146 "postcss-scss": "^2.0.0",
147 "postcss-selector-parser": "^6.0.2",
148 "postcss-syntax": "^0.36.2",
149 "postcss-value-parser": "^4.1.0",
150 "resolve-from": "^5.0.0",
151 "slash": "^3.0.0",
152 "specificity": "^0.4.1",
153 "string-width": "^4.2.0",
154 "strip-ansi": "^6.0.0",
155 "style-search": "^0.1.0",
156 "sugarss": "^2.0.0",
157 "svg-tags": "^1.0.0",
158 "table": "^5.4.6",
159 "v8-compile-cache": "^2.1.0",
160 "write-file-atomic": "^3.0.3"
161 },
162 "devDependencies": {
163 "@stylelint/prettier-config": "^2.0.0",
164 "@stylelint/remark-preset": "^1.0.0",
165 "@types/browserslist": "^4.8.0",
166 "@types/debug": "^4.1.5",
167 "@types/global-modules": "^2.0.0",
168 "@types/globjoin": "^0.1.0",
169 "@types/lodash": "^4.14.151",
170 "@types/micromatch": "^4.0.1",
171 "benchmark": "^2.1.4",
172 "common-tags": "^1.8.0",
173 "del": "^5.1.0",
174 "eslint": "^7.0.0",
175 "eslint-config-stylelint": "^12.0.0",
176 "got": "^11.1.4",
177 "husky": "^4.2.5",
178 "jest": "^26.0.1",
179 "jest-circus": "^26.0.1",
180 "jest-preset-stylelint": "^3.0.0",
181 "jest-watch-typeahead": "^0.6.0",
182 "lint-staged": "^10.2.2",
183 "np": "^6.2.3",
184 "npm-run-all": "^4.1.5",
185 "postcss-import": "^12.0.1",
186 "prettier": "^2.0.5",
187 "remark-cli": "^8.0.0",
188 "typescript": "^3.9.2"
189 }
190}