package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "_args": [
  3. [
  4. "cosmiconfig@5.2.1",
  5. "/Users/mac/Desktop/zz的项目/cdss/大名县人民医院/CDSS-daming-web"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "cosmiconfig@5.2.1",
  10. "_id": "cosmiconfig@5.2.1",
  11. "_inBundle": false,
  12. "_integrity": "sha1-BA9yaAnFked6F8CjYmykW08Wixo=",
  13. "_location": "/cosmiconfig",
  14. "_phantomChildren": {
  15. "error-ex": "1.3.2",
  16. "json-parse-better-errors": "1.0.2"
  17. },
  18. "_requested": {
  19. "type": "version",
  20. "registry": true,
  21. "raw": "cosmiconfig@5.2.1",
  22. "name": "cosmiconfig",
  23. "escapedName": "cosmiconfig",
  24. "rawSpec": "5.2.1",
  25. "saveSpec": null,
  26. "fetchSpec": "5.2.1"
  27. },
  28. "_requiredBy": [
  29. "/cssnano",
  30. "/postcss-load-config"
  31. ],
  32. "_resolved": "https://registry.nlark.com/cosmiconfig/download/cosmiconfig-5.2.1.tgz",
  33. "_spec": "5.2.1",
  34. "_where": "/Users/mac/Desktop/zz的项目/cdss/大名县人民医院/CDSS-daming-web",
  35. "author": {
  36. "name": "David Clark",
  37. "email": "david.dave.clark@gmail.com"
  38. },
  39. "babel": {
  40. "plugins": [
  41. "transform-flow-strip-types"
  42. ]
  43. },
  44. "bugs": {
  45. "url": "https://github.com/davidtheclark/cosmiconfig/issues"
  46. },
  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. "import-fresh": "^2.0.0",
  59. "is-directory": "^0.3.1",
  60. "js-yaml": "^3.13.1",
  61. "parse-json": "^4.0.0"
  62. },
  63. "description": "Find and load configuration from a package.json property, rc file, or CommonJS module",
  64. "devDependencies": {
  65. "babel-eslint": "^8.0.3",
  66. "babel-plugin-transform-flow-strip-types": "^6.22.0",
  67. "del": "^3.0.0",
  68. "eslint": "^4.12.1",
  69. "eslint-config-davidtheclark-node": "^0.2.2",
  70. "eslint-config-prettier": "^2.9.0",
  71. "eslint-plugin-flowtype": "^2.39.1",
  72. "eslint-plugin-node": "^5.2.1",
  73. "flow-bin": "^0.68.0",
  74. "flow-remove-types": "^1.2.3",
  75. "husky": "^0.14.3",
  76. "jest": "^21.2.1",
  77. "lint-staged": "^6.0.0",
  78. "make-dir": "^1.2.0",
  79. "parent-module": "^0.1.0",
  80. "prettier": "^1.8.2",
  81. "remark-cli": "^5.0.0",
  82. "remark-preset-davidtheclark": "^0.7.0"
  83. },
  84. "engines": {
  85. "node": ">=4"
  86. },
  87. "files": [
  88. "dist"
  89. ],
  90. "homepage": "https://github.com/davidtheclark/cosmiconfig#readme",
  91. "jest": {
  92. "testEnvironment": "node",
  93. "collectCoverageFrom": [
  94. "src/*.js"
  95. ],
  96. "coverageReporters": [
  97. "text",
  98. "html",
  99. "lcov"
  100. ],
  101. "coverageThreshold": {
  102. "global": {
  103. "branches": 100,
  104. "functions": 100,
  105. "lines": 100,
  106. "statements": 100
  107. }
  108. },
  109. "resetModules": true,
  110. "resetMocks": true
  111. },
  112. "keywords": [
  113. "load",
  114. "configuration",
  115. "config"
  116. ],
  117. "license": "MIT",
  118. "lint-staged": {
  119. "*.js": [
  120. "eslint --fix",
  121. "prettier --write",
  122. "git add"
  123. ],
  124. "*.md": [
  125. "npm run lint:md-partial",
  126. "git add"
  127. ]
  128. },
  129. "main": "dist/index.js",
  130. "name": "cosmiconfig",
  131. "prettier": {
  132. "trailingComma": "es5",
  133. "singleQuote": true,
  134. "printWidth": 80,
  135. "tabWidth": 2
  136. },
  137. "repository": {
  138. "type": "git",
  139. "url": "git+https://github.com/davidtheclark/cosmiconfig.git"
  140. },
  141. "scripts": {
  142. "build": "flow-remove-types src --out-dir dist --quiet",
  143. "coverage": "jest --coverage --coverageReporters=html --coverageReporters=text",
  144. "format": "prettier --write \"{src/*.js,test/*.js}\"",
  145. "lint": "eslint . && npm run lint:md",
  146. "lint:fix": "eslint . --fix",
  147. "lint:md": "npm run lint:md-partial -- *.md",
  148. "lint:md-partial": "remark -u remark-preset-davidtheclark --frail --quiet --no-stdout --output --",
  149. "precommit": "lint-staged && jest && flow check",
  150. "prepublishOnly": "npm run build",
  151. "pretest": "npm run lint && flow check",
  152. "test": "jest --coverage",
  153. "test:watch": "jest --watch"
  154. },
  155. "version": "5.2.1"
  156. }