generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
25 lines (25 loc) · 1.2 KB
/
package.json
File metadata and controls
25 lines (25 loc) · 1.2 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
{
"main": "main.js",
"scripts": {
"check": "npx tsc --noEmit",
"build": "esbuild main.ts --bundle --outdir=build --external:obsidian --format=cjs --target=es2020 --platform=node && npm run copy",
"copy": "powershell -Command \"New-Item -ItemType Directory -Force -Path tests\\vault\\previous-river-test\\.obsidian\\plugins\\previous-river | Out-Null; Copy-Item -Path build\\main.js, manifest.json -Destination tests\\vault\\previous-river-test\\.obsidian\\plugins\\previous-river -Force\"",
"copy-to-notes": "powershell -Command \"New-Item -ItemType Directory -Force -Path $env:USERPROFILE\\Doc\\notes\\.obsidian\\plugins\\previous-river | Out-Null; Copy-Item -Path build\\main.js, manifest.json -Destination $env:USERPROFILE\\Doc\\notes\\.obsidian\\plugins\\previous-river\\ -Force\"",
"zip": "node zip-release.mjs"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/archiver": "^7.0.0",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"archiver": "^7.0.1",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "4.7.4"
}
}