1 | {
|
2 | "name": "cosmiconfig",
|
3 | "version": "3.0.0",
|
4 | "description": "Find and load configuration from a package.json property, rc file, or CommonJS module",
|
5 | "main": "dist/index.js",
|
6 | "files": [
|
7 | "index.js",
|
8 | "dist"
|
9 | ],
|
10 | "scripts": {
|
11 | "precommit": "lint-staged && jest && flow check",
|
12 | "lint": "eslint .",
|
13 | "lint:fix": "eslint . --fix",
|
14 | "pretest": "npm run lint && flow check",
|
15 | "test": "jest",
|
16 | "test:watch": "jest --watch",
|
17 | "coverage": "jest --coverage --coverageReporters=html --coverageReporters=text",
|
18 | "build": "flow-remove-types src --out-dir dist --quiet",
|
19 | "prepublishOnly": "npm run build"
|
20 | },
|
21 | "lint-staged": {
|
22 | "*.js": [
|
23 | "eslint --fix",
|
24 | "prettier --write",
|
25 | "git add"
|
26 | ]
|
27 | },
|
28 | "repository": {
|
29 | "type": "git",
|
30 | "url": "git+https://github.com/davidtheclark/cosmiconfig.git"
|
31 | },
|
32 | "keywords": [
|
33 | "load",
|
34 | "configuration",
|
35 | "config"
|
36 | ],
|
37 | "author": "David Clark <david.dave.clark@gmail.com>",
|
38 | "contributors": [
|
39 | "Bogdan Chadkin <trysound@yandex.ru>",
|
40 | "Suhas Karanth <sudo.suhas@gmail.com>"
|
41 | ],
|
42 | "license": "MIT",
|
43 | "bugs": {
|
44 | "url": "https://github.com/davidtheclark/cosmiconfig/issues"
|
45 | },
|
46 | "homepage": "https://github.com/davidtheclark/cosmiconfig#readme",
|
47 | "prettier": {
|
48 | "trailingComma": "es5",
|
49 | "singleQuote": true,
|
50 | "printWidth": 80,
|
51 | "tabWidth": 2
|
52 | },
|
53 | "jest": {
|
54 | "testEnvironment": "node",
|
55 | "collectCoverageFrom": [
|
56 | "src/*.js"
|
57 | ]
|
58 | },
|
59 | "babel": {
|
60 | "plugins": [
|
61 | "transform-flow-strip-types"
|
62 | ]
|
63 | },
|
64 | "dependencies": {
|
65 | "is-directory": "^0.3.1",
|
66 | "js-yaml": "^3.9.0",
|
67 | "parse-json": "^2.2.0",
|
68 | "require-from-string": "^1.1.0"
|
69 | },
|
70 | "devDependencies": {
|
71 | "babel-eslint": "^7.2.3",
|
72 | "babel-plugin-transform-flow-strip-types": "^6.22.0",
|
73 | "eslint": "^4.5.0",
|
74 | "eslint-config-davidtheclark-node": "^0.2.0",
|
75 | "eslint-config-prettier": "^2.3.0",
|
76 | "eslint-plugin-flowtype": "^2.35.1",
|
77 | "eslint-plugin-node": "^3.0.5",
|
78 | "flow-bin": "^0.54.1",
|
79 | "flow-remove-types": "^1.2.1",
|
80 | "husky": "^0.14.3",
|
81 | "jest": "^20.0.4",
|
82 | "lint-staged": "^4.0.4",
|
83 | "prettier": "^1.6.1"
|
84 | },
|
85 | "engines": {
|
86 | "node": ">=4"
|
87 | }
|
88 | }
|