forked from nmsmith22389/vscode-incrementor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
153 lines (153 loc) · 3.54 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "incrementor",
"displayName": "Incrementor",
"description": "Advanced increment / decrement actions for just about anything!",
"icon": "img/icon.png",
"version": "0.1.5",
"publisher": "usernamehw",
"license": "MIT",
"bugs": {
"url": "https://github.com/usernamehw/vscode-incrementor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/usernamehw/vscode-incrementor.git"
},
"categories": [
"Formatters",
"Other"
],
"keywords": [
"increment",
"decrement",
"incrementor",
"format",
"numbers",
"enum",
"enumerators",
"value",
"loop"
],
"engines": {
"vscode": "^1.60.0"
},
"main": "./dist/extension",
"activationEvents": [
"onCommand:incrementor.incByCustomValue",
"onCommand:incrementor.incByOne",
"onCommand:incrementor.decByOne",
"onCommand:incrementor.incByTenth",
"onCommand:incrementor.decByTenth",
"onCommand:incrementor.incByTen",
"onCommand:incrementor.decByTen"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Incrementor",
"properties": {
"incrementor.decimalPlaces": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 10,
"description": "The number of decimal places to round incremented/decremented decimal numbers to.\n(a value of 0 will disable rounding)"
},
"incrementor.enums": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"default": [
[
"true",
"false"
],
[
"let",
"const"
]
],
"description": "A group of arrays, each containing a list of enums to cycle through."
},
"incrementor.loopEnums": {
"type": "boolean",
"default": true,
"description": "After reaching the end of an Enum set, start back at the beginning."
}
}
},
"commands": [
{
"command": "incrementor.incByCustomValue",
"title": "Increment by custom value",
"category": "Incrementor"
},
{
"command": "incrementor.incByOne",
"title": "Increment by 1",
"category": "Incrementor"
},
{
"command": "incrementor.decByOne",
"title": "Decrement by 1",
"category": "Incrementor"
},
{
"command": "incrementor.incByTenth",
"title": "Increment by 0.1",
"category": "Incrementor"
},
{
"command": "incrementor.decByTenth",
"title": "Decrement by 0.1",
"category": "Incrementor"
},
{
"command": "incrementor.incByTen",
"title": "Increment by 10",
"category": "Incrementor"
},
{
"command": "incrementor.decByTen",
"title": "Decrement by 10",
"category": "Incrementor"
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production --color",
"watch": "webpack --mode development --watch --stats minimal",
"watch-tests": "tsc -watch -p ./",
"test": "node ./dist/test/runTest.js"
},
"devDependencies": {
"@soda/friendly-errors-webpack-plugin": "^1.8.1",
"@types/chai": "^4.3.3",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.182",
"@types/mocha": "^7.0.2",
"@types/node": "14.x",
"@types/vscode": "1.60.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"chai": "^4.3.6",
"eslint": "^8.21.0",
"eslint-plugin-no-autofix": "^1.2.3",
"glob": "^7.2.3",
"mocha": "^7.2.0",
"source-map-support": "^0.5.21",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"vscode-test": "^1.6.1",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"bignumber.js": "^9.1.0",
"lodash": "^4.17.21"
}
}