-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathproject.json
62 lines (62 loc) · 1.49 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
{
"name": "ove",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/ove/src",
"projectType": "library",
"tags": [],
"targets": {
"start": {
"executor": "nx:run-commands",
"options": {
"commands": ["cd packages/ove && yarn vite"]
},
"configurations": {
"ci": {
"readyWhen": "ready in"
}
}
},
"publish": {},
"publish-beta": {},
"build_umd": {
"command": "nx run ove:build --mode=umd"
},
"build_simple": {
"command": "cd packages/ove && vite build --mode={args.mode}",
"configurations": {
"demo": {
"args": "--mode=demo"
}
}
},
"build": {
"configurations": {
"umd": {
"mode": "umd"
},
"demo": {
"mode": "demo",
"base": "./",
"outputPath": "demo-dist/ove"
},
"production": {
"mode": "production"
}
},
"dependsOn": ["build_lib"]
},
"pushToGhPages": {
//tnw: waiting for https://github.com/nrwl/nx/issues/15064 to be able to work with "build:demo", until then just run build:demo manually first
// "dependsOn": ["build:demo"],
"command": "yarn gh-pages -a -d demo-dist"
},
"launch-e2e": {},
"launch-e2e-playwright": {
"command": "nx run ove:start:ci & cd packages/ove && yarn playwright test --ui"
},
"e2e": {},
"lint": {},
"test": {},
"version": {}
}
}