-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.4 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 4.4 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "mdfind-node",
"version": "1.5.0",
"description": "Node.js bindings for macOS Spotlight search (mdfind, mdls, mdutil)",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "tsup src/index.ts --dts --format esm",
"dev": "tsup --watch",
"clean": "rm -rf dist",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepare": "[ -d .git ] && husky || true",
"prepublishOnly": "pnpm clean && pnpm build",
"test": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"test:e2e": "vitest run test/e2e.test.ts",
"test:e2e:watch": "vitest watch test/e2e.test.ts",
"test:ui": "vitest --ui",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch",
"examples:basic": "tsx examples/basic.ts",
"examples:advanced": "tsx examples/advanced.ts",
"examples:query-builder": "tsx examples/query-builder.ts",
"examples:live-search": "tsx examples/live-search.ts",
"examples:metadata": "tsx examples/metadata.ts",
"examples:extended-metadata": "tsx examples/extended-metadata.ts",
"examples:batch": "tsx examples/batch.ts",
"examples:discover": "tsx examples/discover.ts",
"examples:content-types": "tsx examples/content-types.ts",
"examples:advanced-search": "tsx examples/advanced-search.ts",
"examples:mdutil": "tsx examples/mdutil-status.ts",
"examples:mdutil-advanced": "tsx examples/mdutil-advanced.ts",
"examples:mdimport": "tsx examples/mdimport.ts",
"examples:date-queries": "tsx examples/date-queries.ts",
"examples:date-queries-live": "tsx examples/date-queries-live.ts",
"examples:remove-from-spotlight": "tsx examples/remove-from-spotlight.ts",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"keywords": [
"macos",
"spotlight",
"mdfind",
"mdls",
"mdutil",
"metadata",
"search",
"file-search",
"spotlight-search"
],
"author": "Matthew Herod",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mherod/mdfind-node.git"
},
"bugs": {
"url": "https://github.com/mherod/mdfind-node/issues"
},
"homepage": "https://github.com/mherod/mdfind-node#readme",
"engines": {
"node": ">=18",
"pnpm": ">=9.14.4"
},
"packageManager": "pnpm@9.14.4",
"devDependencies": {
"@eslint/js": "^8.57.1",
"@types/node": "^20.10.1",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"chalk": "^5.3.0",
"date-fns": "^4.1.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"tsc-files": "^1.1.4",
"tsup": "^8.0.1",
"tsx": "^4.6.1",
"typescript": "^5.3.2",
"vitepress": "^1.0.0-rc.40",
"vitest": "^0.34.6"
},
"dependencies": {
"zod": "^3.22.4"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"bash -c 'pnpm type-check'",
"vitest related --run"
],
"*.{js,jsx,mjs,cjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,jsonc,json5}": "prettier --write",
"*.{yml,yaml}": "prettier --write",
"*.{md,mdx}": "prettier --write"
},
"pnpm": {
"overrides": {
"esbuild@<=0.24.2": ">=0.25.0",
"vite@>=5.0.0 <=5.4.11": ">=5.4.12",
"vite@>=5.0.0 <5.4.15": ">=5.4.15",
"vite@>=5.0.0 <5.4.18": ">=5.4.18",
"vite@>=5.0.0 <=5.4.18": ">=5.4.19",
"vite@>=5.0.0 <5.4.17": ">=5.4.17",
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
"vite@<=5.4.19": ">=5.4.20",
"vite@>=5.2.6 <=5.4.20": ">=5.4.21",
"glob@>=10.2.0 <10.5.0": ">=10.5.0",
"vite@>=5.0.0 <5.4.16": ">=5.4.16",
"js-yaml@>=4.0.0 <4.1.1": ">=4.1.1",
"mdast-util-to-hast@>=13.0.0 <13.2.1": ">=13.2.1",
"rollup@>=4.0.0 <4.59.0": ">=4.59.0",
"minimatch": ">=9.0.7",
"flatted@<3.4.0": ">=3.4.0",
"ajv@<6.14.0": "6.14.0"
}
}
}