-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathproject.json
More file actions
70 lines (70 loc) · 1.84 KB
/
project.json
File metadata and controls
70 lines (70 loc) · 1.84 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
{
"name": "vs-code-extension",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/vs-code-extension/src",
"projectType": "application",
"tags": [],
"targets": {
"build": {
"options": {
"tsConfig": "{projectRoot}/tsconfig.app.json",
"main": "{projectRoot}/src/extension.ts",
"outputFileName": "",
"additionalEntryPoints": ["{projectRoot}/src/language-server.ts"],
"external": ["vscode"],
"platform": "node",
"format": ["cjs"],
"assets": [
{
"input": "{projectRoot}/assets",
"glob": "*",
"output": "/"
}
],
"thirdParty": true
},
"configurations": {
"dev": {
"esbuildOptions": {
"sourcemap": "linked"
},
"minify": false
},
"prod": {
"esbuildOptions": {
"sourcemap": false
},
"minify": true
}
},
"defaultConfiguration": "dev"
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"pack": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
"options": {
"commands": [
"node tools/scripts/delete-dependencies.mjs vs-code-extension",
"touch dist/apps/vs-code-extension/LICENSE",
"node tools/scripts/add-package-json-version.mjs vs-code-extension",
"cd dist/apps/vs-code-extension && npx vsce package --out jayvee.vsix"
],
"parallel": false
}
},
"install": {
"executor": "nx:run-commands",
"dependsOn": ["pack"],
"options": {
"commands": [
"code --install-extension dist/apps/vs-code-extension/jayvee.vsix"
],
"parallel": false
}
}
}
}