package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. {
  2. "_from": "cosmiconfig@^8.2.0",
  3. "_id": "cosmiconfig@8.2.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==",
  6. "_location": "/cosmiconfig",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "cosmiconfig@^8.2.0",
  12. "name": "cosmiconfig",
  13. "escapedName": "cosmiconfig",
  14. "rawSpec": "^8.2.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^8.2.0"
  17. },
  18. "_requiredBy": [
  19. "/postcss-loader"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz",
  22. "_shasum": "f7d17c56a590856cd1e7cee98734dca272b0d8fd",
  23. "_spec": "cosmiconfig@^8.2.0",
  24. "_where": "E:\\2023\\8\\MT_APP\\node_modules\\postcss-loader",
  25. "author": {
  26. "name": "Daniel Fischer",
  27. "email": "daniel@d-fischer.dev"
  28. },
  29. "babel": {
  30. "presets": [
  31. [
  32. "@babel/preset-env",
  33. {
  34. "targets": {
  35. "node": "14"
  36. },
  37. "exclude": [
  38. "proposal-dynamic-import"
  39. ]
  40. }
  41. ],
  42. "@babel/preset-typescript"
  43. ]
  44. },
  45. "bugs": {
  46. "url": "https://github.com/cosmiconfig/cosmiconfig/issues"
  47. },
  48. "bundleDependencies": false,
  49. "contributors": [
  50. {
  51. "name": "David Clark",
  52. "email": "david.dave.clark@gmail.com"
  53. },
  54. {
  55. "name": "Bogdan Chadkin",
  56. "email": "trysound@yandex.ru"
  57. },
  58. {
  59. "name": "Suhas Karanth",
  60. "email": "sudo.suhas@gmail.com"
  61. }
  62. ],
  63. "dependencies": {
  64. "import-fresh": "^3.2.1",
  65. "js-yaml": "^4.1.0",
  66. "parse-json": "^5.0.0",
  67. "path-type": "^4.0.0"
  68. },
  69. "deprecated": false,
  70. "description": "Find and load configuration from a package.json property, rc file, or CommonJS module",
  71. "devDependencies": {
  72. "@babel/cli": "^7.19.3",
  73. "@babel/core": "^7.20.2",
  74. "@babel/preset-env": "^7.20.2",
  75. "@babel/preset-typescript": "^7.18.6",
  76. "@types/js-yaml": "^4.0.5",
  77. "@types/node": "^14.0.22",
  78. "@types/parse-json": "^4.0.0",
  79. "@typescript-eslint/eslint-plugin": "^5.54.1",
  80. "@typescript-eslint/parser": "^5.54.1",
  81. "@vitest/coverage-istanbul": "^0.29.2",
  82. "cross-env": "^7.0.2",
  83. "del": "^5.1.0",
  84. "del-cli": "^3.0.1",
  85. "eslint": "^8.36.0",
  86. "eslint-config-davidtheclark-node": "^0.2.2",
  87. "eslint-config-prettier": "^6.11.0",
  88. "eslint-import-resolver-typescript": "^3.5.3",
  89. "eslint-plugin-import": "^2.22.0",
  90. "eslint-plugin-node": "^11.1.0",
  91. "eslint-plugin-vitest": "^0.0.54",
  92. "husky": "^4.2.5",
  93. "lint-staged": "^10.2.11",
  94. "make-dir": "^3.1.0",
  95. "parent-module": "^2.0.0",
  96. "prettier": "^2.0.5",
  97. "remark-preset-davidtheclark": "^0.12.0",
  98. "typescript": "^4.9.5",
  99. "vitest": "^0.29.2"
  100. },
  101. "engines": {
  102. "node": ">=14"
  103. },
  104. "files": [
  105. "dist"
  106. ],
  107. "funding": "https://github.com/sponsors/d-fischer",
  108. "homepage": "https://github.com/cosmiconfig/cosmiconfig#readme",
  109. "husky": {
  110. "hooks": {
  111. "pre-commit": "lint-staged && npm run typescript && npm run test",
  112. "pre-push": "npm run check:all"
  113. }
  114. },
  115. "keywords": [
  116. "load",
  117. "configuration",
  118. "config"
  119. ],
  120. "license": "MIT",
  121. "lint-staged": {
  122. "*.{js,ts}": [
  123. "eslint --fix",
  124. "prettier --write"
  125. ],
  126. "*.{json,yml,yaml}": [
  127. "prettier --write"
  128. ],
  129. "*.md": [
  130. "remark-preset-davidtheclark",
  131. "remark-preset-davidtheclark --format"
  132. ]
  133. },
  134. "main": "dist/index.js",
  135. "name": "cosmiconfig",
  136. "prettier": {
  137. "trailingComma": "all",
  138. "arrowParens": "always",
  139. "singleQuote": true,
  140. "printWidth": 80,
  141. "tabWidth": 2
  142. },
  143. "repository": {
  144. "type": "git",
  145. "url": "git+https://github.com/cosmiconfig/cosmiconfig.git"
  146. },
  147. "scripts": {
  148. "build": "npm run clean && npm run build:compile && npm run build:types",
  149. "build:compile": "cross-env NODE_ENV=production babel src -d dist --verbose --extensions .js,.ts --ignore \"**/**/*.test.js\",\"**/**/*.test.ts\" --source-maps",
  150. "build:types": "cross-env NODE_ENV=production tsc --project tsconfig.types.json",
  151. "check:all": "npm run test && npm run typescript && npm run lint && npm run format:check",
  152. "clean": "del-cli --dot=true \"./dist/**/*\"",
  153. "dev": "npm run clean && npm run build:compile -- --watch",
  154. "format": "prettier \"**/*.{js,ts,json,yml,yaml}\" --write",
  155. "format:check": "prettier \"**/*.{js,ts,json,yml,yaml}\" --check",
  156. "format:md": "remark-preset-davidtheclark --format",
  157. "lint": "eslint --ext .js,.ts . && npm run lint:md",
  158. "lint:fix": "eslint --ext .js,.ts . --fix",
  159. "lint:md": "remark-preset-davidtheclark",
  160. "prepublishOnly": "npm run check:all && npm run build",
  161. "test": "vitest run --coverage",
  162. "test:watch": "vitest",
  163. "typescript": "tsc"
  164. },
  165. "types": "dist/index.d.ts",
  166. "version": "8.2.0"
  167. }