-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.97 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
{
"name": "sitedesign-schema",
"displayName": "spfx-schemas",
"description": "Generate extended schemas for SiteScript actions and gulp serve configurations",
"version": "2.2.1",
"publisher": "paulschaeflein",
"icon": "media/spfx-schemas.png",
"galleryBanner": {
"color": "#5B8726",
"theme": "light"
},
"repository": {
"type": "git",
"url": "https://github.com/pschaeflein/vscode-spsd-schema"
},
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Other"
],
"keywords": [
"SharePoint",
"Site Design",
"Site Scripts",
"SharePoint Framework",
"SPFx"
],
"activationEvents": [
"workspaceContains:**/*.sitescript.json",
"workspaceContains:config/serve.json",
"onCommand:sitedesign-schema.refreshSchema",
"onCommand:sitedesign-schema.refreshServeSchema"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "sitedesign-schema.refreshSchema",
"title": "SPFx Schema: Refresh Site Action schema"
},
{
"command": "sitedesign-schema.refreshServeSchema",
"title": "SPFx Schema: Refresh serve.json schema"
}
],
"jsonValidation": [
{
"fileMatch": "*.sitescript.json",
"url": "./sitescript.schema.json"
},
{
"fileMatch": "config/serve.json",
"url": "./serve.schema.json"
}
],
"configuration": [
{
"title": "SPFx Schemas",
"properties": {
"sitedesign-schema.schemaUrl": {
"type": "string",
"default": "https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json",
"description": "URL of the official JSON schema file for Site Actions"
},
"sitedesign-schema.serveSchemaUrl": {
"type": "string",
"default": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
"description": "URL of the official JSON schema file for serve.json"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm 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.47.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"ts-loader": "^8.0.0",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"json-schema-ref-parser": "^9.0.3",
"vscode-extension-telemetry": "^0.1.6"
}
}