40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "detox-legacy",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages-legacy/detox",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
|
|
"command": "node ./scripts/copy-readme.js detox-legacy"
|
|
},
|
|
"build-base": {
|
|
"executor": "@nx/js:tsc",
|
|
"dependsOn": ["^build-base"],
|
|
"options": {
|
|
"main": "packages-legacy/detox/index.ts",
|
|
"tsConfig": "packages-legacy/detox/tsconfig.json",
|
|
"outputPath": "build/packages/detox-legacy",
|
|
"assets": [
|
|
{
|
|
"input": "packages-legacy/detox",
|
|
"glob": "**/*.json",
|
|
"ignore": ["**/tsconfig*.json", "project.json"],
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "packages-legacy/detox",
|
|
"glob": "**/*.d.ts",
|
|
"output": "/"
|
|
},
|
|
{
|
|
"input": "",
|
|
"glob": "LICENSE",
|
|
"output": "/"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|