forked from lerna/lerna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.json
44 lines (44 loc) · 1.45 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
{
"name": "@lerna/e2e",
"$schema": "../node_modules/nx/schemas/project-schema.json",
"targets": {
"e2e": {
"executor": "nx:run-commands",
"options": {
"cwd": "e2e",
"parallel": false,
"commands": [
{
"command": "npm run start-verdaccio &",
"description": "Serve verdaccio in the background",
"forwardAllArgs": false
},
{
"command": "npm run prepare-local-publish",
"description": "Prepare the dist/ directory ready for publishing to verdaccio",
"forwardAllArgs": false
},
{
"command": "npm run publish-to-verdaccio -- 999.9.9-e2e.0",
"description": "Publish all the lerna packages to the verdaccio instance",
"forwardAllArgs": false
},
{
"command": "echo \"\n=> Running jest tests, this may take some time as real lerna workspaces are used...\n\"",
"forwardAllArgs": false
},
{
"command": "PUBLISHED_VERSION=999.9.9-e2e.0 jest --config ./jest.config.ts",
"description": "Run the e2e tests and forward any arguments onto the jest process",
"forwardAllArgs": true
},
{
"command": "npm run kill-verdaccio",
"description": "Clean up the verdaccio instance",
"forwardAllArgs": false
}
]
}
}
}
}