1{ 2 "name": "cosmiconfig", 3 "version": "6.0.0", 4 "description": "Find and load configuration from a package.json property, rc file, or CommonJS module", 5 "main": "dist/index.js", 6 "types": "dist/index.d.ts", 7 "files": [ 8 "dist" 9 ], 10 "scripts": { 11 "clean": "del-cli --dot=true \"./dist/**/*\"", 12 "build": "npm run clean && npm run build:compile && npm run build:types", 13 "build:compile": "cross-env NODE_ENV=production babel src -d dist --verbose --extensions .js,.ts --ignore \"**/**/*.test.js\",\"**/**/*.test.ts\" --source-maps", 14 "build:types": "cross-env NODE_ENV=production tsc --project tsconfig.types.json", 15 "dev": "npm run clean && npm run build:compile -- --watch", 16 "lint": "eslint --ext .js,.ts . && npm run lint:md", 17 "lint:fix": "eslint --ext .js,.ts . --fix", 18 "lint:md": "remark-preset-davidtheclark", 19 "format": "prettier \"**/*.{js,ts,json,yml,yaml}\" --write", 20 "format:md": "remark-preset-davidtheclark --format", 21 "format:check": "prettier \"**/*.{js,ts,json,yml,yaml}\" --check", 22 "typescript": "tsc", 23 "test": "jest --coverage", 24 "test:watch": "jest --watch", 25 "check:all": "npm run test && npm run typescript && npm run lint && npm run format:check", 26 "prepublishOnly": "npm run check:all && npm run build" 27 }, 28 "husky": { 29 "hooks": { 30 "pre-commit": "lint-staged && npm run typescript && npm run test", 31 "pre-push": "npm run check:all" 32 } 33 }, 34 "lint-staged": { 35 "*.{js,ts}": [ 36 "eslint --fix", 37 "prettier --write", 38 "git add" 39 ], 40 "*.{json,yml,yaml}": [ 41 "prettier --write", 42 "git add" 43 ], 44 "*.md": [ 45 "remark-preset-davidtheclark", 46 "remark-preset-davidtheclark --format", 47 "git add" 48 ] 49 }, 50 "repository": { 51 "type": "git", 52 "url": "git+https://github.com/davidtheclark/cosmiconfig.git" 53 }, 54 "keywords": [ 55 "load", 56 "configuration", 57 "config" 58 ], 59 "author": "David Clark <david.dave.clark@gmail.com>", 60 "contributors": [ 61 "Bogdan Chadkin <trysound@yandex.ru>", 62 "Suhas Karanth <sudo.suhas@gmail.com>" 63 ], 64 "license": "MIT", 65 "bugs": { 66 "url": "https://github.com/davidtheclark/cosmiconfig/issues" 67 }, 68 "homepage": "https://github.com/davidtheclark/cosmiconfig#readme", 69 "prettier": { 70 "trailingComma": "all", 71 "arrowParens": "always", 72 "singleQuote": true, 73 "printWidth": 80, 74 "tabWidth": 2 75 }, 76 "jest": { 77 "testEnvironment": "node", 78 "collectCoverageFrom": [ 79 "src/**/*.{js,ts}" 80 ], 81 "coverageReporters": [ 82 "text", 83 "html", 84 "lcov" 85 ], 86 "coverageThreshold": { 87 "global": { 88 "branches": 100, 89 "functions": 100, 90 "lines": 100, 91 "statements": 100 92 } 93 }, 94 "resetModules": true, 95 "resetMocks": true, 96 "restoreMocks": true 97 }, 98 "babel": { 99 "presets": [ 100 [ 101 "@babel/preset-env", 102 { 103 "targets": { 104 "node": "8.9" 105 } 106 } 107 ], 108 "@babel/preset-typescript" 109 ] 110 }, 111 "dependencies": { 112 "@types/parse-json": "^4.0.0", 113 "import-fresh": "^3.1.0", 114 "parse-json": "^5.0.0", 115 "path-type": "^4.0.0", 116 "yaml": "^1.7.2" 117 }, 118 "devDependencies": { 119 "@babel/cli": "^7.6.4", 120 "@babel/core": "^7.6.4", 121 "@babel/preset-env": "^7.6.3", 122 "@babel/preset-typescript": "^7.6.0", 123 "@types/jest": "^24.0.19", 124 "@types/node": "^12.11.5", 125 "@typescript-eslint/eslint-plugin": "^2.5.0", 126 "@typescript-eslint/parser": "^2.5.0", 127 "cross-env": "^6.0.3", 128 "del": "^5.1.0", 129 "del-cli": "^3.0.0", 130 "eslint": "^6.5.1", 131 "eslint-config-davidtheclark-node": "^0.2.2", 132 "eslint-config-prettier": "^6.4.0", 133 "eslint-plugin-import": "^2.18.2", 134 "eslint-plugin-jest": "^22.20.0", 135 "eslint-plugin-node": "^10.0.0", 136 "husky": "^3.0.9", 137 "jest": "^24.9.0", 138 "lint-staged": "^9.4.2", 139 "make-dir": "^3.0.0", 140 "parent-module": "^2.0.0", 141 "prettier": "^1.18.2", 142 "remark-preset-davidtheclark": "^0.10.0", 143 "typescript": "^3.6.4" 144 }, 145 "engines": { 146 "node": ">=8" 147 } 148} 149