changed project config
This commit is contained in:
1 parent
3892f898e3
commit
4f4f0bb8e3
7 files changed
+584
-137
No files matched your search
@@ -5,6 +5,7 @@
|
|||||||
/tmp
|
/tmp
|
||||||
/out-tsc
|
/out-tsc
|
||||||
/bazel-out
|
/bazel-out
|
||||||
|
/frontend/src/assets/images/*
|
||||||
|
|
||||||
# Node
|
# Node
|
||||||
/node_modules
|
/node_modules
|
||||||
@@ -40,3 +41,4 @@ testem.log
|
|||||||
# System files
|
# System files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
+56
-23
@@ -7,27 +7,43 @@
|
|||||||
"projectType": "application",
|
"projectType": "application",
|
||||||
"schematics": {},
|
"schematics": {},
|
||||||
"root": "",
|
"root": "",
|
||||||
"sourceRoot": "src",
|
"sourceRoot": "frontend/src",
|
||||||
"prefix": "app",
|
"prefix": "app",
|
||||||
"architect": {
|
"architect": {
|
||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular-devkit/build-angular:application",
|
"builder": "@angular-devkit/build-angular:application",
|
||||||
"options": {
|
"options": {
|
||||||
"outputPath": "dist/show-z",
|
"outputPath": "frontend/dist/show-z",
|
||||||
"index": "src/index.html",
|
"index": "frontend/src/index.html",
|
||||||
"browser": "src/main.ts",
|
"browser": "frontend/src/main.ts",
|
||||||
"polyfills": [
|
"polyfills": ["zone.js"],
|
||||||
"zone.js"
|
|
||||||
],
|
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"assets": [
|
"assets": ["frontend/src/favicon.ico", "frontend/src/assets"],
|
||||||
"src/favicon.ico",
|
|
||||||
"src/assets"
|
|
||||||
],
|
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.css"
|
"frontend/src/styles.css",
|
||||||
|
"frontend/src/assets/plugins/perfect-scrollbar/css/perfect-scrollbar.css",
|
||||||
|
"frontend/src/assets/plugins/metismenu/metisMenu.min.css",
|
||||||
|
"frontend/src/assets/plugins/metismenu/mm-vertical.css",
|
||||||
|
"frontend/src/assets/plugins/simplebar/css/simplebar.css",
|
||||||
|
"frontend/src/assets/css/bootstrap.min.css",
|
||||||
|
"frontend/src/assets/css/bootstrap-extended.css",
|
||||||
|
"frontend/src/assets/sass/main.css",
|
||||||
|
"frontend/src/assets/sass/dark-theme.css",
|
||||||
|
"frontend/src/assets/sass/semi-dark.css",
|
||||||
|
"frontend/src/assets/sass/bordered-theme.css",
|
||||||
|
"frontend/src/assets/sass/responsive.css"
|
||||||
],
|
],
|
||||||
"scripts": []
|
"scripts": [
|
||||||
|
"frontend/src/assets/js/jquery.min.js",
|
||||||
|
"frontend/src/assets/js/bootstrap.bundle.min.js",
|
||||||
|
"frontend/src/assets/plugins/perfect-scrollbar/js/perfect-scrollbar.js",
|
||||||
|
"frontend/src/assets/plugins/metismenu/metisMenu.min.js",
|
||||||
|
"frontend/src/assets/plugins/apexchart/apexcharts.min.js",
|
||||||
|
"frontend/src/assets/plugins/peity/jquery.peity.min.js",
|
||||||
|
"frontend/src/assets/plugins/simplebar/js/simplebar.min.js",
|
||||||
|
"frontend/src/assets/js/index.js",
|
||||||
|
"frontend/src/assets/js/main.js"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
@@ -74,19 +90,36 @@
|
|||||||
"test": {
|
"test": {
|
||||||
"builder": "@angular-devkit/build-angular:karma",
|
"builder": "@angular-devkit/build-angular:karma",
|
||||||
"options": {
|
"options": {
|
||||||
"polyfills": [
|
"polyfills": ["zone.js", "zone.js/testing"],
|
||||||
"zone.js",
|
|
||||||
"zone.js/testing"
|
|
||||||
],
|
|
||||||
"tsConfig": "tsconfig.spec.json",
|
"tsConfig": "tsconfig.spec.json",
|
||||||
"assets": [
|
"assets": ["src/favicon.ico", "src/assets"],
|
||||||
"src/favicon.ico",
|
|
||||||
"src/assets"
|
|
||||||
],
|
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.css"
|
"frontend/src/styles.css",
|
||||||
|
"frontend/src/assets/plugins/perfect-scrollbar/css/perfect-scrollbar.css",
|
||||||
|
"frontend/src/assets/plugins/metismenu/metisMenu.min.css",
|
||||||
|
"frontend/src/assets/plugins/metismenu/mm-vertical.css",
|
||||||
|
"frontend/src/assets/css/bootstrap.min.css",
|
||||||
|
"frontend/src/assets/css/bootstrap-extended.css",
|
||||||
|
"frontend/src/sass/main.css",
|
||||||
|
"frontend/src/sass/dark-theme.css",
|
||||||
|
"frontend/src/sass/semi-dark.css",
|
||||||
|
"frontend/src/sass/bordered-theme.css",
|
||||||
|
"frontend/src/sass/responsive.css",
|
||||||
|
{
|
||||||
|
"input": "node_modules/@fontsource/noto-sans/index.css"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"scripts": []
|
|
||||||
|
"scripts": [
|
||||||
|
"frontend/src/assets/js/jquery.min.js",
|
||||||
|
"frontend/src/assets/js/bootstrap.bundle.min.js",
|
||||||
|
"frontend/src/assets/plugins/perfect-scrollbar/js/perfect-scrollbar.js",
|
||||||
|
"frontend/src/assets/plugins/metismenu/metisMenu.min.js",
|
||||||
|
"frontend/src/assets/plugins/apexchart/apexcharts.min.js",
|
||||||
|
"frontend/src/assets/plugins/peity/jquery.peity.min.js",
|
||||||
|
"src/assets/js/index.js",
|
||||||
|
"frontend/src/assets/js/main.js"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function createWindow() {
|
|||||||
|
|
||||||
win.loadURL(
|
win.loadURL(
|
||||||
url.format({
|
url.format({
|
||||||
pathname: path.join(__dirname, 'dist\\show-z\\browser\\index.html'),
|
pathname: path.join(__dirname, 'frontend\\dist\\show-z\\browser\\index.html'),
|
||||||
protocol: 'file:',
|
protocol: 'file:',
|
||||||
slashes: true
|
slashes: true
|
||||||
})
|
})
|
||||||
|
|||||||
Generated
+508
-105
File diff suppressed because it is too large.
Load diff
+11
-2
@@ -4,8 +4,10 @@
|
|||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start:backend": "node backend/server.js",
|
||||||
"electron": "ng build --configuration=production --base-href ./ && electron .",
|
"start:frontend": "ng serve",
|
||||||
|
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
|
||||||
|
"electron build": "ng build --configuration=production --base-href ./ && electron .",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
"watch": "ng build --watch --configuration development",
|
"watch": "ng build --watch --configuration development",
|
||||||
"test": "ng test"
|
"test": "ng test"
|
||||||
@@ -20,7 +22,12 @@
|
|||||||
"@angular/platform-browser": "^17.3.0",
|
"@angular/platform-browser": "^17.3.0",
|
||||||
"@angular/platform-browser-dynamic": "^17.3.0",
|
"@angular/platform-browser-dynamic": "^17.3.0",
|
||||||
"@angular/router": "^17.3.0",
|
"@angular/router": "^17.3.0",
|
||||||
|
"axios": "^1.6.8",
|
||||||
|
"bootstrap": "^5.3.3",
|
||||||
|
"express": "^4.19.2",
|
||||||
|
"mysql2": "^3.9.3",
|
||||||
"rxjs": "~7.8.0",
|
"rxjs": "~7.8.0",
|
||||||
|
"sequelize": "^6.37.1",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"zone.js": "~0.14.3"
|
"zone.js": "~0.14.3"
|
||||||
},
|
},
|
||||||
@@ -29,6 +36,7 @@
|
|||||||
"@angular/cli": "^16",
|
"@angular/cli": "^16",
|
||||||
"@angular/compiler-cli": "^17.3.0",
|
"@angular/compiler-cli": "^17.3.0",
|
||||||
"@types/jasmine": "~5.1.0",
|
"@types/jasmine": "~5.1.0",
|
||||||
|
"concurrently": "^8.2.2",
|
||||||
"electron": "^29.1.5",
|
"electron": "^29.1.5",
|
||||||
"electron-builder": "^24.13.3",
|
"electron-builder": "^24.13.3",
|
||||||
"jasmine-core": "~5.1.0",
|
"jasmine-core": "~5.1.0",
|
||||||
@@ -37,6 +45,7 @@
|
|||||||
"karma-coverage": "~2.2.0",
|
"karma-coverage": "~2.2.0",
|
||||||
"karma-jasmine": "~5.1.0",
|
"karma-jasmine": "~5.1.0",
|
||||||
"karma-jasmine-html-reporter": "~2.1.0",
|
"karma-jasmine-html-reporter": "~2.1.0",
|
||||||
|
"nodemon": "^3.1.0",
|
||||||
"typescript": "~5.4.2"
|
"typescript": "~5.4.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+3
-3
@@ -2,13 +2,13 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/app",
|
"outDir": "./frontend/out-tsc/app",
|
||||||
"types": []
|
"types": []
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"src/main.ts"
|
"frontend/src/main.ts"
|
||||||
],
|
],
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.d.ts"
|
"frontend/src/**/*.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
+3
-3
@@ -2,13 +2,13 @@
|
|||||||
{
|
{
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./out-tsc/spec",
|
"outDir": "./frontend/out-tsc/spec",
|
||||||
"types": [
|
"types": [
|
||||||
"jasmine"
|
"jasmine"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.spec.ts",
|
"frontend/src/**/*.spec.ts",
|
||||||
"src/**/*.d.ts"
|
"frontend/src/**/*.d.ts"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user