-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.36 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
{
"name": "defold-ide",
"publisher": "dapetcu21",
"displayName": "Defold IDE",
"description": "Up-to-date autocomplete, API docs, snippets and more for the Defold game engine",
"version": "0.0.3",
"engines": {
"vscode": "^1.45.0"
},
"categories": [
"Other"
],
"icon": "images/icon.png",
"activationEvents": [
"onCommand:defold-ide.refactorHash"
],
"main": "./out/vscode/extension.js",
"contributes": {
"commands": [
{
"command": "defold-ide.refactorHash",
"title": "Defold IDE: Refactor hash under selection"
}
],
"keybindings": [
{
"key": "ctrl+shift+h",
"command": "defold-ide.refactorHash",
"when": "editorTextFocus && editorLangId == lua"
}
],
"configuration": {
"title": "Defold IDE",
"properties": {
"defoldIDE.refactorHash.prefix": {
"type": "string",
"default": "h_",
"description": "Prefix to add when naming hash constants."
},
"defoldIDE.refactorHash.capitalise": {
"type": "boolean",
"default": false,
"description": "Capitalize hash constants."
},
"defoldIDE.refactorHash.modulePath": {
"type": "string",
"default": "",
"description": "To add hash constants to a separate Lua module, specify the path to the Lua file, relative to the workspace. Leave blank to add constants as local variables."
},
"defoldIDE.refactorHash.moduleRequireBinding": {
"type": "string",
"default": "h",
"markdownDescription": "When using `modulePath`, the name of the local variable to assign the `require()`-d module to."
}
}
}
},
"extensionDependencies": [],
"scripts": {
"vscode:prepublish": "npm run compile",
"prepare": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runtest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^10.17.60",
"@types/vscode": "^1.45.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^4.3.2",
"vscode-test": "^1.3.0"
},
"homepage": "https://github.com/dapetcu21/vscode-defold-ide",
"repository": {
"type": "git",
"url": "https://github.com/dapetcu21/vscode-defold-ide.git"
},
"license": "MIT"
}