1 | {
|
2 | "name": "stylelint",
|
3 | "version": "13.3.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 | },
|
68 | "remarkConfig": {
|
69 | "plugins": [
|
70 | "@stylelint/remark-preset"
|
71 | ]
|
72 | },
|
73 | "jest": {
|
74 | "clearMocks": true,
|
75 | "collectCoverage": false,
|
76 | "collectCoverageFrom": [
|
77 | "lib/**/*.js",
|
78 | "!lib/vendor/**/*.js",
|
79 | "!lib/utils/parseCalcExpression/parser.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 | "roots": [
|
95 | "lib",
|
96 | "system-tests"
|
97 | ],
|
98 | "setupFiles": [
|
99 | "./jest-setup.js"
|
100 | ],
|
101 | "testEnvironment": "node",
|
102 | "testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
|
103 | "watchPlugins": [
|
104 | "jest-watch-typeahead/filename",
|
105 | "jest-watch-typeahead/testname"
|
106 | ]
|
107 | },
|
108 | "dependencies": {
|
109 | "@stylelint/postcss-css-in-js": "^0.37.0",
|
110 | "@stylelint/postcss-markdown": "^0.36.1",
|
111 | "autoprefixer": "^9.7.5",
|
112 | "balanced-match": "^1.0.0",
|
113 | "chalk": "^4.0.0",
|
114 | "cosmiconfig": "^6.0.0",
|
115 | "debug": "^4.1.1",
|
116 | "execall": "^2.0.0",
|
117 | "file-entry-cache": "^5.0.1",
|
118 | "get-stdin": "^7.0.0",
|
119 | "global-modules": "^2.0.0",
|
120 | "globby": "^11.0.0",
|
121 | "globjoin": "^0.1.4",
|
122 | "html-tags": "^3.1.0",
|
123 | "ignore": "^5.1.4",
|
124 | "import-lazy": "^4.0.0",
|
125 | "imurmurhash": "^0.1.4",
|
126 | "known-css-properties": "^0.18.0",
|
127 | "leven": "^3.1.0",
|
128 | "lodash": "^4.17.15",
|
129 | "log-symbols": "^3.0.0",
|
130 | "mathml-tag-names": "^2.1.3",
|
131 | "meow": "^6.1.0",
|
132 | "micromatch": "^4.0.2",
|
133 | "normalize-selector": "^0.2.0",
|
134 | "postcss": "^7.0.27",
|
135 | "postcss-html": "^0.36.0",
|
136 | "postcss-less": "^3.1.4",
|
137 | "postcss-media-query-parser": "^0.2.3",
|
138 | "postcss-reporter": "^6.0.1",
|
139 | "postcss-resolve-nested-selector": "^0.1.1",
|
140 | "postcss-safe-parser": "^4.0.2",
|
141 | "postcss-sass": "^0.4.4",
|
142 | "postcss-scss": "^2.0.0",
|
143 | "postcss-selector-parser": "^6.0.2",
|
144 | "postcss-syntax": "^0.36.2",
|
145 | "postcss-value-parser": "^4.0.3",
|
146 | "resolve-from": "^5.0.0",
|
147 | "slash": "^3.0.0",
|
148 | "specificity": "^0.4.1",
|
149 | "string-width": "^4.2.0",
|
150 | "strip-ansi": "^6.0.0",
|
151 | "style-search": "^0.1.0",
|
152 | "sugarss": "^2.0.0",
|
153 | "svg-tags": "^1.0.0",
|
154 | "table": "^5.4.6",
|
155 | "v8-compile-cache": "^2.1.0",
|
156 | "write-file-atomic": "^3.0.3"
|
157 | },
|
158 | "devDependencies": {
|
159 | "@stylelint/prettier-config": "^2.0.0",
|
160 | "@stylelint/remark-preset": "^1.0.0",
|
161 | "@types/browserslist": "^4.8.0",
|
162 | "@types/debug": "^4.1.5",
|
163 | "@types/global-modules": "^2.0.0",
|
164 | "@types/globjoin": "^0.1.0",
|
165 | "@types/lodash": "^4.14.149",
|
166 | "@types/micromatch": "^4.0.1",
|
167 | "benchmark": "^2.1.4",
|
168 | "common-tags": "^1.8.0",
|
169 | "del": "^5.1.0",
|
170 | "eslint": "^6.8.0",
|
171 | "eslint-config-stylelint": "^12.0.0",
|
172 | "got": "^10.7.0",
|
173 | "husky": "^4.2.3",
|
174 | "jest": "^25.2.7",
|
175 | "jest-watch-typeahead": "^0.5.0",
|
176 | "lint-staged": "^10.1.2",
|
177 | "np": "^6.2.0",
|
178 | "npm-run-all": "^4.1.5",
|
179 | "postcss-import": "^12.0.1",
|
180 | "prettier": "^2.0.3",
|
181 | "remark-cli": "^8.0.0",
|
182 | "typescript": "^3.8.3"
|
183 | }
|
184 | }
|