203 lines
5.1 KiB
JSON
203 lines
5.1 KiB
JSON
|
{
|
||
|
"name": "stylelint",
|
||
|
"version": "13.7.2",
|
||
|
"description": "A mighty, modern CSS linter.",
|
||
|
"keywords": [
|
||
|
"css-in-js",
|
||
|
"css",
|
||
|
"less",
|
||
|
"lint",
|
||
|
"linter",
|
||
|
"markdown",
|
||
|
"sass",
|
||
|
"scss",
|
||
|
"stylelint",
|
||
|
"sugarss"
|
||
|
],
|
||
|
"homepage": "https://stylelint.io",
|
||
|
"repository": "stylelint/stylelint",
|
||
|
"funding": {
|
||
|
"type": "opencollective",
|
||
|
"url": "https://opencollective.com/stylelint"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"author": "stylelint",
|
||
|
"main": "lib/index.js",
|
||
|
"bin": "bin/stylelint.js",
|
||
|
"files": [
|
||
|
"bin",
|
||
|
"CONTRIBUTING.md",
|
||
|
"SECURITY.md",
|
||
|
"docs",
|
||
|
"lib",
|
||
|
"!**/__tests__",
|
||
|
"!lib/testUtils"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"benchmark-rule": "node scripts/benchmark-rule.js",
|
||
|
"format": "prettier . --write",
|
||
|
"jest": "jest",
|
||
|
"lint": "npm-run-all --parallel lint:*",
|
||
|
"lint:formatting": "prettier . --check",
|
||
|
"lint:js": "eslint . --cache --max-warnings=0",
|
||
|
"lint:md": "remark . --quiet --frail",
|
||
|
"lint:types": "tsc",
|
||
|
"release": "np",
|
||
|
"pretest": "npm run lint",
|
||
|
"test": "jest --coverage",
|
||
|
"watch": "jest --watch"
|
||
|
},
|
||
|
"husky": {
|
||
|
"hooks": {
|
||
|
"pre-commit": "lint-staged"
|
||
|
}
|
||
|
},
|
||
|
"lint-staged": {
|
||
|
"*.js": "eslint --cache --fix",
|
||
|
"*.{js,json,md,ts,yml}": "prettier --write"
|
||
|
},
|
||
|
"prettier": "@stylelint/prettier-config",
|
||
|
"eslintConfig": {
|
||
|
"extends": [
|
||
|
"stylelint"
|
||
|
],
|
||
|
"globals": {
|
||
|
"testRule": true
|
||
|
},
|
||
|
"root": true
|
||
|
},
|
||
|
"remarkConfig": {
|
||
|
"plugins": [
|
||
|
"@stylelint/remark-preset"
|
||
|
]
|
||
|
},
|
||
|
"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
|
||
|
}
|
||
|
},
|
||
|
"moduleNameMapper": {
|
||
|
"^stylelint$": "<rootDir>/lib/index.js",
|
||
|
"stylelint/lib/utils/getOsEol": "<rootDir>/lib/utils/getOsEol.js"
|
||
|
},
|
||
|
"preset": "jest-preset-stylelint",
|
||
|
"roots": [
|
||
|
"lib",
|
||
|
"system-tests"
|
||
|
],
|
||
|
"testEnvironment": "node",
|
||
|
"testRegex": ".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",
|
||
|
"testRunner": "jest-circus/runner",
|
||
|
"watchPlugins": [
|
||
|
"jest-watch-typeahead/filename",
|
||
|
"jest-watch-typeahead/testname"
|
||
|
]
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@stylelint/postcss-css-in-js": "^0.37.2",
|
||
|
"@stylelint/postcss-markdown": "^0.36.1",
|
||
|
"autoprefixer": "^9.8.6",
|
||
|
"balanced-match": "^1.0.0",
|
||
|
"chalk": "^4.1.0",
|
||
|
"cosmiconfig": "^7.0.0",
|
||
|
"debug": "^4.1.1",
|
||
|
"execall": "^2.0.0",
|
||
|
"fast-glob": "^3.2.4",
|
||
|
"fastest-levenshtein": "^1.0.12",
|
||
|
"file-entry-cache": "^5.0.1",
|
||
|
"get-stdin": "^8.0.0",
|
||
|
"global-modules": "^2.0.0",
|
||
|
"globby": "^11.0.1",
|
||
|
"globjoin": "^0.1.4",
|
||
|
"html-tags": "^3.1.0",
|
||
|
"ignore": "^5.1.8",
|
||
|
"import-lazy": "^4.0.0",
|
||
|
"imurmurhash": "^0.1.4",
|
||
|
"known-css-properties": "^0.19.0",
|
||
|
"lodash": "^4.17.20",
|
||
|
"log-symbols": "^4.0.0",
|
||
|
"mathml-tag-names": "^2.1.3",
|
||
|
"meow": "^7.1.1",
|
||
|
"micromatch": "^4.0.2",
|
||
|
"normalize-selector": "^0.2.0",
|
||
|
"postcss": "^7.0.32",
|
||
|
"postcss-html": "^0.36.0",
|
||
|
"postcss-less": "^3.1.4",
|
||
|
"postcss-media-query-parser": "^0.2.3",
|
||
|
"postcss-resolve-nested-selector": "^0.1.1",
|
||
|
"postcss-safe-parser": "^4.0.2",
|
||
|
"postcss-sass": "^0.4.4",
|
||
|
"postcss-scss": "^2.1.1",
|
||
|
"postcss-selector-parser": "^6.0.2",
|
||
|
"postcss-syntax": "^0.36.2",
|
||
|
"postcss-value-parser": "^4.1.0",
|
||
|
"resolve-from": "^5.0.0",
|
||
|
"slash": "^3.0.0",
|
||
|
"specificity": "^0.4.1",
|
||
|
"string-width": "^4.2.0",
|
||
|
"strip-ansi": "^6.0.0",
|
||
|
"style-search": "^0.1.0",
|
||
|
"sugarss": "^2.0.0",
|
||
|
"svg-tags": "^1.0.0",
|
||
|
"table": "^6.0.1",
|
||
|
"v8-compile-cache": "^2.1.1",
|
||
|
"write-file-atomic": "^3.0.3"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@stylelint/prettier-config": "^2.0.0",
|
||
|
"@stylelint/remark-preset": "^1.0.0",
|
||
|
"@types/balanced-match": "^1.0.1",
|
||
|
"@types/browserslist": "^4.8.0",
|
||
|
"@types/debug": "^4.1.5",
|
||
|
"@types/file-entry-cache": "^5.0.1",
|
||
|
"@types/global-modules": "^2.0.0",
|
||
|
"@types/globjoin": "^0.1.0",
|
||
|
"@types/imurmurhash": "^0.1.1",
|
||
|
"@types/lodash": "^4.14.161",
|
||
|
"@types/micromatch": "^4.0.1",
|
||
|
"@types/postcss-less": "^3.1.1",
|
||
|
"@types/postcss-safe-parser": "^4.0.0",
|
||
|
"@types/style-search": "^0.1.1",
|
||
|
"@types/svg-tags": "^1.0.0",
|
||
|
"@types/table": "^5.0.0",
|
||
|
"@types/write-file-atomic": "^3.0.1",
|
||
|
"benchmark": "^2.1.4",
|
||
|
"common-tags": "^1.8.0",
|
||
|
"del": "^5.1.0",
|
||
|
"eslint": "^7.7.0",
|
||
|
"eslint-config-stylelint": "^12.0.0",
|
||
|
"got": "^11.5.2",
|
||
|
"husky": "^4.3.0",
|
||
|
"jest": "^26.4.2",
|
||
|
"jest-circus": "^26.4.2",
|
||
|
"jest-preset-stylelint": "^3.0.0",
|
||
|
"jest-watch-typeahead": "^0.6.0",
|
||
|
"lint-staged": "^10.2.13",
|
||
|
"np": "^6.5.0",
|
||
|
"npm-run-all": "^4.1.5",
|
||
|
"postcss-import": "^12.0.1",
|
||
|
"prettier": "^2.1.1",
|
||
|
"remark-cli": "^8.0.1",
|
||
|
"typescript": "^4.0.2"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=10.13.0"
|
||
|
}
|
||
|
}
|