mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-11 14:14:36 +08:00
This reverts commit2b4a9df2d9. Reason for revert: subsequent presubmit uploads should be fixed now. Original change's description: > Revert "Reland "Update stylelint to 14.0.1"" > > This reverts commitf2ea2c940d. > > Reason for revert: https://ci.chromium.org/ui/p/devtools-frontend/builders/try/dtf_presubmit_linux/b8831129368825517985/overview > > Original change's description: > > Reland "Update stylelint to 14.0.1" > > > > This reverts commit6c0f161c95. > > > > Reason for revert: the prerequisite CL (https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259703) has landed > > > > Original change's description: > > > Revert "Update stylelint to 14.0.1" > > > > > > This reverts commit1e08ee816b. > > > > > > Reason for revert: tree is closed due to errors https://ci.chromium.org/ui/p/devtools-frontend/builders/ci/Stand-alone%20Linux/8169/overview > > > > > > Original change's description: > > > > Update stylelint to 14.0.1 > > > > > > > > This also upgrades PostCSS to 8.3.11. > > > > > > > > DISABLE_THIRD_PARTY_CHECK=Updating Stylelint configuration > > > > R=szuend@chromium.org > > > > > > > > Bug: none > > > > Change-Id: I606540b03509d7c6e73f3d490327cd4174e03d31 > > > > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259541 > > > > Reviewed-by: Simon Zünd <szuend@chromium.org> > > > > Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> > > > > > > Bug: none > > > Change-Id: Icb1c02b41dbccc3b4fc5760f5dd0b78eca078b61 > > > No-Presubmit: true > > > No-Tree-Checks: true > > > No-Try: true > > > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3263399 > > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > > > Owners-Override: Alex Rudenko <alexrudenko@chromium.org> > > > Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> > > > > DISABLE_THIRD_PARTY_CHECK=Updating Stylelint configuration > > > > Bug: none > > Change-Id: If132a67ee4253d27114caedd66c5ee61c774a6c7 > > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264206 > > Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> > > Reviewed-by: Simon Zünd <szuend@chromium.org> > > Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> > > Bug: none > Change-Id: Idc6c9f5cc1e225c752799461eb0344e94b4ad1e5 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264222 > Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> > Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> DISABLE_THIRD_PARTY_CHECK=Updating Stylelint configuration Bug: none Change-Id: I609941d48b46bfcf454b03dcc75a76d460fbe674 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264223 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
192 lines
4.9 KiB
JSON
192 lines
4.9 KiB
JSON
{
|
|
"name": "stylelint",
|
|
"version": "14.0.1",
|
|
"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",
|
|
"types": "types/stylelint/index.d.ts",
|
|
"bin": {
|
|
"stylelint": "bin/stylelint.js"
|
|
},
|
|
"files": [
|
|
"bin/**/*.js",
|
|
"lib/**/*.js",
|
|
"!**/__tests__/**",
|
|
"!lib/testUtils/**",
|
|
"types/stylelint/index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"benchmark-rule": "node scripts/benchmark-rule.js",
|
|
"format": "prettier . --write",
|
|
"jest": "jest",
|
|
"lint": "npm-run-all --parallel --continue-on-error lint:*",
|
|
"lint:formatting": "prettier . --check",
|
|
"lint:js": "eslint . --cache --max-warnings=0",
|
|
"lint:md": "remark . --quiet --frail",
|
|
"lint:types": "tsc",
|
|
"prepare": "husky install",
|
|
"release": "np",
|
|
"pretest": "npm run lint",
|
|
"test": "jest --coverage",
|
|
"watch": "jest --watch"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "eslint --cache --fix",
|
|
"*.{js,json,md,ts,yml}": "prettier --write"
|
|
},
|
|
"prettier": "@stylelint/prettier-config",
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"stylelint"
|
|
],
|
|
"globals": {
|
|
"__dirname": true,
|
|
"module": true,
|
|
"require": true,
|
|
"testRule": true
|
|
},
|
|
"root": true
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"@stylelint/remark-preset"
|
|
]
|
|
},
|
|
"jest": {
|
|
"clearMocks": true,
|
|
"collectCoverage": false,
|
|
"collectCoverageFrom": [
|
|
"lib/**/*.js",
|
|
"!lib/vendor/**/*.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$",
|
|
"watchPlugins": [
|
|
"jest-watch-typeahead/filename",
|
|
"jest-watch-typeahead/testname"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"balanced-match": "^2.0.0",
|
|
"cosmiconfig": "^7.0.1",
|
|
"debug": "^4.3.2",
|
|
"execall": "^2.0.0",
|
|
"fast-glob": "^3.2.7",
|
|
"fastest-levenshtein": "^1.0.12",
|
|
"file-entry-cache": "^6.0.1",
|
|
"get-stdin": "^8.0.0",
|
|
"global-modules": "^2.0.0",
|
|
"globby": "^11.0.4",
|
|
"globjoin": "^0.1.4",
|
|
"html-tags": "^3.1.0",
|
|
"ignore": "^5.1.8",
|
|
"import-lazy": "^4.0.0",
|
|
"imurmurhash": "^0.1.4",
|
|
"is-plain-object": "^5.0.0",
|
|
"known-css-properties": "^0.23.0",
|
|
"mathml-tag-names": "^2.1.3",
|
|
"meow": "^9.0.0",
|
|
"micromatch": "^4.0.4",
|
|
"normalize-path": "^3.0.0",
|
|
"normalize-selector": "^0.2.0",
|
|
"picocolors": "^1.0.0",
|
|
"postcss": "^8.3.11",
|
|
"postcss-media-query-parser": "^0.2.3",
|
|
"postcss-resolve-nested-selector": "^0.1.1",
|
|
"postcss-safe-parser": "^6.0.0",
|
|
"postcss-selector-parser": "^6.0.6",
|
|
"postcss-value-parser": "^4.1.0",
|
|
"resolve-from": "^5.0.0",
|
|
"specificity": "^0.4.1",
|
|
"string-width": "^4.2.3",
|
|
"strip-ansi": "^6.0.1",
|
|
"style-search": "^0.1.0",
|
|
"svg-tags": "^1.0.0",
|
|
"table": "^6.7.2",
|
|
"v8-compile-cache": "^2.3.0",
|
|
"write-file-atomic": "^3.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@stylelint/prettier-config": "^2.0.0",
|
|
"@stylelint/remark-preset": "^3.0.0",
|
|
"@types/balanced-match": "^1.0.1",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/file-entry-cache": "^5.0.2",
|
|
"@types/global-modules": "^2.0.0",
|
|
"@types/globjoin": "^0.1.0",
|
|
"@types/imurmurhash": "^0.1.1",
|
|
"@types/micromatch": "^4.0.2",
|
|
"@types/normalize-path": "^3.0.0",
|
|
"@types/postcss-less": "^4.0.1",
|
|
"@types/postcss-safe-parser": "^5.0.0",
|
|
"@types/style-search": "^0.1.3",
|
|
"@types/svg-tags": "^1.0.0",
|
|
"@types/write-file-atomic": "^3.0.2",
|
|
"benchmark": "^2.1.4",
|
|
"common-tags": "^1.8.0",
|
|
"deepmerge": "^4.2.2",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-stylelint": "^14.0.0",
|
|
"got": "^11.8.2",
|
|
"husky": "^7.0.4",
|
|
"jest": "^27.3.1",
|
|
"jest-preset-stylelint": "^4.1.1",
|
|
"jest-watch-typeahead": "^1.0.0",
|
|
"lint-staged": "^11.2.4",
|
|
"np": "^7.5.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-import": "^14.0.2",
|
|
"postcss-less": "^5.0.0",
|
|
"postcss-sass": "^0.5.0",
|
|
"postcss-scss": "^4.0.1",
|
|
"prettier": "2.4.1",
|
|
"remark-cli": "^10.0.0",
|
|
"sugarss": "^4.0.1",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"engines": {
|
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
|
}
|
|
}
|