juice-shop

Форк
0
/
angular.json 
136 строк · 4.0 Кб
1
{
2
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
  "version": 1,
4
  "newProjectRoot": "projects",
5
  "schematics": {
6
    "@schematics/angular:component": {
7
      "style": "scss"
8
    }
9
  },
10
  "projects": {
11
    "frontend": {
12
      "root": "",
13
      "sourceRoot": "src",
14
      "projectType": "application",
15
      "prefix": "app",
16
      "schematics": {},
17
      "architect": {
18
        "build": {
19
          "builder": "@angular-builders/custom-webpack:browser",
20
          "options": {
21
            "outputPath": "dist/frontend",
22
            "index": "src/index.html",
23
            "main": "src/main.ts",
24
            "polyfills": "src/polyfills.ts",
25
            "tsConfig": "src/tsconfig.app.json",
26
            "assets": ["src/assets"],
27
            "styles": [
28
              "src/styles.scss",
29
              "node_modules/material-icons/iconfont/material-icons.scss",
30
              "node_modules/flag-icons/css/flag-icons.min.css",
31
              "node_modules/font-mfizz/dist/font-mfizz.css",
32
              "node_modules/highlight.js/styles/github.css",
33
              "node_modules/codemirror/lib/codemirror.css",
34
              "node_modules/codemirror/theme/dracula.css"
35
            ],
36
            "allowedCommonJsDependencies": [
37
              "jwt-decode",
38
              "file-saver",
39
              "socket.io-client",
40
              "socket.io-parser",
41
              "debug",
42
              "qrious",
43
              "diff-match-patch",
44
              "codemirror",
45
              "bn.js",
46
              "aes-js",
47
              "scrypt-js",
48
              "bech32",
49
              "hash.js",
50
              "eventemitter3",
51
              "ethers/lib/ethers",
52
              "ethers/lib/utils",
53
              "js-sha3"
54
            ],
55
            "scripts": [],
56
            "aot": false,
57
            "vendorChunk": true,
58
            "extractLicenses": false,
59
            "buildOptimizer": false,
60
            "sourceMap": true,
61
            "optimization": false,
62
            "namedChunks": true,
63
            "customWebpackConfig": {
64
              "path": "./webpack.angular.js",
65
              "mergeRules": {
66
                "externals": "replace"
67
              }
68
            }
69
          },
70
          "configurations": {
71
            "production": {
72
              "fileReplacements": [
73
                {
74
                  "replace": "src/environments/environment.ts",
75
                  "with": "src/environments/environment.prod.ts"
76
                }
77
              ],
78
              "optimization": true,
79
              "outputHashing": "all",
80
              "sourceMap": false,
81
              "namedChunks": false,
82
              "aot": true,
83
              "extractLicenses": true,
84
              "vendorChunk": false,
85
              "buildOptimizer": true
86
            }
87
          },
88
          "defaultConfiguration": ""
89
        },
90
        "serve": {
91
          "builder": "@angular-devkit/build-angular:dev-server",
92
          "options": {
93
            "browserTarget": "frontend:build"
94
          },
95
          "configurations": {
96
            "production": {
97
              "browserTarget": "frontend:build:production"
98
            }
99
          }
100
        },
101
        "extract-i18n": {
102
          "builder": "@angular-devkit/build-angular:extract-i18n",
103
          "options": {
104
            "browserTarget": "frontend:build"
105
          }
106
        },
107
        "test": {
108
          "builder": "@angular-devkit/build-angular:karma",
109
          "options": {
110
            "main": "src/test.ts",
111
            "polyfills": "src/polyfills.ts",
112
            "tsConfig": "src/tsconfig.spec.json",
113
            "karmaConfig": "src/karma.conf.js",
114
            "styles": ["src/styles.scss"],
115
            "scripts": [],
116
            "assets": ["src/assets"],
117
            "codeCoverage": true,
118
            "codeCoverageExclude": ["src/hacking-instructor/**/*.ts"]
119
          }
120
        },
121
        "lint": {
122
          "builder": "@angular-eslint/builder:lint",
123
          "options": {
124
            "lintFilePatterns": [
125
              "src/app/**/*.ts",
126
              "src/hacking-instructor/**/*.ts"
127
            ]
128
          }
129
        }
130
      }
131
    }
132
  },
133
  "cli": {
134
    "analytics": false
135
  }
136
}
137

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.