|
| 1 | +{ |
| 2 | + "name": "providers-growthbook-client", |
| 3 | + "$schema": "../../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "sourceRoot": "libs/providers/growthbook-client/src", |
| 5 | + "projectType": "library", |
| 6 | + "targets": { |
| 7 | + "publish": { |
| 8 | + "executor": "nx:run-commands", |
| 9 | + "options": { |
| 10 | + "command": "npm run publish-if-not-exists", |
| 11 | + "cwd": "dist/libs/providers/growthbook-client" |
| 12 | + }, |
| 13 | + "dependsOn": [ |
| 14 | + { |
| 15 | + "projects": "self", |
| 16 | + "target": "package" |
| 17 | + } |
| 18 | + ] |
| 19 | + }, |
| 20 | + "lint": { |
| 21 | + "executor": "@nx/linter:eslint", |
| 22 | + "outputs": ["{options.outputFile}"], |
| 23 | + "options": { |
| 24 | + "lintFilePatterns": [ |
| 25 | + "libs/providers/growthbook-client/**/*.ts", |
| 26 | + "libs/providers/growthbook-client/package.json" |
| 27 | + ] |
| 28 | + } |
| 29 | + }, |
| 30 | + "test": { |
| 31 | + "executor": "@nx/jest:jest", |
| 32 | + "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], |
| 33 | + "options": { |
| 34 | + "jestConfig": "libs/providers/growthbook-client/jest.config.ts", |
| 35 | + "passWithNoTests": true |
| 36 | + }, |
| 37 | + "configurations": { |
| 38 | + "ci": { |
| 39 | + "ci": true, |
| 40 | + "codeCoverage": true |
| 41 | + } |
| 42 | + } |
| 43 | + }, |
| 44 | + "package": { |
| 45 | + "executor": "@nx/rollup:rollup", |
| 46 | + "outputs": ["{options.outputPath}"], |
| 47 | + "options": { |
| 48 | + "project": "libs/providers/growthbook-client/package.json", |
| 49 | + "outputPath": "dist/libs/providers/growthbook-client", |
| 50 | + "entryFile": "libs/providers/growthbook-client/src/index.ts", |
| 51 | + "tsConfig": "libs/providers/growthbook-client/tsconfig.lib.json", |
| 52 | + "buildableProjectDepsInPackageJsonType": "dependencies", |
| 53 | + "compiler": "tsc", |
| 54 | + "generateExportsField": true, |
| 55 | + "umdName": "growthbook-client", |
| 56 | + "external": "all", |
| 57 | + "format": ["cjs", "esm"], |
| 58 | + "assets": [ |
| 59 | + { |
| 60 | + "glob": "package.json", |
| 61 | + "input": "./assets", |
| 62 | + "output": "./src/" |
| 63 | + }, |
| 64 | + { |
| 65 | + "glob": "LICENSE", |
| 66 | + "input": "./", |
| 67 | + "output": "./" |
| 68 | + }, |
| 69 | + { |
| 70 | + "glob": "README.md", |
| 71 | + "input": "./libs/providers/growthbook-client", |
| 72 | + "output": "./" |
| 73 | + } |
| 74 | + ] |
| 75 | + } |
| 76 | + } |
| 77 | + }, |
| 78 | + "tags": [] |
| 79 | +} |
0 commit comments