-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
145 lines (145 loc) · 4.42 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
{
"name": "live-stylus-compiler",
"displayName": "Live Stylus Compiler",
"description": "*.styl to *.wxss or *.css",
"publisher": "live-stylus-pub",
"version": "0.0.4",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Other",
"Extension Packs"
],
"main": "./out/extension.js",
"activationEvents": [
"workspaceContains:**/*.styl[us]",
"onLanguage:stylus"
],
"contributes": {
"commands": [
{
"command": "liveStylus.command.watchMyStylus",
"title": "Watch stylus",
"category": "Live Stylus"
},
{
"command": "liveStylus.command.donotWatchMyStylus",
"title": "Stop Watching",
"category": "Live Stylus"
},
{
"command": "liveStylus.command.oneTimeCompilestylus",
"title": "Compile stylus - Without Watch Mode",
"category": "Live Stylus"
},
{
"command": "liveStylus.command.openOutputWindow",
"title": "Open Live Stylus Output Window",
"category": "Live Stylus"
}
],
"configuration": {
"title": "Live Stylus Compile Config",
"properties": {
"stylusCompile.settings.formats": {
"type": "array",
"default": [
{
"extensionName": ".wxss",
"savePath": null
}
],
"minItems": 1,
"items": {
"type": "object",
"properties": {
"extensionName": {
"description": "Extension Name of exported css",
"type": "string",
"enum": [
".css",
".min.css",
".wxss"
],
"default": ".css"
},
"savePath": {
"description": "Set the save location of exported CSS.\n Set the relative path from Workspace Root.\n '/' stands for your workspace root. \n Example: /subfolder1/subfolder2. (NOTE: if folder does not exist, folder will be created as well).",
"type": [
"string",
"null"
],
"pattern": "^[\\~|/|\\\\]",
"default": null
}
},
"additionalProperties": false,
"required": [
"extensionName"
]
},
"description": "Set your exported CSS Styles, Formats & save location."
},
"stylusCompile.settings.excludeList": {
"type": "array",
"default": [
"**/node_modules/**",
".vscode/**"
],
"description": "All stylus files inside the folders will be excluded. \n\nExamples: \n'**/node_modules/**',\n'.vscode/**', \n'.history/**' \n\nGlob Patterns are accepted."
},
"stylusCompile.settings.includeItems": {
"type": [
"array",
"null"
],
"default": null,
"description": "This setting is useful when you deals with only few of stylus files. Only mentioned stylus files will be included. \nNOTE: No need to include partial stylus files."
},
"stylusCompile.settings.showOutputWindow": {
"type": "boolean",
"default": true,
"description": "Set this to `false` if you do not want the output window to show.\nNote: You can use the command palette to open the Live Stylus output window.\nDefault is `true`"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.44.0",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.1",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"@types/autoprefixer": "^9.7.2",
"@types/stylus": "^0.48.32",
"autoprefixer": "^9.7.6",
"postcss": "^7.0.27",
"stylus": "^0.54.7"
},
"author": {
"name": "odex",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "[email protected]:odex21/vscode-live-stylus-compiler.git"
},
"license": "MIT"
}