Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

angular.json

1. This is normal text
2. This is a list item
 {
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "cli":  {
    "analytics": "c79d0815-0319-4bc5-aaeb-2384f4e666a8"
  },
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "ng-fundamentals": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:application": {
          "strict": true
        }
      },
      "root": "",
      "sourceRoot": "src",
      "prefix": "app",
      "architect": {
        "build": 
         {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/ng-fundamentals",
            "index": "src/index.html",
            "main": "src/main.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.app.json",
            "assets": [
              "src/favicon.ico",
              "src/assets"
            ],
            "styles": [
              "node_modules/toastr/build/toastr.min.css",
              "node_modules/ngf-bootstrap/dist/bootstrap.min.css",
              "src/styles.css"
            ],
            "scripts": [
              "node_modules/jquery/dist/jquery.min.js",
              "node_modules/bootstrap/dist/js/bootstrap.js",
              "node_modules/bootstrap/dist/js/bootstrap.js"
            ]

          },
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "500kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "2kb",
                  "maximumError": "4kb"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "outputHashing": "all"
            },
            "development": {
              "buildOptimizer": false,
              "optimization": false,
              "vendorChunk": true,
              "extractLicenses": false,
              "sourceMap": true,
              "namedChunks": true
            }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "configurations": {
            "production": {
              "browserTarget": "ng-fundamentals:build:production"
            },
            "development": {
              "browserTarget": "ng-fundamentals:build:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "ng-fundamentals:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "src/test.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.spec.json",
            "karmaConfig": "karma.conf.js",
            "assets": [
              "src/favicon.ico",
              "src/assets"
            ],
            "styles": [
              "src/styles.css"
            ],
            "scripts": []
          }
        }
      }
    }
  },
  "defaultProject": "ng-fundamentals"
}

        Skip a line and indent eight spaces.
        Eight spaces will trigger the code block.
Comment

angular.json

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "cli":  {
    "analytics": "c79d0815-0319-4bc5-aaeb-2384f4e666a8"
  },
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "ng-fundamentals": {
      "projectType": "application",
      "schematics": {
        "@schematics/angular:application": {
          "strict": true
        }
      },
      "root": "",
      "sourceRoot": "src",
      "prefix": "app",
      "architect": {
        "build": 
         {
          "builder": "@angular-devkit/build-angular:browser",
          "options": {
            "outputPath": "dist/ng-fundamentals",
            "index": "src/index.html",
            "main": "src/main.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.app.json",
            "assets": [
              "src/favicon.ico",
              "src/assets"
            ],
            "styles": [
              "node_modules/toastr/build/toastr.min.css",
              "node_modules/ngf-bootstrap/dist/bootstrap.min.css",
              "src/styles.css"
            ],
            "scripts": [
              "node_modules/jquery/dist/jquery.min.js",
              "node_modules/bootstrap/dist/js/bootstrap.js",
              "node_modules/bootstrap/dist/js/bootstrap.js"
            ]

          },
          "configurations": {
            "production": {
              "budgets": [
                {
                  "type": "initial",
                  "maximumWarning": "500kb",
                  "maximumError": "1mb"
                },
                {
                  "type": "anyComponentStyle",
                  "maximumWarning": "2kb",
                  "maximumError": "4kb"
                }
              ],
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
              "outputHashing": "all"
            },
            "development": {
              "buildOptimizer": false,
              "optimization": false,
              "vendorChunk": true,
              "extractLicenses": false,
              "sourceMap": true,
              "namedChunks": true
            }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "configurations": {
            "production": {
              "browserTarget": "ng-fundamentals:build:production"
            },
            "development": {
              "browserTarget": "ng-fundamentals:build:development"
            }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": {
          "builder": "@angular-devkit/build-angular:extract-i18n",
          "options": {
            "browserTarget": "ng-fundamentals:build"
          }
        },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "src/test.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "tsconfig.spec.json",
            "karmaConfig": "karma.conf.js",
            "assets": [
              "src/favicon.ico",
              "src/assets"
            ],
            "styles": [
              "src/styles.css"
            ],
            "scripts": []
          }
        }
      }
    }
  },
  "defaultProject": "ng-fundamentals"
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: what is my version of linux mint 
Javascript :: history react router 
Javascript :: append item to array javascript 
Javascript :: vue send data between components 
Javascript :: angular 14 new features 
Javascript :: UnhandledPromiseRejectionWarning 
Javascript :: data types in js 
Javascript :: js function run one another 
Javascript :: add object to another object javascript 
Javascript :: angular post data not sending 
Javascript :: typescript deserialize json 
Javascript :: event in javascript 
Javascript :: jquery scroll to bottom of div 
Javascript :: airbnb and eslint react native 
Javascript :: file upload in node js 
Javascript :: Do not use forEach with async-await 
Javascript :: js arrow function 
Javascript :: base64 to base64url javascript 
Javascript :: use navigation in class component react native drawer navigation 
Javascript :: hasownproperty.call 
Javascript :: json_extract in non native query 
Javascript :: Modify String with Uppercase 
Javascript :: var json = $.parseJSON(request.responseText); 
Javascript :: react native intro slider 
Javascript :: Changes not staged for commit: modified: ../package.json 
Javascript :: react router 404 
Javascript :: how to clear textbox in javascript 
Javascript :: object object js 
Javascript :: Event Delegation Example In JavaScript 
Javascript :: join javascript array 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =