52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "graph/client-e2e/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"e2e-base": {
|
|
"executor": "@nrwl/cypress:cypress",
|
|
"options": {
|
|
"tsConfig": "graph/client-e2e/tsconfig.e2e.json"
|
|
},
|
|
"configurations": {
|
|
"dev": {
|
|
"cypressConfig": "graph/client-e2e/cypress.json",
|
|
"devServerTarget": "graph-client:serve",
|
|
"baseUrl": "http://localhost:4201"
|
|
},
|
|
"watch": {
|
|
"cypressConfig": "graph/client-e2e/cypress-watch-mode.json",
|
|
"devServerTarget": "graph-client:serve:watch",
|
|
"baseUrl": "http://localhost:4204"
|
|
},
|
|
"release": {
|
|
"cypressConfig": "graph/client-e2e/cypress-release.json",
|
|
"devServerTarget": "graph-client:serve:release",
|
|
"baseUrl": "http://localhost:4203"
|
|
}
|
|
},
|
|
"defaultConfiguration": "dev"
|
|
},
|
|
"e2e": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"commands": [
|
|
"npx nx e2e-base e2e-graph-client -c dev",
|
|
"npx nx e2e-base e2e-graph-client -c watch",
|
|
"npx nx e2e-base e2e-graph-client -c release"
|
|
],
|
|
"parallel": false
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["graph/client-e2e/**/*.ts"]
|
|
}
|
|
}
|
|
},
|
|
"implicitDependencies": ["graph-client"]
|
|
}
|