mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 11:31:31 +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>
146 lines
3.9 KiB
JSON
146 lines
3.9 KiB
JSON
{
|
|
"name": "cosmiconfig",
|
|
"version": "7.0.1",
|
|
"description": "Find and load configuration from a package.json property, rc file, or CommonJS module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"clean": "del-cli --dot=true \"./dist/**/*\"",
|
|
"build": "npm run clean && npm run build:compile && npm run build:types",
|
|
"build:compile": "cross-env NODE_ENV=production babel src -d dist --verbose --extensions .js,.ts --ignore \"**/**/*.test.js\",\"**/**/*.test.ts\" --source-maps",
|
|
"build:types": "cross-env NODE_ENV=production tsc --project tsconfig.types.json",
|
|
"dev": "npm run clean && npm run build:compile -- --watch",
|
|
"lint": "eslint --ext .js,.ts . && npm run lint:md",
|
|
"lint:fix": "eslint --ext .js,.ts . --fix",
|
|
"lint:md": "remark-preset-davidtheclark",
|
|
"format": "prettier \"**/*.{js,ts,json,yml,yaml}\" --write",
|
|
"format:md": "remark-preset-davidtheclark --format",
|
|
"format:check": "prettier \"**/*.{js,ts,json,yml,yaml}\" --check",
|
|
"typescript": "tsc",
|
|
"test": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"check:all": "npm run test && npm run typescript && npm run lint && npm run format:check",
|
|
"prepublishOnly": "npm run check:all && npm run build"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && npm run typescript && npm run test",
|
|
"pre-push": "npm run check:all"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,yml,yaml}": [
|
|
"prettier --write"
|
|
],
|
|
"*.md": [
|
|
"remark-preset-davidtheclark",
|
|
"remark-preset-davidtheclark --format"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/davidtheclark/cosmiconfig.git"
|
|
},
|
|
"keywords": [
|
|
"load",
|
|
"configuration",
|
|
"config"
|
|
],
|
|
"author": "David Clark <david.dave.clark@gmail.com>",
|
|
"contributors": [
|
|
"Bogdan Chadkin <trysound@yandex.ru>",
|
|
"Suhas Karanth <sudo.suhas@gmail.com>"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/davidtheclark/cosmiconfig/issues"
|
|
},
|
|
"homepage": "https://github.com/davidtheclark/cosmiconfig#readme",
|
|
"prettier": {
|
|
"trailingComma": "all",
|
|
"arrowParens": "always",
|
|
"singleQuote": true,
|
|
"printWidth": 80,
|
|
"tabWidth": 2
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,ts}"
|
|
],
|
|
"coverageReporters": [
|
|
"text",
|
|
"html",
|
|
"lcov"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"statements": 100
|
|
}
|
|
},
|
|
"resetModules": true,
|
|
"resetMocks": true,
|
|
"restoreMocks": true
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"targets": {
|
|
"node": "10"
|
|
}
|
|
}
|
|
],
|
|
"@babel/preset-typescript"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@types/parse-json": "^4.0.0",
|
|
"import-fresh": "^3.2.1",
|
|
"parse-json": "^5.0.0",
|
|
"path-type": "^4.0.0",
|
|
"yaml": "^1.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.10.4",
|
|
"@babel/core": "^7.10.4",
|
|
"@babel/preset-env": "^7.10.4",
|
|
"@babel/preset-typescript": "^7.10.4",
|
|
"@types/jest": "^26.0.4",
|
|
"@types/node": "^14.0.22",
|
|
"@typescript-eslint/eslint-plugin": "^3.6.0",
|
|
"@typescript-eslint/parser": "^3.6.0",
|
|
"cross-env": "^7.0.2",
|
|
"del": "^5.1.0",
|
|
"del-cli": "^3.0.1",
|
|
"eslint": "^7.4.0",
|
|
"eslint-config-davidtheclark-node": "^0.2.2",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-jest": "^23.18.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"husky": "^4.2.5",
|
|
"jest": "^26.1.0",
|
|
"lint-staged": "^10.2.11",
|
|
"make-dir": "^3.1.0",
|
|
"parent-module": "^2.0.0",
|
|
"prettier": "^2.0.5",
|
|
"remark-preset-davidtheclark": "^0.12.0",
|
|
"typescript": "^3.9.6"
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
}
|
|
}
|