|
| 1 | +{ |
| 2 | + "name": "react-props", |
| 3 | + "$schema": "../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "sourceRoot": "apps/react-props/src", |
| 5 | + "projectType": "application", |
| 6 | + "targets": { |
| 7 | + "build": { |
| 8 | + "executor": "@nx/webpack:webpack", |
| 9 | + "outputs": ["{options.outputPath}"], |
| 10 | + "defaultConfiguration": "production", |
| 11 | + "options": { |
| 12 | + "compiler": "babel", |
| 13 | + "outputPath": "dist/apps/react-props", |
| 14 | + "index": "apps/react-props/src/index.html", |
| 15 | + "baseHref": "/", |
| 16 | + "main": "apps/react-props/src/main.js", |
| 17 | + "tsConfig": "apps/react-props/tsconfig.app.json", |
| 18 | + "assets": [ |
| 19 | + "apps/react-props/src/favicon.ico", |
| 20 | + "apps/react-props/src/assets" |
| 21 | + ], |
| 22 | + "styles": ["apps/react-props/src/styles.css"], |
| 23 | + "scripts": [], |
| 24 | + "webpackConfig": "apps/react-props/webpack.config.js" |
| 25 | + }, |
| 26 | + "configurations": { |
| 27 | + "development": { |
| 28 | + "extractLicenses": false, |
| 29 | + "optimization": false, |
| 30 | + "sourceMap": true, |
| 31 | + "vendorChunk": true |
| 32 | + }, |
| 33 | + "production": { |
| 34 | + "fileReplacements": [ |
| 35 | + { |
| 36 | + "replace": "apps/react-props/src/environments/environment.js", |
| 37 | + "with": "apps/react-props/src/environments/environment.prod.js" |
| 38 | + } |
| 39 | + ], |
| 40 | + "optimization": true, |
| 41 | + "outputHashing": "all", |
| 42 | + "sourceMap": false, |
| 43 | + "namedChunks": false, |
| 44 | + "extractLicenses": true, |
| 45 | + "vendorChunk": false |
| 46 | + } |
| 47 | + } |
| 48 | + }, |
| 49 | + "serve": { |
| 50 | + "executor": "@nx/webpack:dev-server", |
| 51 | + "defaultConfiguration": "development", |
| 52 | + "options": { |
| 53 | + "buildTarget": "react-props:build", |
| 54 | + "hmr": true |
| 55 | + }, |
| 56 | + "configurations": { |
| 57 | + "development": { |
| 58 | + "buildTarget": "react-props:build:development" |
| 59 | + }, |
| 60 | + "production": { |
| 61 | + "buildTarget": "react-props:build:production", |
| 62 | + "hmr": false |
| 63 | + } |
| 64 | + } |
| 65 | + }, |
| 66 | + "lint": { |
| 67 | + "executor": "@nx/eslint:lint", |
| 68 | + "outputs": ["{options.outputFile}"] |
| 69 | + }, |
| 70 | + "serve-static": { |
| 71 | + "executor": "@nx/web:file-server", |
| 72 | + "options": { |
| 73 | + "buildTarget": "react-props:build" |
| 74 | + } |
| 75 | + }, |
| 76 | + "test": { |
| 77 | + "executor": "@nx/jest:jest", |
| 78 | + "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], |
| 79 | + "options": { |
| 80 | + "jestConfig": "apps/react-props/jest.config.js" |
| 81 | + } |
| 82 | + } |
| 83 | + }, |
| 84 | + "tags": [] |
| 85 | +} |
0 commit comments