mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
remove heroku deployment
This commit is contained in:
parent
08857e6ad1
commit
7dec510488
3 changed files with 4 additions and 13 deletions
10
package.json
10
package.json
|
|
@ -12,7 +12,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"conventional-changelog": "conventional-changelog",
|
"conventional-changelog": "conventional-changelog",
|
||||||
"start": "node server.js",
|
"start": "ng serve",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
"build:prod": "npm run build -- --prod --aot",
|
"build:prod": "npm run build -- --prod --aot",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
|
|
@ -27,16 +27,14 @@
|
||||||
"docs:serve": "compodoc -p src/tsconfig.app.json -d docs -s",
|
"docs:serve": "compodoc -p src/tsconfig.app.json -d docs -s",
|
||||||
"prepush": "npm run lint:ci",
|
"prepush": "npm run lint:ci",
|
||||||
"release:changelog": "npm run conventional-changelog -- -p angular -i CHANGELOG.md -s",
|
"release:changelog": "npm run conventional-changelog -- -p angular -i CHANGELOG.md -s",
|
||||||
"postinstall": "ng build --aot --prod"
|
"postinstall": "ngcc --properties es2015 es5 browser module main --first-only --create-ivy-entry-points"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@akveo/ng2-completer": "^9.0.1",
|
"@akveo/ng2-completer": "^9.0.1",
|
||||||
"@angular/animations": "^9.0.4",
|
"@angular/animations": "^9.0.4",
|
||||||
"@angular/cdk": "^9.1.2",
|
"@angular/cdk": "^9.1.2",
|
||||||
"@angular/cli": "^9.0.4",
|
|
||||||
"@angular/common": "^9.0.4",
|
"@angular/common": "^9.0.4",
|
||||||
"@angular/compiler": "^9.0.4",
|
"@angular/compiler": "^9.0.4",
|
||||||
"@angular/compiler-cli": "^9.0.4",
|
|
||||||
"@angular/core": "^9.0.4",
|
"@angular/core": "^9.0.4",
|
||||||
"@angular/forms": "^9.0.4",
|
"@angular/forms": "^9.0.4",
|
||||||
"@angular/google-maps": "^9.1.0",
|
"@angular/google-maps": "^9.1.0",
|
||||||
|
|
@ -57,7 +55,6 @@
|
||||||
"core-js": "2.5.1",
|
"core-js": "2.5.1",
|
||||||
"echarts": "^4.0.2",
|
"echarts": "^4.0.2",
|
||||||
"eva-icons": "^1.1.3",
|
"eva-icons": "^1.1.3",
|
||||||
"express": "^4.17.1",
|
|
||||||
"intl": "1.2.5",
|
"intl": "1.2.5",
|
||||||
"ionicons": "2.0.1",
|
"ionicons": "2.0.1",
|
||||||
"leaflet": "1.2.0",
|
"leaflet": "1.2.0",
|
||||||
|
|
@ -76,7 +73,6 @@
|
||||||
"tinymce": "4.5.7",
|
"tinymce": "4.5.7",
|
||||||
"tslib": "^1.10.0",
|
"tslib": "^1.10.0",
|
||||||
"typeface-exo": "0.0.22",
|
"typeface-exo": "0.0.22",
|
||||||
"typescript": "3.7.5",
|
|
||||||
"web-animations-js": "^2.3.2",
|
"web-animations-js": "^2.3.2",
|
||||||
"zone.js": "~0.10.2"
|
"zone.js": "~0.10.2"
|
||||||
},
|
},
|
||||||
|
|
@ -113,4 +109,4 @@
|
||||||
"tslint-language-service": "^0.9.9",
|
"tslint-language-service": "^0.9.9",
|
||||||
"typescript": "3.7.5"
|
"typescript": "3.7.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
app.use(express.static('./dist/ngx-admin'));
|
|
||||||
app.get('/*', function (req, res) {
|
|
||||||
res.sendFile('index.html', { root: 'dist/ngx-admin/' }
|
|
||||||
);
|
|
||||||
});
|
|
||||||
app.listen(process.env.PORT || 8080);
|
|
||||||
|
|
@ -2,6 +2,7 @@ import { Component } from '@angular/core';
|
||||||
import { NbWindowRef } from '@nebular/theme';
|
import { NbWindowRef } from '@nebular/theme';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
selector: 'ngx-promotion-detail',
|
||||||
template: './promotion-detail.component.html',
|
template: './promotion-detail.component.html',
|
||||||
styleUrls: ['promotion-detail.component.scss'],
|
styleUrls: ['promotion-detail.component.scss'],
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue