This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1e6fe2f
Showing
165 changed files
with
28,428 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Specifies intentionally untracked files to ignore when using Git | ||
# http://git-scm.com/docs/gitignore | ||
|
||
*~ | ||
*.sw[mnpcod] | ||
*.log | ||
*.tmp | ||
*.tmp.* | ||
log.txt | ||
*.sublime-project | ||
*.sublime-workspace | ||
.vscode/ | ||
npm-debug.log* | ||
|
||
.idea/ | ||
.ionic/ | ||
.sourcemaps/ | ||
.sass-cache/ | ||
.tmp/ | ||
.versions/ | ||
coverage/ | ||
www/ | ||
dist/ | ||
node_modules/ | ||
tmp/ | ||
temp/ | ||
platforms/ | ||
plugins/ | ||
plugins/android.json | ||
plugins/ios.json | ||
$RECYCLE.BIN/ | ||
|
||
.DS_Store | ||
Thumbs.db | ||
UserInterfaceState.xcuserstate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
language: node_js | ||
node_js: | ||
- "11" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2017 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# rucken-todo-ionic | ||
|
||
[![Greenkeeper badge](https://badges.greenkeeper.io/rucken/todo-ionic.svg)](https://greenkeeper.io/) | ||
[![NPM version][npm-image]][npm-url] | ||
[![Build Status][travis-image]][travis-url] | ||
[![Gitter][gitter-image]][gitter-url] | ||
[![Join the chat at telegram][telegram-image]][telegram-url] | ||
|
||
Admin UI for Ionic4 with Angular7+ mobile todo application based on [Rucken](https://github.com/rucken) template | ||
|
||
## Usage | ||
|
||
``` | ||
git clone https://github.com/rucken/todo-ionic.git my-app | ||
cd my-app | ||
npm install | ||
npm run start:prod | ||
``` | ||
|
||
## Demo | ||
|
||
[https://rucken.github.io/todo-ionic/](https://rucken.github.io/ionic/) - Static site on [GitHub Pages](https://pages.github.com/) | ||
|
||
[rucken-todo-ionic.apk](https://rucken.github.io/todo-ionic/assets/apk/rucken-todo-ionic.apk) - Mobile application for android | ||
|
||
## Compodoc documentations | ||
|
||
[http://rucken.github.io/todo-ionic/doc/demo](http://rucken.github.io/todo-ionic/doc/demo/index.html) - Demo application documentation | ||
|
||
[http://rucken.github.io/todo-ionic/doc/todo-ionic](http://rucken.github.io/todo-ionic/doc/todo-ionic/index.html) - components documentation | ||
|
||
## License | ||
|
||
MIT | ||
|
||
[travis-image]: https://travis-ci.org/rucken/todo-ionic.svg?branch=master | ||
[travis-url]: https://travis-ci.org/rucken/todo-ionic | ||
[gitter-image]: https://img.shields.io/gitter/room/rucken/todo-ionic.js.svg | ||
[gitter-url]: https://gitter.im/rucken/todo-ionic | ||
[npm-image]: https://badge.fury.io/js/%40rucken%2Fionic.svg | ||
[npm-url]: https://npmjs.org/package/@rucken/todo-ionic | ||
[dependencies-image]: https://david-dm.org/rucken/todo-ionic/status.svg | ||
[dependencies-url]: https://david-dm.org/rucken/todo-ionic | ||
[telegram-image]: https://img.shields.io/badge/chat-telegram-blue.svg?maxAge=2592000 | ||
[telegram-url]: https://t.me/rucken |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,242 @@ | ||
{ | ||
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json", | ||
"version": 1, | ||
"newProjectRoot": "libs", | ||
"projects": { | ||
"app": { | ||
"root": "apps/demo/", | ||
"sourceRoot": "apps/demo/src", | ||
"projectType": "application", | ||
"prefix": "", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"styleext": "scss" | ||
} | ||
}, | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"progress": false, | ||
"outputPath": "dist/demo", | ||
"index": "apps/demo/src/index.html", | ||
"main": "apps/demo/src/main.ts", | ||
"polyfills": "apps/demo/src/polyfills.ts", | ||
"tsConfig": "apps/demo/tsconfig.app.json", | ||
"assets": [ | ||
{ | ||
"glob": "**/*", | ||
"input": "apps/demo/src/assets", | ||
"output": "assets" | ||
}, | ||
{ | ||
"glob": "**/*.svg", | ||
"input": "node_modules/@ionic/core/dist/ionic/svg", | ||
"output": "./svg" | ||
} | ||
], | ||
"styles": [ | ||
{ | ||
"input": "apps/demo/src/theme/variables.scss" | ||
}, | ||
{ | ||
"input": "apps/demo/src/global.scss" | ||
} | ||
], | ||
"scripts": [] | ||
}, | ||
"configurations": { | ||
"dev": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "apps/demo/src/environments/environment.ts", | ||
"with": "apps/demo/src/environments/environment.ts" | ||
} | ||
], | ||
"optimization": false, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"extractCss": true, | ||
"namedChunks": false, | ||
"aot": false, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": false | ||
}, | ||
"production": { | ||
"fileReplacements": [ | ||
{ | ||
"replace": "apps/demo/src/environments/environment.ts", | ||
"with": "apps/demo/src/environments/environment.prod.ts" | ||
} | ||
], | ||
"optimization": false, | ||
"outputHashing": "all", | ||
"sourceMap": false, | ||
"extractCss": true, | ||
"namedChunks": false, | ||
"aot": true, | ||
"extractLicenses": true, | ||
"vendorChunk": false, | ||
"buildOptimizer": false | ||
} | ||
} | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"options": { | ||
"browserTarget": "app:build" | ||
}, | ||
"configurations": { | ||
"dev": { | ||
"browserTarget": "app:build:dev" | ||
}, | ||
"production": { | ||
"browserTarget": "app:build:production" | ||
} | ||
} | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"browserTarget": "app:build" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "apps/demo/src/test.ts", | ||
"polyfills": "apps/demo/src/polyfills.ts", | ||
"tsConfig": "apps/demo/tsconfig.spec.json", | ||
"karmaConfig": "apps/demo/src/karma.conf.js", | ||
"scripts": [], | ||
"assets": [ | ||
{ | ||
"glob": "favicon.ico", | ||
"input": "apps/demo/src/", | ||
"output": "/" | ||
}, | ||
{ | ||
"glob": "**/*", | ||
"input": "apps/demo/src/assets", | ||
"output": "/assets" | ||
} | ||
] | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"apps/demo/tsconfig.app.json", | ||
"apps/demo/tsconfig.spec.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
}, | ||
"ionic-cordova-build": { | ||
"builder": "@ionic/ng-toolkit:cordova-build", | ||
"options": { | ||
"browserTarget": "app:build" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"browserTarget": "app:build:production" | ||
} | ||
} | ||
}, | ||
"ionic-cordova-serve": { | ||
"builder": "@ionic/ng-toolkit:cordova-serve", | ||
"options": { | ||
"cordovaBuildTarget": "app:ionic-cordova-build", | ||
"devServerTarget": "app:serve" | ||
}, | ||
"configurations": { | ||
"production": { | ||
"cordovaBuildTarget": "app:ionic-cordova-build:production", | ||
"devServerTarget": "app:serve:production" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"app-e2e": { | ||
"root": "apps/demo-e2e/", | ||
"projectType": "application", | ||
"architect": { | ||
"e2e": { | ||
"builder": "@angular-devkit/build-angular:protractor", | ||
"options": { | ||
"protractorConfig": "apps/demo-e2e/protractor.conf.js", | ||
"devServerTarget": "app:serve" | ||
}, | ||
"configurations": { | ||
"dev": { | ||
"devServerTarget": "app:serve:dev" | ||
}, | ||
"production": { | ||
"devServerTarget": "app:serve:production" | ||
} | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": "apps/demo-e2e/tsconfig.e2e.json", | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"@rucken/todo-ionic": { | ||
"root": "libs/rucken/todo-ionic", | ||
"sourceRoot": "libs/rucken/todo-ionic/src", | ||
"projectType": "library", | ||
"prefix": "lib", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-ng-packagr:build", | ||
"options": { | ||
"tsConfig": "libs/rucken/todo-ionic/tsconfig.lib.json", | ||
"project": "libs/rucken/todo-ionic/ng-package.json" | ||
} | ||
}, | ||
"test": { | ||
"builder": "@angular-devkit/build-angular:karma", | ||
"options": { | ||
"main": "libs/rucken/todo-ionic/src/test.ts", | ||
"tsConfig": "libs/rucken/todo-ionic/tsconfig.spec.json", | ||
"karmaConfig": "libs/rucken/todo-ionic/karma.conf.js" | ||
} | ||
}, | ||
"lint": { | ||
"builder": "@angular-devkit/build-angular:tslint", | ||
"options": { | ||
"tsConfig": [ | ||
"libs/rucken/todo-ionic/tsconfig.lib.json", | ||
"libs/rucken/todo-ionic/tsconfig.spec.json" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"cli": { | ||
"defaultCollection": "@ionic/schematics-angular" | ||
}, | ||
"schematics": { | ||
"@ionic/schematics-angular:component": { | ||
"styleext": "scss" | ||
}, | ||
"@ionic/schematics-angular:page": { | ||
"styleext": "scss" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Protractor configuration file, see link for more information | ||
// https://github.com/angular/protractor/blob/master/lib/config.ts | ||
|
||
import { SpecReporter } from 'jasmine-spec-reporter'; | ||
|
||
export const config = { | ||
allScriptsTimeout: 11000, | ||
specs: [ | ||
'./src/**/*.e2e-spec.ts' | ||
], | ||
capabilities: { | ||
'browserName': 'chrome' | ||
}, | ||
directConnect: true, | ||
baseUrl: 'http://localhost:8000/', | ||
framework: 'jasmine', | ||
jasmineNodeOpts: { | ||
showColors: true, | ||
defaultTimeoutInterval: 30000, | ||
print: function () { } | ||
}, | ||
onPrepare() { | ||
require('ts-node').register({ | ||
project: 'e2e/tsconfig.e2e.json' | ||
}); | ||
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); | ||
} | ||
}; |
Oops, something went wrong.