Skip to content

Commit 8894e82

Browse files
committed
Resolve NPM audit issues.
1 parent 4913030 commit 8894e82

25 files changed

+8088
-8570
lines changed

angular.json

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,34 @@
2727
"test": {
2828
"builder": "@angular-devkit/build-angular:karma",
2929
"options": {
30-
"main": "projects/bytescale-upload-widget-angular/src/test.ts",
3130
"tsConfig": "projects/bytescale-upload-widget-angular/tsconfig.spec.json",
32-
"karmaConfig": "projects/bytescale-upload-widget-angular/karma.conf.js"
31+
"polyfills": ["zone.js", "zone.js/testing"]
3332
}
3433
}
3534
}
3635
},
3736
"sandbox": {
3837
"projectType": "application",
3938
"schematics": {
40-
"@schematics/angular:application": {
41-
"strict": true
39+
"@schematics/angular:component": {
40+
"style": "scss"
4241
}
4342
},
4443
"root": "projects/sandbox",
4544
"sourceRoot": "projects/sandbox/src",
4645
"prefix": "app",
4746
"architect": {
4847
"build": {
49-
"builder": "@angular-devkit/build-angular:browser",
48+
"builder": "@angular-devkit/build-angular:application",
5049
"options": {
5150
"outputPath": "dist/sandbox",
5251
"index": "projects/sandbox/src/index.html",
53-
"main": "projects/sandbox/src/main.ts",
54-
"polyfills": "projects/sandbox/src/polyfills.ts",
52+
"browser": "projects/sandbox/src/main.ts",
53+
"polyfills": ["zone.js"],
5554
"tsConfig": "projects/sandbox/tsconfig.app.json",
55+
"inlineStyleLanguage": "scss",
5656
"assets": ["projects/sandbox/src/favicon.ico", "projects/sandbox/src/assets"],
57-
"styles": ["projects/sandbox/src/styles.css"],
57+
"styles": ["projects/sandbox/src/styles.scss"],
5858
"scripts": []
5959
},
6060
"configurations": {
@@ -71,21 +71,12 @@
7171
"maximumError": "4kb"
7272
}
7373
],
74-
"fileReplacements": [
75-
{
76-
"replace": "projects/sandbox/src/environments/environment.ts",
77-
"with": "projects/sandbox/src/environments/environment.prod.ts"
78-
}
79-
],
8074
"outputHashing": "all"
8175
},
8276
"development": {
83-
"buildOptimizer": false,
8477
"optimization": false,
85-
"vendorChunk": true,
8678
"extractLicenses": false,
87-
"sourceMap": true,
88-
"namedChunks": true
79+
"sourceMap": true
8980
}
9081
},
9182
"defaultConfiguration": "production"
@@ -94,34 +85,32 @@
9485
"builder": "@angular-devkit/build-angular:dev-server",
9586
"configurations": {
9687
"production": {
97-
"browserTarget": "sandbox:build:production"
88+
"buildTarget": "sandbox:build:production"
9889
},
9990
"development": {
100-
"browserTarget": "sandbox:build:development"
91+
"buildTarget": "sandbox:build:development"
10192
}
10293
},
10394
"defaultConfiguration": "development"
10495
},
10596
"extract-i18n": {
10697
"builder": "@angular-devkit/build-angular:extract-i18n",
10798
"options": {
108-
"browserTarget": "sandbox:build"
99+
"buildTarget": "sandbox:build"
109100
}
110101
},
111102
"test": {
112103
"builder": "@angular-devkit/build-angular:karma",
113104
"options": {
114-
"main": "projects/sandbox/src/test.ts",
115-
"polyfills": "projects/sandbox/src/polyfills.ts",
105+
"polyfills": ["zone.js", "zone.js/testing"],
116106
"tsConfig": "projects/sandbox/tsconfig.spec.json",
117-
"karmaConfig": "projects/sandbox/karma.conf.js",
107+
"inlineStyleLanguage": "scss",
118108
"assets": ["projects/sandbox/src/favicon.ico", "projects/sandbox/src/assets"],
119-
"styles": ["projects/sandbox/src/styles.css"],
109+
"styles": ["projects/sandbox/src/styles.scss"],
120110
"scripts": []
121111
}
122112
}
123113
}
124114
}
125-
},
126-
"defaultProject": "bytescale-upload-widget-angular"
115+
}
127116
}

0 commit comments

Comments
 (0)