graphql-engine/frontend/libs/nx/storybook-addon-console-env/project.json
Nicolas Beaussart 9667164942 frontend: introduce tags system for libs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9063
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 1f5918b1e56452967a93739ffc21b4cfafbd84e4
2023-05-09 10:43:51 +00:00

72 lines
2.0 KiB
JSON

{
"name": "nx-storybook-addon-console-env",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/nx/storybook-addon-console-env/src",
"projectType": "library",
"tags": ["scope:shared", "type:feature", "meta:package"],
"targets": {
"build": {
"executor": "@nrwl/js:swc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/nx/storybook-addon-console-env",
"main": "libs/nx/storybook-addon-console-env/src/lib/index.ts",
"tsConfig": "libs/nx/storybook-addon-console-env/tsconfig.lib.json",
"assets": [
"libs/nx/storybook-addon-console-env/*.md",
{
"glob": "**/*",
"input": "libs/nx/storybook-addon-console-env/prod/",
"output": ""
}
]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"libs/nx/storybook-addon-console-env/**/*.{ts,tsx,js,jsx,json}"
]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": [
"{workspaceRoot}/coverage/libs/nx/storybook-addon-console-env"
],
"options": {
"jestConfig": "libs/nx/storybook-addon-console-env/jest.config.ts",
"passWithNoTests": true
}
},
"storybook": {
"dependsOn": ["build"],
"executor": "@nrwl/storybook:storybook",
"options": {
"uiFramework": "@storybook/react",
"port": 4400,
"configDir": "libs/nx/storybook-addon-console-env/.storybook"
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"publish": {
"executor": "nx:run-commands",
"options": {
"command": "node tools/scripts/publish.mjs nx-storybook-addon-console-env {args.ver} {args.tag}"
},
"dependsOn": [
{
"projects": "self",
"target": "build"
}
]
}
}
}