vega-frontend-monorepo/libs/utils/project.json
2024-03-07 19:32:13 +00:00

41 lines
1.1 KiB
JSON

{
"name": "utils",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/utils/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/utils",
"main": "libs/utils/src/index.ts",
"tsConfig": "libs/utils/tsconfig.lib.json",
"assets": [],
"project": "libs/utils/package.json",
"compiler": "swc",
"format": ["esm"]
}
},
"publish": {
"command": "node tools/scripts/publish.mjs utils {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/utils/**/*.ts", "libs/utils/package.json"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/utils/jest.config.ts"
}
}
},
"tags": []
}