| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
 | | { |  |   "name": "cosmiconfig", |  |   "version": "5.2.1", |  |   "description": "Find and load configuration from a package.json property, rc file, or CommonJS module", |  |   "main": "dist/index.js", |  |   "files": [ |  |     "dist" |  |   ], |  |   "scripts": { |  |     "precommit": "lint-staged && jest && flow check", |  |     "lint:md-partial": "remark -u remark-preset-davidtheclark --frail --quiet --no-stdout --output --", |  |     "lint:md": "npm run lint:md-partial -- *.md", |  |     "lint:fix": "eslint . --fix", |  |     "lint": "eslint . && npm run lint:md", |  |     "format": "prettier --write \"{src/*.js,test/*.js}\"", |  |     "pretest": "npm run lint && flow check", |  |     "test": "jest --coverage", |  |     "test:watch": "jest --watch", |  |     "coverage": "jest --coverage --coverageReporters=html --coverageReporters=text", |  |     "build": "flow-remove-types src --out-dir dist --quiet", |  |     "prepublishOnly": "npm run build" |  |   }, |  |   "lint-staged": { |  |     "*.js": [ |  |       "eslint --fix", |  |       "prettier --write", |  |       "git add" |  |     ], |  |     "*.md": [ |  |       "npm run lint:md-partial", |  |       "git add" |  |     ] |  |   }, |  |   "repository": { |  |     "type": "git", |  |     "url": "git+https://github.com/davidtheclark/cosmiconfig.git" |  |   }, |  |   "keywords": [ |  |     "load", |  |     "configuration", |  |     "config" |  |   ], |  |   "author": "David Clark <david.dave.clark@gmail.com>", |  |   "contributors": [ |  |     "Bogdan Chadkin <trysound@yandex.ru>", |  |     "Suhas Karanth <sudo.suhas@gmail.com>" |  |   ], |  |   "license": "MIT", |  |   "bugs": { |  |     "url": "https://github.com/davidtheclark/cosmiconfig/issues" |  |   }, |  |   "homepage": "https://github.com/davidtheclark/cosmiconfig#readme", |  |   "prettier": { |  |     "trailingComma": "es5", |  |     "singleQuote": true, |  |     "printWidth": 80, |  |     "tabWidth": 2 |  |   }, |  |   "jest": { |  |     "testEnvironment": "node", |  |     "collectCoverageFrom": [ |  |       "src/*.js" |  |     ], |  |     "coverageReporters": [ |  |       "text", |  |       "html", |  |       "lcov" |  |     ], |  |     "coverageThreshold": { |  |       "global": { |  |         "branches": 100, |  |         "functions": 100, |  |         "lines": 100, |  |         "statements": 100 |  |       } |  |     }, |  |     "resetModules": true, |  |     "resetMocks": true |  |   }, |  |   "babel": { |  |     "plugins": [ |  |       "transform-flow-strip-types" |  |     ] |  |   }, |  |   "dependencies": { |  |     "import-fresh": "^2.0.0", |  |     "is-directory": "^0.3.1", |  |     "js-yaml": "^3.13.1", |  |     "parse-json": "^4.0.0" |  |   }, |  |   "devDependencies": { |  |     "babel-eslint": "^8.0.3", |  |     "babel-plugin-transform-flow-strip-types": "^6.22.0", |  |     "del": "^3.0.0", |  |     "eslint": "^4.12.1", |  |     "eslint-config-davidtheclark-node": "^0.2.2", |  |     "eslint-config-prettier": "^2.9.0", |  |     "eslint-plugin-flowtype": "^2.39.1", |  |     "eslint-plugin-node": "^5.2.1", |  |     "flow-bin": "^0.68.0", |  |     "flow-remove-types": "^1.2.3", |  |     "husky": "^0.14.3", |  |     "jest": "^21.2.1", |  |     "lint-staged": "^6.0.0", |  |     "make-dir": "^1.2.0", |  |     "parent-module": "^0.1.0", |  |     "prettier": "^1.8.2", |  |     "remark-cli": "^5.0.0", |  |     "remark-preset-davidtheclark": "^0.7.0" |  |   }, |  |   "engines": { |  |     "node": ">=4" |  |   } |  | } | 
 |