-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.26 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.26 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
{
"name": "auto-title",
"version": "1.0.0",
"description": "Automatically generate meaningful titles for your files using AI (OpenAI or Perplexity)",
"main": "main.js",
"scripts": {
"build": "esbuild src/main.ts --bundle --platform=browser --target=es2018 --format=cjs --outfile=main.js --external:obsidian --external:electron --main-fields=browser,module,main",
"build:dist": "bun run build && mkdir -p dist && cp main.js manifest.json styles.css versions.json dist/",
"deploy": "bun run build:dist && test -f .obsidian-vault-path && cp dist/* \"$(cat .obsidian-vault-path)/.obsidian/plugins/auto-title/\" || echo 'Set vault path: echo /path/to/vault > .obsidian-vault-path'",
"version": "node version-bump.js && git add manifest.json versions.json",
"lint": "bunx eslint .",
"lint:fix": "bunx eslint . --fix"
},
"keywords": [
"obsidian",
"plugin",
"ai",
"openai",
"perplexity",
"title",
"naming",
"files"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^22.15.29",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"esbuild": "^0.25.5",
"eslint": "^9.39.1",
"eslint-plugin-obsidianmd": "^0.1.9",
"obsidian": "^1.8.7"
}
}