40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "pieces-framework",
|
|
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "packages/pieces/community/framework/src",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/packages/pieces/community/framework",
|
|
"main": "packages/pieces/community/framework/src/index.ts",
|
|
"tsConfig": "packages/pieces/community/framework/tsconfig.lib.json",
|
|
"assets": ["packages/pieces/community/framework/*.md"],
|
|
"buildableProjectDepsInPackageJsonType": "dependencies",
|
|
"updateBuildableProjectDepsInPackageJson": true
|
|
}
|
|
},
|
|
"publish": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "node tools/scripts/publish.mjs pieces {args.ver} {args.tag}"
|
|
},
|
|
"dependsOn": ["build"]
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"]
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "packages/pieces/community/framework/jest.config.ts"
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|