Files
libs/packages/helpers/project.json
loveyoubaby5120 167b1d454c feat: helpers lib
2023-02-16 01:32:12 +08:00

42 lines
1.1 KiB
JSON

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