Skip to content

Commit

Permalink
chore(demo project): angular electron demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
meniRoy authored Sep 14, 2019
1 parent be7c518 commit d5bad21
Show file tree
Hide file tree
Showing 52 changed files with 3,121 additions and 2,373 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sodu: false
sudo: false

language: node_js
node_js:
Expand All @@ -8,7 +8,9 @@ branches:
- master
script:
- npm run lint
- npm run test:codecov
- npm run lib:ci:test
- npm run demo:ci:test
- npm run codecov
- npm run build
deploy:
on:
Expand Down
122 changes: 121 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,126 @@
}
}
}
}},

},
"angular-electron": {
"root": "projects/demo",
"projectType": "application",
"sourceRoot": "projects/demo/src",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/demo",
"index": "projects/demo/src/index.html",
"main": "projects/demo/src/main.ts",
"tsConfig": "projects/demo/tsconfig.app.json",
"polyfills": "projects/demo/src/polyfills.ts",
"assets": [
"projects/demo/src/assets",
"projects/demo/src/favicon.ico",
"projects/demo/src/favicon.png",
"projects/demo/src/favicon.icns",
"projects/demo/src/favicon.256x256.png",
"projects/demo/src/favicon.512x512.png"
],
"styles": [
"projects/demo/src/styles.scss"
],
"scripts": []
},
"configurations": {
"dev": {
"optimization": false,
"outputHashing": "all",
"sourceMap": true,
"extractCss": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.dev.ts"
}
]
},
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "angular-electron:build"
},
"configurations": {
"dev": {
"browserTarget": "angular-electron:build:dev"
},
"production": {
"browserTarget": "angular-electron:build:production"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/demo/src/test.ts",
"polyfills": "projects/demo/src/polyfills-test.ts",
"tsConfig": "projects/demo/tsconfig.spec.json",
"karmaConfig": "projects/demo/src/karma.conf.js",
"scripts": [],
"styles": [
"projects/demo/src/styles.scss"
],
"assets": [
"projects/demo/src/assets",
"projects/demo/src/favicon.ico",
"projects/demo/src/favicon.png",
"projects/demo/src/favicon.icns",
"projects/demo/src/favicon.256x256.png",
"projects/demo/src/favicon.512x512.png"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/demo/tsconfig.app.json",
"projects/demo/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-electron:build"
}
}
}
}
},
"defaultProject": "electron-ngrx"
}
Loading

0 comments on commit d5bad21

Please sign in to comment.