-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
105 lines (105 loc) · 2.95 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "qalc",
"displayName": "Qalc",
"description": "Easily evaluate mathematic expressions with physical quantities and more using libqalculate",
"version": "2021.8.30",
"publisher": "TheaFlowers",
"icon": "images/qalculate-vscode.png",
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Education",
"Other"
],
"keywords": [
"calculator",
"algebra",
"engineering",
"utility"
],
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/theacodes/vscode-qalc/blob/main/README.md",
"bugs": {
"url": "https://github.com/theacodes/vscode-qalc/issues"
},
"badges": [
{
"url": "https://flat.badgen.net/badge/sponsor/%E2%9D%A4/purple?icon=github",
"href": "https://github.com/sponsors/theacodes",
"description": "Sponsor me on GitHub!"
}
],
"repository": {
"type": "git",
"url": "https://github.com/theacodes/vscode-qalc.git"
},
"qna": false,
"activationEvents": [
"onCommand:qalc.eval",
"onCommand:qalc.evalAndReplace"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "qalc.eval",
"title": "qalc: calculate current line or selection",
"when": "editorTextFocus && !editorHasMultipleSelections"
},
{
"command": "qalc.evalAndReplace",
"title": "qalc: calculate current line or selection and replace it with the results",
"when": "editorTextFocus && !editorHasMultipleSelections && !editorReadonly"
}
],
"keybindings": [
{
"command": "qalc.evalAndReplace",
"key": "ctrl+shift+/",
"mac": "cmd+shift+/",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Qalc",
"properties": {
"qalc.path": {
"type": "string",
"default": "",
"markdownDescription": "The full filesystem path to the `qalc` command. Usually this is on your `PATH` so the extension can find it automatically, but, if for some reason it's not you can manually specify the path here."
},
"qalc.settings": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
},
"default": [],
"markdownDescription": "A list of settings for qalc. Each one of these is passed to qalc using the `--set` flag. For example, adding `base 16` would be the same as running `set base 16` in `qalc`'s interactive mode. The qalc man page has a [full list of settings](https://qalculate.github.io/manual/qalc.html#SETTINGS)."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.59.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"eslint": "^7.27.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
}
}