-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.27 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
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
{
"name": "shireee-react-utils",
"displayName": "shireee-react-utils",
"description": "Utility for react developers.",
"version": "0.2.0",
"engines": {
"vscode": "^1.96.0"
},
"icon": "public/extension-icon128x128.png",
"publisher": "shireee",
"author": {
"name": "Vladimir Bagdeev",
"email": "[email protected]",
"url": "https://github.com/Shireee"
},
"repository": {
"type": "github",
"url": "https://github.com/Shireee/vs-code-snippet-extension"
},
"bugs": {
"url": "https://github.com/Shireee/vs-code-snippet-extension/issues",
"email": "[email protected]"
},
"pricing": "Free",
"keywords": [
"react",
"react snippets"
],
"categories": [
"Snippets",
"Keymaps"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"snippets": [
{
"language": "typescript",
"path": "./dist/snippets/snippets-ts.json"
},
{
"language": "typescriptreact",
"path": "./dist/snippets/snippets-react-ts.json"
}
],
"commands": [
{
"command": "shireee.create.indexFile",
"title": "Generate index.ts"
},
{
"command": "shireee.create.componentTemplate",
"title": "Generate component template"
}
],
"keybindings": [
{
"command": "shireee.create.indexFile",
"key": "ctrl+shift+\\",
"when": "editorTextFocus"
}
],
"menus": {
"explorer/context": [
{
"command": "shireee.create.componentTemplate",
"when": "explorerResourceIsFolder",
"group": "navigation"
}
]
}
},
"scripts": {
"build": "tsc -p ./",
"prebuild": "npx rimraf dist && mkdir dist && mkdir dist\\snippets",
"postbuild": "cp ./src/snippets/snippets-ts.json ./dist/snippets/ && cp ./src/snippets/snippets-react-ts.json ./dist/snippets/",
"compile": "npm run build && npm run postbuild",
"watch": "tsc -watch -p ./",
"test": "node ./node_modules/@vscode/test-electron/out/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.96.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"typescript": "^5.7.2",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}