-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.json
71 lines (71 loc) · 1.94 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
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"name": "bipartite-matching",
"sourceRoot": "packages/bipartite-matching/src",
"projectType": "library",
"tags": [],
"targets": {
"clean": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/bipartite-matching",
"parallel": false,
"commands": ["rimraf lib"]
}
},
"build": {
"executor": "nx:run-commands",
"dependsOn": ["clean", "^build"],
"options": {
"cwd": "packages/bipartite-matching",
"parallel": false,
"commands": ["rollup -c ../../rollup.config.mjs"],
"env": {
"NODE_ENV": "production",
"ROLLUP_SHOULD_SOURCEMAP": "true"
}
},
"configurations": {
"production": {
"env": {
"NODE_ENV": "production",
"ROLLUP_SHOULD_SOURCEMAP": "false"
}
}
}
},
"watch": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/bipartite-matching",
"parallel": false,
"commands": ["rollup -c ../../rollup.config.mjs -w"],
"env": {
"NODE_ENV": "development",
"ROLLUP_SHOULD_SOURCEMAP": "true"
}
}
},
"test": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/bipartite-matching",
"commands": [
"node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
]
},
"configurations": {
"coverage": {
"commands": [
"node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir . --coverage"
]
},
"update": {
"commands": [
"node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir . -u"
]
}
}
}
}
}