generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
46 lines (46 loc) · 1.42 KB
/
package.json
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
{
"name": "obsidian-editor-shortcuts",
"version": "1.14.0",
"description": "Add keyboard shortcuts (hotkeys) commonly found in code editors such as Visual Studio Code (vscode) or Sublime Text",
"main": "main.js",
"scripts": {
"start": "esbuild src/main.ts --bundle --external:obsidian --outdir=. --target=es2016 --format=cjs --sourcemap=inline --watch",
"build": "esbuild src/main.ts --bundle --external:obsidian --outdir=. --target=es2016 --format=cjs",
"lint": "eslint src --max-warnings=0",
"test": "jest",
"prepare": "husky install"
},
"keywords": [],
"author": "Tim Hor",
"license": "MIT",
"devDependencies": {
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@codemirror/state": "^6.1.2",
"@codemirror/view": "^6.4.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.11.1",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"babel-jest": "^27.4.5",
"codemirror": "^5.65.0",
"esbuild": "0.13.8",
"eslint": "^8.6.0",
"husky": "^7.0.2",
"jest": "^27.4.5",
"lint-staged": "^11.1.2",
"obsidian": "^0.12.17",
"prettier": "^2.5.0",
"tslib": "2.3.1",
"typescript": "4.4.4"
},
"lint-staged": {
"**/*.{ts,tsx,html,css,md,json}": [
"prettier --write"
],
"**/*.{ts,tsx,html,css}": [
"eslint --fix --max-warnings=0"
]
},
"packageManager": "[email protected]"
}