Skip to content

Commit

Permalink
Set Netlify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jul 11, 2024
1 parent dcae11b commit 17b63f0
Show file tree
Hide file tree
Showing 6 changed files with 1,056 additions and 345 deletions.
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"outputPath": "",
"index":,
"outputPath": "dist/audio-tag-analyzer",
"index": "",
"main": "",
"tsConfig": ""
}
Expand Down
11 changes: 11 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[build.environment]
NODE_VERSION = "20"
YARN_VERSION = "1.22.22"
ANGULAR_PROJECT = "audio-tag-analyzer"

[build]
# Default build command.
command = "ng build --configuration production"

publish = "dist/audio-tag-analyzer"

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@angular-eslint/eslint-plugin-template": "^18.1.0",
"@angular-eslint/schematics": "^18.1.0",
"@angular-eslint/template-parser": "^18.1.0",
"@angular/cli": "^18.1.0",
"@angular/compiler-cli": "^18.1.0",
"@angular/language-service": "^18.1.0",
"@tokenizer/token": "^0.3.0",
Expand Down
10 changes: 3 additions & 7 deletions src/app/app.spec.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import { TestBed, waitForAsync } from '@angular/core/testing';
import { AppComponent } from './app.component';
import {DragAndDropBoxComponent} from './drag-and-drop-box/drag-and-drop-box.component';
import { NgMathPipesModule } from 'angular-pipes';

describe('AppComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent,
DragAndDropBoxComponent
],
imports: [
NgMathPipesModule,
AppComponent
],
imports: [],
}).compileComponents();
}));

Expand Down
Loading

0 comments on commit 17b63f0

Please sign in to comment.