This repository has been archived by the owner on Apr 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
81 lines (81 loc) · 2.75 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
{
"name": "color-variable-replace",
"displayName": "color-variable-replace",
"description": "replace color with color variable",
"version": "2.0.0",
"publisher": "color-variable-replace",
"engines": {
"vscode": "^1.13.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:Stylus",
"onLanguage:Less",
"onLanguage:Sass",
"onCommand:extension.colorReplace"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "extension.colorReplace",
"title": "color replace"
}
],
"keybindings": [
{
"command": "extension.colorReplace",
"key": "ctrl+shift+c",
"mac": "ctrl+shift+c",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"title": "colorReplace Configuration",
"properties": {
"colorReplace.variableFiles": {
"type": "array",
"default": [],
"description": "the paths of file which in defines color variables"
},
"colorReplace.prior": {
"type": "array",
"default": [],
"description": "the priority of variable names, support string and regular expression"
},
"colorReplace.unReplaceWarn": {
"type": "boolean",
"default": true,
"description": "give warning message when there is any color value that can't find corresponding variable name"
},
"colorReplace.insertType": {
"type": "string",
"default": "var",
"description": "when auto complete, use color value or variable name, value is 'var' or 'value'"
},
"colorReplace.onSave": {
"type": "boolean",
"default": false,
"description": "if auto replace when file save"
}
}
}
},
"scripts": {
"vscode:publish": "vsce publish 1.0.5 --baseImagesUrl https://github.com/SimonTart/color-variable-replace/blob/master",
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.79",
"mocha": "^2.3.3",
"typescript": "^2.0.3",
"vscode": "^1.0.0"
}
}