-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
project.json
61 lines (61 loc) 路 1.39 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
{
"root": "services/todos",
"projectType": "application",
"sourceRoot": "services/todos/src",
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"cwd": "services/todos",
"color": true,
"command": "sls package"
}
},
"serve": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"cwd": "services/todos",
"color": true,
"command": "sls offline start"
}
},
"deploy": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"cwd": "services/todos",
"color": true,
"command": "sls deploy --verbose"
},
"dependsOn": [
{
"target": "deploy",
"projects": "dependencies"
}
]
},
"remove": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"cwd": "services/todos",
"color": true,
"command": "sls remove"
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["services/todos/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/services/todos"],
"options": {
"jestConfig": "services/todos/jest.config.js",
"passWithNoTests": true
}
}
},
"tags": ["service"],
"implicitDependencies": ["core"]
}