package.json 4.9 KB

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