package.json 4.8 KB

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