UNPKG

stylelint

Version:

A mighty CSS linter that helps you avoid errors and enforce conventions.

132 lines (131 loc) • 3.97 kB
{ "name": "stylelint", "version": "18.0.0", "description": "A mighty CSS linter that helps you avoid errors and enforce conventions.", "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" }, { "type": "github", "url": "https://github.com/sponsors/stylelint" } ], "license": "MIT", "author": "stylelint", "exports": { ".": { "types": "./types/stylelint/index.d.ts", "default": "./lib/index.mjs" }, "./package.json": "./package.json", "./lib/utils/*": "./lib/utils/*" }, "bin": { "stylelint": "bin/stylelint.mjs" }, "files": [ "bin/**/*.mjs", "lib/**/*.mjs", "!**/__tests__/**", "!lib/testUtils/**", "!lib/rules/*/README.md", "types/stylelint/index.d.mts", "types/stylelint/index.d.ts" ], "scripts": { "benchmark": "node scripts/benchmarking/run-system.mjs", "benchmark-rule": "node scripts/benchmarking/run-rule.mjs", "changeset": "changeset version && node .changeset/rewrite-changelog.mjs CHANGELOG.md", "format": "prettier . --write --cache", "generate-example-output": "node scripts/generate-example-output/run.mjs", "lint": "patch-package && run-p --continue-on-error lint:*", "lint:formatting": "prettier . --check --cache", "lint:js": "eslint . --cache --max-warnings=0", "lint:md": "remark . --quiet --frail", "lint:types": "tsc", "prepare": "git config set --local core.hooksPath .githooks || true && patch-package", "test": "node scripts/test.mjs", "test-coverage": "node scripts/test.mjs --coverage", "watch": "node scripts/test.mjs --watch" }, "lint-staged": { "*.{js,mjs}": "eslint --cache --fix", "*.{js,json,md,mjs,ts,yml}": "prettier --write" }, "prettier": "@stylelint/prettier-config", "remarkConfig": { "plugins": [ "@stylelint/remark-preset", "./scripts/remark-plugins/lint-link-to-rule.mjs", "./scripts/remark-plugins/lint-code-block.mjs" ] }, "dependencies": { "@csstools/css-calc": "^3.4.3", "@csstools/css-parser-algorithms": "^4.0.2", "@csstools/css-syntax-patches-for-csstree": "^1.1.15", "@csstools/css-tokenizer": "^4.0.2", "@csstools/media-query-list-parser": "^5.0.2", "@csstools/selector-resolve-nested": "^4.0.2", "@csstools/selector-specificity": "^6.0.1", "colord": "^2.10.0", "cosmiconfig": "^10.0.1", "css-tree": "^3.2.1", "ignore": "^7.0.14", "import-meta-resolve": "^4.2.0", "picomatch": "^4.0.7", "postcss": "^8.5.31", "postcss-safe-parser": "^7.1.0", "postcss-selector-parser": "^7.1.7", "postcss-value-parser": "^4.2.0", "tinyglobby": "^0.2.17", "write-file-atomic": "^8.0.0" }, "devDependencies": { "@changesets/cli": "^3.0.3", "@changesets/get-github-info": "^1.0.1", "@stylelint/prettier-config": "^4.1.0", "@stylelint/remark-preset": "^5.1.2", "@types/css-tree": "^3.2.0", "@types/node": "^26.6.5", "@types/picomatch": "^4.0.3", "@types/postcss-less": "^4.0.7", "@types/postcss-safe-parser": "^5.0.4", "@types/write-file-atomic": "^4.0.3", "eslint": "^10.13.0", "eslint-config-stylelint": "^28.0.0", "lint-staged": "^17.6.0", "lz-string": "^1.5.0", "npm-run-all2": "^9.0.4", "patch-package": "^8.0.1", "postcss-html": "^2.0.0", "postcss-import": "^17.0.0", "postcss-less": "^6.0.0", "postcss-sass": "^0.5.0", "postcss-scss": "^4.0.9", "prettier": "^3.9.10", "remark-cli": "^12.0.1", "stylelint-test-rule-node": "^1.3.0", "sugarss": "^5.0.2", "typescript": "^7.0.2" }, "engines": { "node": "^22.22.2 || ^24.15.0 || >=26.0.0" } }