65 lines
1.5 KiB
JSON
65 lines
1.5 KiB
JSON
{
|
|
"name": "ns-paystack",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/ns-paystack/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"options": {
|
|
"outputPath": "dist/libs/ns-paystack",
|
|
"tsConfig": "libs/ns-paystack/tsconfig.lib.json",
|
|
"packageJson": "libs/ns-paystack/package.json",
|
|
"main": "libs/ns-paystack/src/index.ts",
|
|
"assets": [
|
|
"libs/ns-paystack/*.md"
|
|
]
|
|
}
|
|
},
|
|
"publish": {
|
|
"command": "node tools/scripts/publish.mjs ns-paystack {args.ver} {args.tag}",
|
|
"dependsOn": [
|
|
"build"
|
|
]
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/linter:eslint",
|
|
"outputs": [
|
|
"{options.outputFile}"
|
|
],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"libs/ns-paystack/**/*.ts"
|
|
]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": [
|
|
"{workspaceRoot}/coverage/{projectRoot}"
|
|
],
|
|
"options": {
|
|
"jestConfig": "libs/ns-paystack/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"ci": true,
|
|
"codeCoverage": true
|
|
}
|
|
}
|
|
},
|
|
"release": {
|
|
"executor": "nx:run-commands",
|
|
"outputs": [],
|
|
"options": {
|
|
"command": "npx semantic-release-plus --debug --extends ./libs/ns-paystack/release.config.js",
|
|
"parallel": false
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|