mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* chore: nx migrate + resolve form-data security alert https://github.com/NativeScript/NativeScript/security/dependabot/43 * fix(security): babel/helpers https://github.com/NativeScript/NativeScript/security/dependabot/27
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"name": "workspace-plugin",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "tools/workspace-plugin/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/tools/workspace-plugin",
|
|
"main": "tools/workspace-plugin/src/index.ts",
|
|
"tsConfig": "tools/workspace-plugin/tsconfig.lib.json",
|
|
"assets": [
|
|
{
|
|
"input": "./tools/workspace-plugin/src",
|
|
"glob": "**/!(*.ts)",
|
|
"output": "./src"
|
|
},
|
|
{
|
|
"input": "./tools/workspace-plugin/src",
|
|
"glob": "**/*.d.ts",
|
|
"output": "./src"
|
|
},
|
|
{
|
|
"input": "./tools/workspace-plugin",
|
|
"glob": "generators.json",
|
|
"output": "."
|
|
},
|
|
{
|
|
"input": "./tools/workspace-plugin",
|
|
"glob": "executors.json",
|
|
"output": "."
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["tools/workspace-plugin/**/*.ts", "tools/workspace-plugin/package.json", "tools/workspace-plugin/generators.json"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "tools/workspace-plugin/jest.config.ts"
|
|
}
|
|
}
|
|
}
|
|
}
|