|
| 1 | +{ |
| 2 | + "name": "ionic-app", |
| 3 | + "$schema": "../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "projectType": "application", |
| 5 | + "prefix": "platform", |
| 6 | + "sourceRoot": "apps/ionic-app/src", |
| 7 | + "tags": [], |
| 8 | + "targets": { |
| 9 | + "build": { |
| 10 | + "executor": "@angular-devkit/build-angular:browser", |
| 11 | + "outputs": ["{options.outputPath}"], |
| 12 | + "options": { |
| 13 | + "outputPath": "dist/apps/ionic-app", |
| 14 | + "index": "apps/ionic-app/src/index.html", |
| 15 | + "main": "apps/ionic-app/src/main.ts", |
| 16 | + "polyfills": ["zone.js"], |
| 17 | + "tsConfig": "apps/ionic-app/tsconfig.app.json", |
| 18 | + "inlineStyleLanguage": "scss", |
| 19 | + "assets": [ |
| 20 | + { |
| 21 | + "glob": "**/*", |
| 22 | + "input": "apps/ionic-app/public" |
| 23 | + }, |
| 24 | + { |
| 25 | + "glob": "**/*.svg", |
| 26 | + "input": "node_modules/ionicons/dist/ionicons/svg", |
| 27 | + "output": "./svg" |
| 28 | + } |
| 29 | + ], |
| 30 | + "styles": [ |
| 31 | + "apps/ionic-app/src/styles.scss", |
| 32 | + { |
| 33 | + "input": "apps/ionic-app/src/theme/variables.scss" |
| 34 | + }, |
| 35 | + { |
| 36 | + "input": "node_modules/@ionic/angular/css/core.css" |
| 37 | + }, |
| 38 | + { |
| 39 | + "input": "node_modules/@ionic/angular/css/normalize.css" |
| 40 | + }, |
| 41 | + { |
| 42 | + "input": "node_modules/@ionic/angular/css/structure.css" |
| 43 | + }, |
| 44 | + { |
| 45 | + "input": "node_modules/@ionic/angular/css/typography.css" |
| 46 | + }, |
| 47 | + { |
| 48 | + "input": "node_modules/@ionic/angular/css/display.css" |
| 49 | + }, |
| 50 | + { |
| 51 | + "input": "node_modules/@ionic/angular/css/padding.css" |
| 52 | + }, |
| 53 | + { |
| 54 | + "input": "node_modules/@ionic/angular/css/float-elements.css" |
| 55 | + }, |
| 56 | + { |
| 57 | + "input": "node_modules/@ionic/angular/css/text-alignment.css" |
| 58 | + }, |
| 59 | + { |
| 60 | + "input": "node_modules/@ionic/angular/css/text-transformation.css" |
| 61 | + }, |
| 62 | + { |
| 63 | + "input": "node_modules/@ionic/angular/css/flex-utils.css" |
| 64 | + } |
| 65 | + ], |
| 66 | + "scripts": [] |
| 67 | + }, |
| 68 | + "configurations": { |
| 69 | + "production": { |
| 70 | + "budgets": [ |
| 71 | + { |
| 72 | + "type": "initial", |
| 73 | + "maximumWarning": "500kb", |
| 74 | + "maximumError": "1mb" |
| 75 | + }, |
| 76 | + { |
| 77 | + "type": "anyComponentStyle", |
| 78 | + "maximumWarning": "2kb", |
| 79 | + "maximumError": "4kb" |
| 80 | + } |
| 81 | + ], |
| 82 | + "outputHashing": "all" |
| 83 | + }, |
| 84 | + "development": { |
| 85 | + "buildOptimizer": false, |
| 86 | + "optimization": false, |
| 87 | + "vendorChunk": true, |
| 88 | + "extractLicenses": false, |
| 89 | + "sourceMap": true, |
| 90 | + "namedChunks": true |
| 91 | + } |
| 92 | + }, |
| 93 | + "defaultConfiguration": "production" |
| 94 | + }, |
| 95 | + "serve": { |
| 96 | + "executor": "@angular-devkit/build-angular:dev-server", |
| 97 | + "configurations": { |
| 98 | + "production": { |
| 99 | + "buildTarget": "ionic-app:build:production" |
| 100 | + }, |
| 101 | + "development": { |
| 102 | + "buildTarget": "ionic-app:build:development" |
| 103 | + } |
| 104 | + }, |
| 105 | + "defaultConfiguration": "development" |
| 106 | + }, |
| 107 | + "extract-i18n": { |
| 108 | + "executor": "@angular-devkit/build-angular:extract-i18n", |
| 109 | + "options": { |
| 110 | + "buildTarget": "ionic-app:build" |
| 111 | + } |
| 112 | + }, |
| 113 | + "lint": { |
| 114 | + "executor": "@nx/eslint:lint" |
| 115 | + }, |
| 116 | + "cap": { |
| 117 | + "executor": "@nxext/capacitor:cap", |
| 118 | + "options": { |
| 119 | + "cmd": "--help" |
| 120 | + } |
| 121 | + }, |
| 122 | + "add": { |
| 123 | + "executor": "@nxext/capacitor:cap", |
| 124 | + "options": { |
| 125 | + "cmd": "add" |
| 126 | + }, |
| 127 | + "configurations": { |
| 128 | + "ios": { |
| 129 | + "cmd": "add ios" |
| 130 | + }, |
| 131 | + "android": { |
| 132 | + "cmd": "add android" |
| 133 | + } |
| 134 | + } |
| 135 | + }, |
| 136 | + "copy": { |
| 137 | + "executor": "@nxext/capacitor:cap", |
| 138 | + "options": { |
| 139 | + "cmd": "copy" |
| 140 | + }, |
| 141 | + "configurations": { |
| 142 | + "ios": { |
| 143 | + "cmd": "copy ios" |
| 144 | + }, |
| 145 | + "android": { |
| 146 | + "cmd": "copy android" |
| 147 | + } |
| 148 | + } |
| 149 | + }, |
| 150 | + "open": { |
| 151 | + "executor": "@nxext/capacitor:cap", |
| 152 | + "options": { |
| 153 | + "cmd": "open" |
| 154 | + }, |
| 155 | + "configurations": { |
| 156 | + "ios": { |
| 157 | + "cmd": "open ios" |
| 158 | + }, |
| 159 | + "android": { |
| 160 | + "cmd": "open android" |
| 161 | + } |
| 162 | + } |
| 163 | + }, |
| 164 | + "run": { |
| 165 | + "executor": "@nxext/capacitor:cap", |
| 166 | + "options": { |
| 167 | + "cmd": "run" |
| 168 | + }, |
| 169 | + "configurations": { |
| 170 | + "ios": { |
| 171 | + "cmd": "run ios" |
| 172 | + }, |
| 173 | + "android": { |
| 174 | + "cmd": "run android" |
| 175 | + } |
| 176 | + } |
| 177 | + }, |
| 178 | + "sync": { |
| 179 | + "executor": "@nxext/capacitor:cap", |
| 180 | + "options": { |
| 181 | + "cmd": "sync" |
| 182 | + }, |
| 183 | + "configurations": { |
| 184 | + "ios": { |
| 185 | + "cmd": "sync ios" |
| 186 | + }, |
| 187 | + "android": { |
| 188 | + "cmd": "sync android" |
| 189 | + } |
| 190 | + } |
| 191 | + }, |
| 192 | + "update": { |
| 193 | + "executor": "@nxext/capacitor:cap", |
| 194 | + "options": { |
| 195 | + "cmd": "update" |
| 196 | + }, |
| 197 | + "configurations": { |
| 198 | + "ios": { |
| 199 | + "cmd": "update ios" |
| 200 | + }, |
| 201 | + "android": { |
| 202 | + "cmd": "update android" |
| 203 | + } |
| 204 | + } |
| 205 | + } |
| 206 | + } |
| 207 | +} |
0 commit comments