This repository has been archived by the owner on Apr 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
124 lines (124 loc) · 3.45 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
{
"name": "vscode-csscomb",
"displayName": "CSScomb",
"description": "Coding style formatter for CSS, Less, SCSS or Sass",
"version": "5.3.2",
"publisher": "mrmlnc",
"license": "MIT",
"engines": {
"vscode": "^1.36.0"
},
"icon": "icon.png",
"author": {
"name": "Denis Malinochkin",
"url": "www.canonium.com"
},
"homepage": "https://github.com/mrmlnc/vscode-csscomb/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/mrmlnc/vscode-csscomb"
},
"keywords": [
"CSScomb",
"CSS",
"Less",
"Sass",
"SCSS"
],
"categories": [
"Formatters"
],
"activationEvents": [
"onCommand:csscomb.execute",
"onLanguage:css",
"onLanguage:less",
"onLanguage:sass",
"onLanguage:sass-indented",
"onLanguage:scss"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "csscomb.execute",
"title": "CSSComb: Format styles"
}
],
"configuration": {
"type": "object",
"title": "CSScomb configuration",
"properties": {
"csscomb.preset": {
"type": [
"object",
"string"
],
"default": {},
"description": "One of the predefined configs (csscomb, yandex, zen) or custom config (object) or path to config.",
"scope": "resource"
},
"csscomb.ignoreFilesOnSave": {
"type": "array",
"default": [],
"description": "An optional array of glob-patterns to ignore files on save.",
"scope": "resource"
},
"csscomb.supportEmbeddedStyles": {
"type": "boolean",
"default": true,
"description": "Support embedded CSS into HTML.",
"scope": "resource"
},
"csscomb.formatOnSave": {
"type": "boolean",
"default": false,
"description": "Auto format on save.",
"scope": "resource"
},
"csscomb.syntaxAssociations": {
"type": "object",
"default": {},
"description": "Configuration of syntax associations.",
"scope": "resource"
}
}
},
"jsonValidation": [
{
"fileMatch": "*csscomb.json",
"url": "http://json.schemastore.org/csscomb"
}
]
},
"devDependencies": {
"@types/micromatch": "^4.0.1",
"@types/mocha": "^7.0.2",
"@types/node": "^8.0.31",
"@types/proxyquire": "^1.3.28",
"@types/vscode": "1.36.0",
"mocha": "^7.1.2",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"tslint": "^6.1.2",
"tslint-config-xo": "^2.0.0",
"typescript": "^2.5.3"
},
"dependencies": {
"config-profiler": "2.0.3",
"csscomb": "4.3.0",
"micromatch": "4.0.2",
"tslib": "1.11.1"
},
"scripts": {
"clean": "rimraf out",
"lint": "tslint src/**/*.ts -p .",
"compile": "tsc",
"test": "mocha out/{,**/}*.spec.js -s 0",
"csscomb:build": "cd ./csscomb.js && node ./node_modules/@babel/cli/bin/babel.js --plugins @babel/plugin-transform-destructuring --loose all src --out-dir lib",
"csscomb:prepare": "cd ./csscomb.js && npm ci --ignore-scripts",
"build:plugin": "npm run clean && npm run lint && npm run compile && npm test",
"build:csscomb": "npm run csscomb:prepare && npm run csscomb:build",
"build": "npm run build:csscomb && npm run build:plugin",
"watch": "npm run clean && npm run lint && npm run compile -- --sourceMap --watch"
}
}