{ "_from": "cosmiconfig@^8.2.0", "_id": "cosmiconfig@8.2.0", "_inBundle": false, "_integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", "_location": "/cosmiconfig", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "cosmiconfig@^8.2.0", "name": "cosmiconfig", "escapedName": "cosmiconfig", "rawSpec": "^8.2.0", "saveSpec": null, "fetchSpec": "^8.2.0" }, "_requiredBy": [ "/postcss-loader" ], "_resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", "_shasum": "f7d17c56a590856cd1e7cee98734dca272b0d8fd", "_spec": "cosmiconfig@^8.2.0", "_where": "E:\\2023\\8\\MT_APP\\node_modules\\postcss-loader", "author": { "name": "Daniel Fischer", "email": "daniel@d-fischer.dev" }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "node": "14" }, "exclude": [ "proposal-dynamic-import" ] } ], "@babel/preset-typescript" ] }, "bugs": { "url": "https://github.com/cosmiconfig/cosmiconfig/issues" }, "bundleDependencies": false, "contributors": [ { "name": "David Clark", "email": "david.dave.clark@gmail.com" }, { "name": "Bogdan Chadkin", "email": "trysound@yandex.ru" }, { "name": "Suhas Karanth", "email": "sudo.suhas@gmail.com" } ], "dependencies": { "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", "parse-json": "^5.0.0", "path-type": "^4.0.0" }, "deprecated": false, "description": "Find and load configuration from a package.json property, rc file, or CommonJS module", "devDependencies": { "@babel/cli": "^7.19.3", "@babel/core": "^7.20.2", "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@types/js-yaml": "^4.0.5", "@types/node": "^14.0.22", "@types/parse-json": "^4.0.0", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.54.1", "@vitest/coverage-istanbul": "^0.29.2", "cross-env": "^7.0.2", "del": "^5.1.0", "del-cli": "^3.0.1", "eslint": "^8.36.0", "eslint-config-davidtheclark-node": "^0.2.2", "eslint-config-prettier": "^6.11.0", "eslint-import-resolver-typescript": "^3.5.3", "eslint-plugin-import": "^2.22.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-vitest": "^0.0.54", "husky": "^4.2.5", "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": "^4.9.5", "vitest": "^0.29.2" }, "engines": { "node": ">=14" }, "files": [ "dist" ], "funding": "https://github.com/sponsors/d-fischer", "homepage": "https://github.com/cosmiconfig/cosmiconfig#readme", "husky": { "hooks": { "pre-commit": "lint-staged && npm run typescript && npm run test", "pre-push": "npm run check:all" } }, "keywords": [ "load", "configuration", "config" ], "license": "MIT", "lint-staged": { "*.{js,ts}": [ "eslint --fix", "prettier --write" ], "*.{json,yml,yaml}": [ "prettier --write" ], "*.md": [ "remark-preset-davidtheclark", "remark-preset-davidtheclark --format" ] }, "main": "dist/index.js", "name": "cosmiconfig", "prettier": { "trailingComma": "all", "arrowParens": "always", "singleQuote": true, "printWidth": 80, "tabWidth": 2 }, "repository": { "type": "git", "url": "git+https://github.com/cosmiconfig/cosmiconfig.git" }, "scripts": { "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", "check:all": "npm run test && npm run typescript && npm run lint && npm run format:check", "clean": "del-cli --dot=true \"./dist/**/*\"", "dev": "npm run clean && npm run build:compile -- --watch", "format": "prettier \"**/*.{js,ts,json,yml,yaml}\" --write", "format:check": "prettier \"**/*.{js,ts,json,yml,yaml}\" --check", "format:md": "remark-preset-davidtheclark --format", "lint": "eslint --ext .js,.ts . && npm run lint:md", "lint:fix": "eslint --ext .js,.ts . --fix", "lint:md": "remark-preset-davidtheclark", "prepublishOnly": "npm run check:all && npm run build", "test": "vitest run --coverage", "test:watch": "vitest", "typescript": "tsc" }, "types": "dist/index.d.ts", "version": "8.2.0" }