stylelint
Version:
A mighty, modern CSS linter.
217 lines (216 loc) • 5.2 kB
JSON
{
"name": "stylelint",
"version": "11.1.1",
"description": "A mighty, modern CSS linter.",
"keywords": [
"css",
"less",
"sass",
"scss",
"sugarss",
"lint",
"linter",
"stylelint"
],
"authors": [
"David Clark",
"Maxime Thirouin",
"Richard Hallows"
],
"license": "MIT",
"homepage": "https://stylelint.io",
"repository": {
"type": "git",
"url": "https://github.com/stylelint/stylelint.git"
},
"main": "lib/index.js",
"bin": "bin/stylelint.js",
"files": [
"bin",
"CONTRIBUTING.md",
"SECURITY.md",
"docs",
"lib",
"VISION.md",
"!**/__tests__",
"flow-typed",
"!flow-typed/npm"
],
"engines": {
"node": ">=8.7.0"
},
"dependencies": {
"autoprefixer": "^9.5.1",
"balanced-match": "^1.0.0",
"chalk": "^2.4.2",
"cosmiconfig": "^5.2.0",
"debug": "^4.1.1",
"execall": "^2.0.0",
"file-entry-cache": "^5.0.1",
"get-stdin": "^7.0.0",
"global-modules": "^2.0.0",
"globby": "^9.2.0",
"globjoin": "^0.1.4",
"html-tags": "^3.0.0",
"ignore": "^5.0.6",
"import-lazy": "^4.0.0",
"imurmurhash": "^0.1.4",
"known-css-properties": "^0.16.0",
"leven": "^3.1.0",
"lodash": "^4.17.14",
"log-symbols": "^3.0.0",
"mathml-tag-names": "^2.1.0",
"meow": "^5.0.0",
"micromatch": "^4.0.0",
"normalize-selector": "^0.2.0",
"postcss": "^7.0.14",
"postcss-html": "^0.36.0",
"postcss-jsx": "^0.36.3",
"postcss-less": "^3.1.4",
"postcss-markdown": "^0.36.0",
"postcss-media-query-parser": "^0.2.3",
"postcss-reporter": "^6.0.1",
"postcss-resolve-nested-selector": "^0.1.1",
"postcss-safe-parser": "^4.0.1",
"postcss-sass": "^0.4.1",
"postcss-scss": "^2.0.0",
"postcss-selector-parser": "^3.1.0",
"postcss-syntax": "^0.36.2",
"postcss-value-parser": "^4.0.2",
"resolve-from": "^5.0.0",
"signal-exit": "^3.0.2",
"slash": "^3.0.0",
"specificity": "^0.4.1",
"string-width": "^4.1.0",
"strip-ansi": "^5.2.0",
"style-search": "^0.1.0",
"sugarss": "^2.0.0",
"svg-tags": "^1.0.0",
"table": "^5.2.3",
"v8-compile-cache": "^2.1.0"
},
"devDependencies": {
"benchmark": "^2.1.4",
"common-tags": "^1.8.0",
"coveralls": "^3.0.3",
"cp-file": "^7.0.0",
"del": "^5.0.0",
"eslint": "~6.5.1",
"eslint-config-stylelint": "~11.1.0",
"file-exists-promise": "^1.0.2",
"flow-bin": "^0.100.0",
"flow-typed": "^2.5.1",
"husky": "^3.0.0",
"jest": "^24.7.1",
"jest-watch-typeahead": "^0.4.0",
"lint-staged": "^9.0.0",
"np": "^5.0.3",
"npm-run-all": "^4.1.5",
"postcss-import": "^12.0.1",
"prettier": "~1.18.2",
"remark-cli": "^7.0.0",
"remark-lint-no-missing-blank-lines": "^1.0.2",
"remark-preset-lint-consistent": "^2.0.2",
"remark-preset-lint-recommended": "^3.0.2",
"remark-validate-links": "^9.0.0",
"request": "^2.88.0"
},
"scripts": {
"benchmark-rule": "node scripts/benchmark-rule.js",
"flow": "flow",
"flow-defs": "./node_modules/.bin/flow-typed install jest@24 lodash@4",
"jest": "jest",
"jest:detectleaks": "jest --detectLeaks",
"lint:js": "eslint . --cache --max-warnings=0",
"lint:md": "remark . --quiet --frail",
"lint": "npm-run-all --parallel lint:*",
"pretest": "npm-run-all --serial lint flow prettier:check",
"prettier:check": "prettier \"**/*.js\" --list-different",
"prettier:fix": "prettier \"**/*.js\" --write",
"release": "np",
"test": "jest --coverage",
"watch": "jest --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --max-warnings=0 --fix",
"git add"
],
"*.md": [
"remark --quiet --frail"
]
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 2019
},
"extends": [
"stylelint"
],
"globals": {
"testRule": true
},
"rules": {
"no-mixed-spaces-and-tabs": 0
}
},
"jest": {
"clearMocks": true,
"collectCoverage": false,
"collectCoverageFrom": [
"lib/**/*.js",
"!lib/vendor/**/*.js",
"!lib/utils/parseCalcExpression/parser.js"
],
"coverageDirectory": "./.coverage/",
"coverageReporters": [
"lcov",
"text-summary"
],
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
},
"setupFiles": [
"./jest-setup.js"
],
"testEnvironment": "node",
"roots": [
"lib",
"system-tests"
],
"testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"remarkConfig": {
"plugins": [
"preset-lint-recommended",
"preset-lint-consistent",
[
"lint-no-missing-blank-lines",
{
"exceptTightLists": true
}
],
[
"validate-links",
{
"repository": "stylelint/stylelint"
}
]
]
}
}