1 | {
|
2 | "name": "cosmiconfig",
|
3 | "version": "9.0.0",
|
4 | "description": "Find and load configuration from a package.json property, rc file, TypeScript module, and more!",
|
5 | "main": "dist/index.js",
|
6 | "types": "dist/index.d.ts",
|
7 | "files": [
|
8 | "dist"
|
9 | ],
|
10 | "scripts": {
|
11 | "clean": "git clean -Xdf -e '!node_modules' .",
|
12 | "build": "npm run build:tsc",
|
13 | "build:tsc": "cross-env NODE_ENV=production tsc -b",
|
14 | "dev": "npm run build:tsc -- --watch",
|
15 | "lint": "eslint --ext .js,.ts .",
|
16 | "lint:fix": "eslint --ext .js,.ts . --fix",
|
17 | "lint:md": "remark-preset-davidtheclark",
|
18 | "format": "prettier \"**/*.{js,ts,json,yml,yaml}\" --write",
|
19 | "format:md": "remark-preset-davidtheclark --format",
|
20 | "format:check": "prettier \"**/*.{js,ts,json,yml,yaml}\" --check",
|
21 | "test": "vitest run --coverage",
|
22 | "test:watch": "vitest",
|
23 | "check:all": "npm run test && npm run lint && npm run format:check",
|
24 | "prepublishOnly": "npm run check:all && npm run build",
|
25 | "prepare": "husky install"
|
26 | },
|
27 | "lint-staged": {
|
28 | "*.{js,ts}": [
|
29 | "eslint --fix",
|
30 | "prettier --write"
|
31 | ],
|
32 | "*.{json,yml,yaml}": [
|
33 | "prettier --write"
|
34 | ],
|
35 | "*.md": [
|
36 | "remark-preset-davidtheclark",
|
37 | "remark-preset-davidtheclark --format"
|
38 | ]
|
39 | },
|
40 | "repository": {
|
41 | "type": "git",
|
42 | "url": "git+https://github.com/cosmiconfig/cosmiconfig.git"
|
43 | },
|
44 | "keywords": [
|
45 | "load",
|
46 | "configuration",
|
47 | "config"
|
48 | ],
|
49 | "author": "Daniel Fischer <daniel@d-fischer.dev>",
|
50 | "contributors": [
|
51 | "Randolf J <jrandolf@google.com>",
|
52 | "David Clark <david.dave.clark@gmail.com>",
|
53 | "Bogdan Chadkin <trysound@yandex.ru>",
|
54 | "Suhas Karanth <sudo.suhas@gmail.com>"
|
55 | ],
|
56 | "funding": "https://github.com/sponsors/d-fischer",
|
57 | "license": "MIT",
|
58 | "bugs": {
|
59 | "url": "https://github.com/cosmiconfig/cosmiconfig/issues"
|
60 | },
|
61 | "homepage": "https://github.com/cosmiconfig/cosmiconfig#readme",
|
62 | "peerDependencies": {
|
63 | "typescript": ">=4.9.5"
|
64 | },
|
65 | "peerDependenciesMeta": {
|
66 | "typescript": {
|
67 | "optional": true
|
68 | }
|
69 | },
|
70 | "dependencies": {
|
71 | "env-paths": "^2.2.1",
|
72 | "import-fresh": "^3.3.0",
|
73 | "js-yaml": "^4.1.0",
|
74 | "parse-json": "^5.2.0"
|
75 | },
|
76 | "devDependencies": {
|
77 | "@types/js-yaml": "^4.0.5",
|
78 | "@types/node": "^14",
|
79 | "@types/parse-json": "^4.0.0",
|
80 | "@typescript-eslint/eslint-plugin": "^6.5.0",
|
81 | "@typescript-eslint/parser": "^6.5.0",
|
82 | "@vitest/coverage-istanbul": "^0.34.3",
|
83 | "cross-env": "^7.0.3",
|
84 | "eslint": "^8.48.0",
|
85 | "eslint-config-davidtheclark-node": "^0.2.2",
|
86 | "eslint-config-prettier": "^9.0.0",
|
87 | "eslint-import-resolver-typescript": "^3.6.0",
|
88 | "eslint-plugin-import": "^2.28.1",
|
89 | "eslint-plugin-node": "^11.1.0",
|
90 | "eslint-plugin-vitest": "^0.2.8",
|
91 | "husky": "^8.0.3",
|
92 | "lint-staged": "^14.0.1",
|
93 | "parent-module": "^3.0.0",
|
94 | "prettier": "^3.0.3",
|
95 | "remark-preset-davidtheclark": "^0.12.0",
|
96 | "typescript": "^5.2.2",
|
97 | "vitest": "^0.34.3"
|
98 | },
|
99 | "engines": {
|
100 | "node": ">=14"
|
101 | }
|
102 | }
|