-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
68 lines (68 loc) · 1.58 KB
/
project.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
{
"name": "laser-cli",
"$schema": "node_modules/nx/schemas/project-schema.json",
"includedScripts": [],
"sourceRoot": "src",
"projectType": "application",
"tags": [],
"targets": {
"build": {
"executor": "@nx/esbuild:esbuild",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"platform": "node",
"outputPath": "dist/laser-cli",
"format": ["cjs"],
"main": "src/main.ts",
"tsConfig": "tsconfig.app.json",
"assets": [
{
"glob": "README.md",
"input": "",
"output": "/"
},
{
"glob": "LICENSE",
"input": "",
"output": "/"
}
],
"esbuildOptions": {
"sourcemap": true,
"outExtension": {
".js": ".js"
}
}
},
"configurations": {
"development": {},
"production": {
"esbuildOptions": {
"sourcemap": false,
"outExtension": {
".js": ".js"
}
}
}
}
},
"serve": {
"executor": "@nx/js:node",
"defaultConfiguration": "development",
"dependsOn": ["build"],
"options": {
"buildTarget": "laser-cli:build",
"runBuildTargetDependencies": false
},
"configurations": {
"development": {
"buildTarget": "laser-cli:build:development"
},
"production": {
"buildTarget": "laser-cli:build:production"
}
}
}
}
}