-
Notifications
You must be signed in to change notification settings - Fork 2
/
project.json
103 lines (103 loc) · 2.47 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
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
{
"name": "fishing-map",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/fishing-map",
"projectType": "application",
"targets": {
"deploy": {
"executor": "nx:run-commands",
"options": {
"commands": ["nx build fishing-map --parallel"],
"parallel": false
}
},
"build": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/fishing-map"
},
"configurations": {
"production": {}
}
},
"start": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx clean-locales fishing-map",
"nx serve i18n-labels",
"nx serve fishing-map --hostname=0.0.0.0"
],
"parallel": true
}
},
"clean-locales": {
"executor": "nx:run-commands",
"outputs": [],
"options": {
"commands": ["rm -rf dist/apps/fishing-map/public/locales"]
}
},
"serve": {
"executor": "@nx/next:server",
"options": {
"buildTarget": "fishing-map:build",
"dev": true,
"port": 3003
},
"configurations": {
"production": {
"buildTarget": "fishing-map:build:production",
"dev": false
}
}
},
"export": {
"executor": "@nx/next:export",
"options": {
"buildTarget": "fishing-map:build:production"
}
},
"i18n": {
"executor": "nx:run-script",
"options": {
"script": "i18n:parser"
}
},
"rename-export": {
"executor": "nx:run-commands",
"options": {
"commands": [
"rm -rf dist/apps/fishing-map/map",
"mv dist/apps/fishing-map/exported dist/apps/fishing-map/map"
],
"parallel": false
}
},
"serve:build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx build fishing-map --parallel",
"nx rename-export fishing-map",
"serve dist/apps/fishing-map"
],
"parallel": false
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/apps/fishing-map"],
"options": {
"jestConfig": "apps/fishing-map/jest.config.ts"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
}
},
"tags": []
}