package.json 3.7 KB

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