| { |
| "name": "stylelint", |
| "version": "17.14.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", |
| "pretest": "npm run lint", |
| "test": "run-s test-jest test-node", |
| "test-coverage": "npm run test-jest --ignore-scripts -- --coverage", |
| "test-jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js", |
| "test-node": "node --test lib/__tests__/require.test.cjs system-tests/005/commonjs.test.cjs system-tests/006/yarn-pnp.test.mjs", |
| "test-only": "npm run test-jest --ignore-scripts", |
| "watch": "npm run test-jest --ignore-scripts -- --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" |
| ] |
| }, |
| "jest": { |
| "clearMocks": true, |
| "collectCoverage": false, |
| "collectCoverageFrom": [ |
| "lib/**/*.{js,mjs}", |
| "!lib/**/{__tests__,testUtils}/**/*.{js,mjs}", |
| ".changeset/changelog-stylelint.mjs" |
| ], |
| "coverageDirectory": "./.coverage/", |
| "coverageProvider": "v8", |
| "coverageReporters": [ |
| "lcov", |
| "text-summary" |
| ], |
| "coverageThreshold": { |
| "global": { |
| "branches": 90, |
| "functions": 90, |
| "lines": 90, |
| "statements": 90 |
| } |
| }, |
| "preset": "jest-preset-stylelint", |
| "roots": [ |
| "lib", |
| "system-tests", |
| ".changeset" |
| ], |
| "setupFiles": [ |
| "<rootDir>/jest.setup.mjs" |
| ], |
| "setupFilesAfterEnv": [ |
| "<rootDir>/jest.setupAfterEnv.mjs" |
| ], |
| "testEnvironment": "node", |
| "testPathIgnorePatterns": [ |
| "/node_modules/", |
| "/system-tests/006/" |
| ], |
| "testRegex": ".*\\.test\\.mjs$|rules/.*/__tests__/.*\\.mjs$", |
| "watchPlugins": [ |
| "jest-watch-typeahead/filename", |
| "jest-watch-typeahead/testname" |
| ] |
| }, |
| "dependencies": { |
| "@csstools/css-calc": "^3.2.1", |
| "@csstools/css-parser-algorithms": "^4.0.0", |
| "@csstools/css-syntax-patches-for-csstree": "^1.1.5", |
| "@csstools/css-tokenizer": "^4.0.0", |
| "@csstools/media-query-list-parser": "^5.0.0", |
| "@csstools/selector-resolve-nested": "^4.0.0", |
| "@csstools/selector-specificity": "^6.0.0", |
| "colord": "^2.9.3", |
| "cosmiconfig": "^9.0.2", |
| "css-functions-list": "^3.3.3", |
| "css-tree": "^3.2.1", |
| "debug": "^4.4.3", |
| "fast-glob": "^3.3.3", |
| "fastest-levenshtein": "^1.0.16", |
| "file-entry-cache": "^11.1.3", |
| "global-modules": "^2.0.0", |
| "globby": "^16.2.0", |
| "globjoin": "^0.1.4", |
| "html-tags": "^5.1.0", |
| "ignore": "^7.0.5", |
| "import-meta-resolve": "^4.2.0", |
| "mathml-tag-names": "^4.0.0", |
| "meow": "^14.1.0", |
| "micromatch": "^4.0.8", |
| "normalize-path": "^3.0.0", |
| "picocolors": "^1.1.1", |
| "postcss": "^8.5.15", |
| "postcss-safe-parser": "^7.0.1", |
| "postcss-selector-parser": "^7.1.4", |
| "postcss-value-parser": "^4.2.0", |
| "string-width": "^8.2.1", |
| "supports-hyperlinks": "^4.4.0", |
| "svg-tags": "^1.0.0", |
| "table": "^6.9.0", |
| "write-file-atomic": "^7.0.1" |
| }, |
| "devDependencies": { |
| "@changesets/cli": "^2.31.0", |
| "@changesets/get-github-info": "^0.8.0", |
| "@jest/globals": "^30.4.1", |
| "@stylelint/prettier-config": "^4.0.0", |
| "@stylelint/remark-preset": "^5.1.1", |
| "@types/css-tree": "^2.3.11", |
| "@types/debug": "^4.1.13", |
| "@types/global-modules": "^2.0.2", |
| "@types/globjoin": "^0.1.2", |
| "@types/micromatch": "^4.0.10", |
| "@types/normalize-path": "^3.0.2", |
| "@types/postcss-less": "^4.0.7", |
| "@types/postcss-safe-parser": "^5.0.4", |
| "@types/svg-tags": "^1.0.2", |
| "@types/write-file-atomic": "^4.0.3", |
| "@vscode/windows-process-tree": "^0.7.0", |
| "common-tags": "^1.8.2", |
| "deepmerge": "^4.3.1", |
| "eslint": "^10.5.0", |
| "eslint-config-stylelint": "^27.0.0", |
| "eslint-plugin-jest": "^29.15.2", |
| "jest": "^30.4.2", |
| "jest-preset-stylelint": "^9.2.0", |
| "jest-watch-typeahead": "^3.0.1", |
| "lint-staged": "^17.0.7", |
| "lz-string": "^1.5.0", |
| "npm-run-all2": "^9.0.2", |
| "patch-package": "^8.0.1", |
| "pidusage": "^4.0.1", |
| "postcss-html": "^1.8.1", |
| "postcss-import": "^16.1.1", |
| "postcss-less": "^6.0.0", |
| "postcss-sass": "^0.5.0", |
| "postcss-scss": "^4.0.9", |
| "prettier": "^3.8.4", |
| "remark-cli": "^12.0.1", |
| "sugarss": "^5.0.1", |
| "tinybench": "^6.0.2", |
| "typescript": "^6.0.3" |
| }, |
| "engines": { |
| "node": ">=20.19.0" |
| } |
| } |