-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.json
130 lines (130 loc) · 3.25 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"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 prepare-loaders fishing-map", "nx build fishing-map --parallel"],
"parallel": false
}
},
"build:app": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/fishing-map"
},
"configurations": {
"production": {}
}
},
"build": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx prepare-loaders fishing-map",
"nx clean-next fishing-map",
"nx build:app fishing-map"
],
"parallel": false
}
},
"start": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx clean-locales fishing-map",
"nx prepare-loaders fishing-map",
"nx serve i18n-labels",
"nx serve fishing-map --hostname=0.0.0.0"
],
"parallel": true
}
},
"prepare-loaders": {
"executor": "nx:run-commands",
"options": {
"commands": [
"nx dist:workers deck-loaders",
"mkdir -p apps/fishing-map/public/workers",
"shx cp -R dist/libs/deck-loaders/workers/**/*.js apps/fishing-map/public/workers/"
],
"parallel": false
}
},
"clean-locales": {
"executor": "nx:run-commands",
"outputs": [],
"options": {
"commands": ["rm -rf dist/apps/fishing-map/public/locales"]
}
},
"clean-next": {
"executor": "nx:run-commands",
"outputs": [],
"options": {
"commands": ["rm -rf dist/apps/fishing-map", "rm -rf .next"]
}
},
"serve": {
"executor": "@nx/next:server",
"options": {
"buildTarget": "fishing-map:build",
"dev": true,
"port": 3003,
"turbo": true
},
"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"
}
}
},
"tags": []
}