package.json 4.9 KB

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