-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.19 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 2.19 KB
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
{
"name": "platform-settings",
"displayName": "platform-settings",
"publisher": "runarsf",
"author": "runarsf",
"license": "ISC",
"description": "Platform-specific VSCode settings.",
"version": "1.0.0",
"engines": {
"vscode": "^1.38.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "extension.refreshSettings",
"title": "Refresh platform settings."
}
],
"configuration": {
"type": "object",
"title": "Platform Settings",
"properties": {
"platformSettings.platforms": {
"type": "object",
"title": "Platform definitions.",
"markdownDescription": "Define each platform. Supports operating system (`linux`, `win32`, `darwin`, `freebsd`, and `sunos`), computer `hostname`, and custom NodeJS condition if `platformSettings.condition` is specified. Each platform supports `nodes{}` and `remove[]`."
},
"platformSettings.autoLoad": {
"type": "boolean",
"title": "Automatically load platform settings.",
"markdownDescription": "Specifies whether platform-settings should be applied automatically on startup.",
"default": false
},
"platformSettings.placebo": {
"type": "string",
"title": "Used for testing."
},
"platformSettings.condition": {
"type": "string",
"title": "Custom condition.",
"markdownDescription": "Specify a custom NodeJS condition. For example `os.release()`."
}
}
}
},
"scripts": {
"test": "node ./test/runTest.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/runarsf/platform-settings.git"
},
"bugs": {
"url": "https://github.com/runarsf/platform-settings/issues"
},
"homepage": "https://github.com/runarsf/platform-settings",
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.38.0",
"eslint": "^5.13.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"typescript": "^3.3.1",
"vscode-test": "^1.2.0"
}
}