graphql-engine/frontend/libs/nx/unplugin-dynamic-asset-loader/project.json
Nicolas Beaussart 53a3803ba4 frontend: setup asset loader for local dev
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7691
GitOrigin-RevId: 4e3926b4105f0bc15dce75b154f6ef60292c5074
2023-01-31 14:56:47 +00:00

48 lines
1.5 KiB
JSON

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