mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Add Nx project.json configurations and test scripts to all 8 nested libraries: - @bitwarden/send-ui - @bitwarden/generator-core - @bitwarden/generator-components - @bitwarden/vault-export-core - @bitwarden/vault-export-ui - @bitwarden/generator-history - @bitwarden/generator-legacy - @bitwarden/generator-navigation All libraries now have working nx build, nx lint, and nx test commands.
42 lines
907 B
JSON
42 lines
907 B
JSON
{
|
|
"name": "@bitwarden/send-ui",
|
|
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/tools/send/send-ui/src",
|
|
"projectType": "library",
|
|
"tags": ["scope:send-ui", "type:lib"],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-script",
|
|
"dependsOn": [],
|
|
"options": {
|
|
"script": "build"
|
|
}
|
|
},
|
|
"build:watch": {
|
|
"executor": "nx:run-script",
|
|
"options": {
|
|
"script": "build:watch"
|
|
}
|
|
},
|
|
"clean": {
|
|
"executor": "nx:run-script",
|
|
"options": {
|
|
"script": "clean"
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/tools/send/send-ui/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "nx:run-script",
|
|
"options": {
|
|
"script": "test"
|
|
}
|
|
}
|
|
}
|
|
}
|