-
Notifications
You must be signed in to change notification settings - Fork 255
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.67 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.67 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
{
"name": <%- JSON.stringify(name) %>,
"displayName": <%- JSON.stringify(displayName) %>,
"description": <%- JSON.stringify(description) %>,
"version": "0.0.1",
"engines": {
"vscode": <%- JSON.stringify(vsCodeEngine) %>
},
"categories": [
"Other"
],
"activationEvents": [
<%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
],
"main": "./dist/extension.js",<% if (insiders) { %>
"enabledApiProposals": [],<% } %>
"contributes": {
"commands": [
{
"command": <%- JSON.stringify(`${name}.helloWorld`) %>,
"title": "Hello World"
}
]
},
"scripts": {
"vscode:prepublish": "<%= pkgManager %> run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "<%= pkgManager %> run compile-tests && <%= pkgManager %> run compile && <%= pkgManager %> run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"<% if (insiders) { %>,
"update-proposed-api": "vscode-dts dev"<% } %>
},
"devDependencies": {
<%- dep("@types/vscode") %>,
<%- dep("@types/glob") %>,
<%- dep("@types/mocha") %>,
<%- dep("@types/node") %>,
<%- dep("@types/source-map-support") %>,
<%- dep("@typescript-eslint/eslint-plugin") %>,
<%- dep("@typescript-eslint/parser") %>,
<%- dep("eslint") %>,
<%- dep("glob") %>,
<%- dep("mocha") %>,
<%- dep("source-map-support") %>,
<%- dep("typescript") %>,
<%- dep("ts-loader") %>,
<%- dep("webpack") %>,
<%- dep("webpack-cli") %>,
<%- dep("@vscode/test-electron") %><% if (insiders) { %>,
<%- dep("vscode-dts") %><% } %>
}
}