40 lines
882 B
JSON
40 lines
882 B
JSON
{
|
|
"name": "dj",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/dj/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"options": {
|
|
"outputPath": "dist/packages/dj",
|
|
"main": "packages/dj/src/index.ts",
|
|
"tsConfig": "packages/dj/tsconfig.lib.json",
|
|
"assets": [
|
|
"packages/dj/*.md"
|
|
]
|
|
}
|
|
},
|
|
"publish": {
|
|
"command": "node tools/scripts/publish.mjs dj {args.ver} {args.tag}",
|
|
"dependsOn": [
|
|
"build"
|
|
]
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/linter:eslint",
|
|
"outputs": [
|
|
"{options.outputFile}"
|
|
],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"packages/dj/**/*.ts"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|