/
package.json
116 lines (116 loc) · 4.49 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
{
"version": "0.8.2",
"aiKey": "ec3632a4-df47-47a4-98dc-8134cacbaf7e",
"preview": true,
"publisher": "salesforce",
"name": "analyticsdx-vscode-templates",
"displayName": "Salesforce Analytics - App Templates",
"description": "Provides support for editing analytics application template files",
"qna": "https://github.com/forcedotcom/analyticsdx-vscode/issues",
"bugs": {
"url": "https://github.com/forcedotcom/analyticsdx-vscode/issues"
},
"repository": {
"url": "https://github.com/forcedotcom/analyticsdx-vscode"
},
"icon": "images/VSCodeAnalyticsTemplates.png",
"galleryBanner": {
"color": "#ECECEC",
"theme": "light"
},
"license": "BSD-3-Clause",
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Other"
],
"dependencies": {
"@salesforce/salesforcedx-utils-vscode": "file:../../lib/salesforcedx-utils-vscode.tgz",
"analyticsdx-template-lint": "0.8.2",
"jsonc-parser": "3.0.0",
"lodash.isequal": "4.5.0",
"request-light": "0.5.8",
"vscode-json-languageserver": "1.3.4",
"vscode-languageclient": "7.0.0"
},
"devDependencies": {
"@salesforce/analyticsdx-test-utils-vscode": "0.8.2",
"@types/chai": "4.3.1",
"@types/lodash.isequal": "4.5.5",
"@types/mocha": "9.1.1",
"@types/node": "16.11.36",
"@types/sinon": "10.0.11",
"@types/tmp": "0.2.2",
"@types/vscode": "1.67.0",
"chai": "4.3.6",
"cross-env": "7.0.3",
"mocha": "10.0.0",
"mocha-junit-reporter": "2.0.2",
"mocha-multi-reporters": "1.5.1",
"nyc": "15.1.0",
"readdirp": "3.6.0",
"shx": "0.3.4",
"sinon": "14.0.0",
"tmp": "0.2.1",
"typescript": "4.6.3"
},
"scripts": {
"vscode:prepublish": "npm prune --production",
"vscode:package": "vsce package",
"vscode:sha256": "node ../../scripts/generate-vsix-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
"compile": "tsc -p ./",
"lint": "tslint --project . --exclude '**/*.json'",
"watch": "tsc -watch -p .",
"clean": "shx rm -rf .vscode-test && shx rm -rf node_modules && shx rm -rf out && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f analyticsdx-vscode-templates-*.vsix && shx rm -f junit-custom-vscodeIntegrationTests.xml",
"pretest": "npm run compile",
"test": "npm run test:unit && npm run test:vscode-integration",
"test:unit": "./node_modules/.bin/nyc ./node_modules/.bin/_mocha --recursive out/test/unit --reporter mocha-multi-reporters --timeout 20000 --reporter mocha-multi-reporters --reporter-options configFile=../../config/mochaUnitTestsConfig.json",
"setup-vscode-integration": "node ../../scripts/link-vscode-integration-dependency analyticsdx-vscode-core analyticsdx-vscode-templates && node ../../scripts/download-vscode-for-tests && node ../../scripts/install-vsix-dependency salesforce.salesforcedx-vscode-core",
"test:vscode-integration": "npm run setup-vscode-integration && node ../../scripts/run-vscode-integration-tests",
"test:vscode-insiders-integration": "cross-env CODE_VERSION=insiders npm run test:vscode-integration",
"setup-vsix-integration": "node ../../scripts/download-vscode-for-tests && node ../../scripts/install-vsix-dependency salesforce.salesforcedx-vscode-core ../analyticsdx-vscode-core/*.vsix ./*.vsix ../analyticsdx-vscode/*.vsix",
"test:vsix-integration": "npm run setup-vsix-integration && node ../../scripts/run-vscode-integration-tests"
},
"extensionDependencies": [
"salesforce.analyticsdx-vscode-core"
],
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc",
"onLanguage:adx-template-json",
"onLanguage:html",
"onLanguage:xml"
],
"main": "./out/src",
"contributes": {
"languages": [
{
"id": "adx-template-json",
"aliases": [
"ADX Template Json",
"adxtemplatejson"
],
"configuration": "./syntaxes/adx-json-language-configuration.json"
}
],
"grammars": [
{
"language": "adx-template-json",
"scopeName": "source.json.comments",
"path": "./syntaxes/adx-json.tmLanguage.json"
}
],
"configuration": {
"title": "Salesforce Analytics - App Templates",
"properties": {
"analyticsdx-vscode-templates.logging.enabled": {
"type": "boolean",
"description": "Specifies whether the extension should log to an Output window. This can be helpful when reporting bugs. Requires a restart after changing.",
"default": false
}
}
}
}
}