|
| 1 | +{ |
| 2 | + "name": "angular-three-cannon-plugin", |
| 3 | + "$schema": "../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "sourceRoot": "libs/cannon-plugin/src", |
| 5 | + "projectType": "library", |
| 6 | + "targets": { |
| 7 | + "build": { |
| 8 | + "executor": "@nx/js:tsc", |
| 9 | + "outputs": ["{options.outputPath}"], |
| 10 | + "options": { |
| 11 | + "outputPath": "dist/libs/cannon/plugin", |
| 12 | + "main": "libs/cannon-plugin/src/index.ts", |
| 13 | + "tsConfig": "libs/cannon-plugin/tsconfig.lib.json", |
| 14 | + "assets": [ |
| 15 | + "libs/cannon-plugin/*.md", |
| 16 | + { |
| 17 | + "input": "./libs/cannon-plugin/src", |
| 18 | + "glob": "**/!(*.ts)", |
| 19 | + "output": "./src" |
| 20 | + }, |
| 21 | + { |
| 22 | + "input": "./libs/cannon-plugin/src", |
| 23 | + "glob": "**/*.d.ts", |
| 24 | + "output": "./src" |
| 25 | + }, |
| 26 | + { |
| 27 | + "input": "./libs/cannon-plugin", |
| 28 | + "glob": "generators.json", |
| 29 | + "output": "." |
| 30 | + } |
| 31 | + ] |
| 32 | + } |
| 33 | + }, |
| 34 | + "lint": { |
| 35 | + "executor": "@nx/linter:eslint", |
| 36 | + "outputs": ["{options.outputFile}"], |
| 37 | + "options": { |
| 38 | + "lintFilePatterns": [ |
| 39 | + "libs/cannon-plugin/**/*.ts", |
| 40 | + "libs/cannon-plugin/generators.json", |
| 41 | + "libs/cannon-plugin/executors.json", |
| 42 | + "libs/cannon-plugin/package.json" |
| 43 | + ] |
| 44 | + } |
| 45 | + }, |
| 46 | + "test": { |
| 47 | + "executor": "@nx/jest:jest", |
| 48 | + "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], |
| 49 | + "options": { |
| 50 | + "jestConfig": "libs/cannon-plugin/jest.config.ts", |
| 51 | + "passWithNoTests": true |
| 52 | + }, |
| 53 | + "configurations": { |
| 54 | + "ci": { |
| 55 | + "ci": true, |
| 56 | + "codeCoverage": true |
| 57 | + } |
| 58 | + } |
| 59 | + } |
| 60 | + }, |
| 61 | + "tags": [] |
| 62 | +} |
0 commit comments