-
Notifications
You must be signed in to change notification settings - Fork 15
/
project.json
42 lines (42 loc) · 1008 Bytes
/
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
{
"name": "docs",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/docs/src",
"targets": {
"build": {
"executor": "@nx-plus/docusaurus:browser",
"options": {
"outputPath": "dist/apps/docs"
},
"dependsOn": ["generate"]
},
"serve": {
"executor": "@nx-plus/docusaurus:dev-server",
"options": {
"port": 3000
},
"dependsOn": ["generate"]
},
"generate": {
"executor": "nx:run-commands",
"options": {
"command": "nx start docs-generator",
"parallel": false
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"version-snapshot": {
"executor": "nx:run-commands",
"dependsOn": ["generate"],
"options": {
"commands": ["node tools/scripts/docs/create-new-version-snapshot.mjs"],
"parallel": false
}
}
},
"tags": []
}