|
| 1 | +{ |
| 2 | + "$schema": "../../node_modules/nx/schemas/project-schema.json", |
| 3 | + "name": "@data-driven-forms/ant-component-mapper", |
| 4 | + "root": "packages/ant-component-mapper", |
| 5 | + "sourceRoot": "packages/ant-component-mapper/src", |
| 6 | + "projectType": "library", |
| 7 | + "targets": { |
| 8 | + "build": { |
| 9 | + "executor": "nx:run-commands", |
| 10 | + "outputs": [ |
| 11 | + "{projectRoot}/index.js", |
| 12 | + "{projectRoot}/esm", |
| 13 | + "{projectRoot}/*.d.ts" |
| 14 | + ], |
| 15 | + "options": { |
| 16 | + "command": "yarn build", |
| 17 | + "cwd": "packages/ant-component-mapper" |
| 18 | + }, |
| 19 | + "dependsOn": ["^build"], |
| 20 | + "cache": true |
| 21 | + }, |
| 22 | + "build:cjs": { |
| 23 | + "executor": "nx:run-commands", |
| 24 | + "outputs": ["{projectRoot}/*.js"], |
| 25 | + "options": { |
| 26 | + "command": "yarn build:cjs", |
| 27 | + "cwd": "packages/ant-component-mapper" |
| 28 | + }, |
| 29 | + "cache": true |
| 30 | + }, |
| 31 | + "build:esm": { |
| 32 | + "executor": "nx:run-commands", |
| 33 | + "outputs": ["{projectRoot}/esm"], |
| 34 | + "options": { |
| 35 | + "command": "yarn build:esm", |
| 36 | + "cwd": "packages/ant-component-mapper" |
| 37 | + }, |
| 38 | + "cache": true |
| 39 | + }, |
| 40 | + "test": { |
| 41 | + "executor": "nx:run-commands", |
| 42 | + "options": { |
| 43 | + "command": "yarn test", |
| 44 | + "cwd": "packages/ant-component-mapper" |
| 45 | + }, |
| 46 | + "cache": true |
| 47 | + }, |
| 48 | + "typecheck": { |
| 49 | + "executor": "@nx/js:tsc", |
| 50 | + "options": { |
| 51 | + "main": "packages/ant-component-mapper/src/index.js", |
| 52 | + "tsConfig": "packages/ant-component-mapper/tsconfig.json", |
| 53 | + "outputPath": "packages/ant-component-mapper/dist" |
| 54 | + }, |
| 55 | + "outputs": ["{options.outputPath}"], |
| 56 | + "cache": true |
| 57 | + }, |
| 58 | + "start": { |
| 59 | + "executor": "nx:run-commands", |
| 60 | + "options": { |
| 61 | + "command": "yarn start", |
| 62 | + "cwd": "packages/ant-component-mapper" |
| 63 | + } |
| 64 | + }, |
| 65 | + "vendor": { |
| 66 | + "executor": "nx:run-commands", |
| 67 | + "options": { |
| 68 | + "command": "yarn vendor", |
| 69 | + "cwd": "packages/ant-component-mapper" |
| 70 | + } |
| 71 | + } |
| 72 | + }, |
| 73 | + "implicitDependencies": ["@data-driven-forms/common"] |
| 74 | +} |
0 commit comments