vega-frontend-monorepo/libs/i18n/project.json
2023-04-25 10:11:55 +01:00

47 lines
1.1 KiB
JSON

{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/i18n/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"outputs": ["{options.outputPath}"],
"format": ["esm", "cjs"],
"options": {
"outputPath": "dist/libs/i18n",
"main": "libs/i18n/src/index.ts",
"tsConfig": "libs/i18n/tsconfig.lib.json",
"assets": ["libs/i18n/*.md"]
}
},
"publish": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "node tools/scripts/publish.mjs i18n {args.ver} {args.tag}"
},
"dependsOn": [
{
"projects": "self",
"target": "build"
}
]
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/i18n/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/i18n"],
"options": {
"jestConfig": "libs/i18n/jest.config.ts",
"passWithNoTests": true
}
}
},
"tags": []
}