mirror of
https://github.com/bitwarden/clients.git
synced 2025-12-10 00:08:42 -06:00
build: add nx configuration in libs/components (#16545)
This commit is contained in:
parent
e1f32bdd4b
commit
c688eed531
41
libs/components/project.json
Normal file
41
libs/components/project.json
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"name": "@bitwarden/components",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "libs/components/src",
|
||||
"projectType": "library",
|
||||
"tags": ["scope:components", "type:lib"],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "nx:run-script",
|
||||
"dependsOn": [],
|
||||
"options": {
|
||||
"script": "build"
|
||||
}
|
||||
},
|
||||
"build:watch": {
|
||||
"executor": "nx:run-script",
|
||||
"options": {
|
||||
"script": "watch"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": ["{options.outputFile}"],
|
||||
"options": {
|
||||
"lintFilePatterns": ["libs/components/**/*.ts"]
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"executor": "nx:run-script",
|
||||
"options": {
|
||||
"script": "test"
|
||||
}
|
||||
},
|
||||
"test:watch": {
|
||||
"executor": "nx:run-script",
|
||||
"options": {
|
||||
"script": "test:watch"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user