Skip to content

Commit 12c9128

Browse files
authored
Merge pull request #2 from vicenthy/update-ionicv4
fazendo merge , obrigado .
2 parents 5f92f1a + 81e10af commit 12c9128

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1637
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"repoId": "63499458-7003-4149-8f6c-60f3e50e3778",
3+
"lastSync": 0
4+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Specifies intentionally untracked files to ignore when using Git
2+
# http://git-scm.com/docs/gitignore
3+
4+
*~
5+
*.sw[mnpcod]
6+
*.log
7+
*.tmp
8+
*.tmp.*
9+
log.txt
10+
*.sublime-project
11+
*.sublime-workspace
12+
.vscode/
13+
npm-debug.log*
14+
15+
.idea/
16+
.ionic/
17+
.sourcemaps/
18+
.sass-cache/
19+
.tmp/
20+
.versions/
21+
coverage/
22+
www/
23+
node_modules/
24+
tmp/
25+
temp/
26+
platforms/
27+
plugins/
28+
plugins/android.json
29+
plugins/ios.json
30+
$RECYCLE.BIN/
31+
32+
.DS_Store
33+
Thumbs.db
34+
UserInterfaceState.xcuserstate
Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
{
2+
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
3+
"version": 1,
4+
"defaultProject": "app",
5+
"newProjectRoot": "projects",
6+
"projects": {
7+
"app": {
8+
"root": "",
9+
"sourceRoot": "src",
10+
"projectType": "application",
11+
"prefix": "app",
12+
"schematics": {},
13+
"architect": {
14+
"build": {
15+
"builder": "@angular-devkit/build-angular:browser",
16+
"options": {
17+
"outputPath": "www",
18+
"index": "src/index.html",
19+
"main": "src/main.ts",
20+
"polyfills": "src/polyfills.ts",
21+
"tsConfig": "src/tsconfig.app.json",
22+
"assets": [
23+
{
24+
"glob": "**/*",
25+
"input": "src/assets",
26+
"output": "assets"
27+
},
28+
{
29+
"glob": "**/*.svg",
30+
"input": "node_modules/ionicons/dist/ionicons/svg",
31+
"output": "./svg"
32+
}
33+
],
34+
"styles": [
35+
{
36+
"input": "src/theme/variables.scss"
37+
},
38+
{
39+
"input": "src/global.scss"
40+
}
41+
],
42+
"scripts": []
43+
},
44+
"configurations": {
45+
"production": {
46+
"fileReplacements": [
47+
{
48+
"replace": "src/environments/environment.ts",
49+
"with": "src/environments/environment.prod.ts"
50+
}
51+
],
52+
"optimization": true,
53+
"outputHashing": "all",
54+
"sourceMap": false,
55+
"extractCss": true,
56+
"namedChunks": false,
57+
"aot": true,
58+
"extractLicenses": true,
59+
"vendorChunk": false,
60+
"buildOptimizer": true,
61+
"budgets": [
62+
{
63+
"type": "initial",
64+
"maximumWarning": "2mb",
65+
"maximumError": "5mb"
66+
}
67+
]
68+
},
69+
"ci": {
70+
"progress": false
71+
}
72+
}
73+
},
74+
"serve": {
75+
"builder": "@angular-devkit/build-angular:dev-server",
76+
"options": {
77+
"browserTarget": "app:build"
78+
},
79+
"configurations": {
80+
"production": {
81+
"browserTarget": "app:build:production"
82+
},
83+
"ci": {
84+
"progress": false
85+
}
86+
}
87+
},
88+
"extract-i18n": {
89+
"builder": "@angular-devkit/build-angular:extract-i18n",
90+
"options": {
91+
"browserTarget": "app:build"
92+
}
93+
},
94+
"test": {
95+
"builder": "@angular-devkit/build-angular:karma",
96+
"options": {
97+
"main": "src/test.ts",
98+
"polyfills": "src/polyfills.ts",
99+
"tsConfig": "src/tsconfig.spec.json",
100+
"karmaConfig": "src/karma.conf.js",
101+
"styles": [],
102+
"scripts": [],
103+
"assets": [
104+
{
105+
"glob": "favicon.ico",
106+
"input": "src/",
107+
"output": "/"
108+
},
109+
{
110+
"glob": "**/*",
111+
"input": "src/assets",
112+
"output": "/assets"
113+
}
114+
]
115+
},
116+
"configurations": {
117+
"ci": {
118+
"progress": false,
119+
"watch": false
120+
}
121+
}
122+
},
123+
"lint": {
124+
"builder": "@angular-devkit/build-angular:tslint",
125+
"options": {
126+
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
127+
"exclude": ["**/node_modules/**"]
128+
}
129+
},
130+
"ionic-cordova-build": {
131+
"builder": "@ionic/angular-toolkit:cordova-build",
132+
"options": {
133+
"browserTarget": "app:build"
134+
},
135+
"configurations": {
136+
"production": {
137+
"browserTarget": "app:build:production"
138+
}
139+
}
140+
},
141+
"ionic-cordova-serve": {
142+
"builder": "@ionic/angular-toolkit:cordova-serve",
143+
"options": {
144+
"cordovaBuildTarget": "app:ionic-cordova-build",
145+
"devServerTarget": "app:serve"
146+
},
147+
"configurations": {
148+
"production": {
149+
"cordovaBuildTarget": "app:ionic-cordova-build:production",
150+
"devServerTarget": "app:serve:production"
151+
}
152+
}
153+
}
154+
}
155+
},
156+
"app-e2e": {
157+
"root": "e2e/",
158+
"projectType": "application",
159+
"architect": {
160+
"e2e": {
161+
"builder": "@angular-devkit/build-angular:protractor",
162+
"options": {
163+
"protractorConfig": "e2e/protractor.conf.js",
164+
"devServerTarget": "app:serve"
165+
},
166+
"configurations": {
167+
"ci": {
168+
"devServerTarget": "app:serve:ci"
169+
}
170+
}
171+
},
172+
"lint": {
173+
"builder": "@angular-devkit/build-angular:tslint",
174+
"options": {
175+
"tsConfig": "e2e/tsconfig.e2e.json",
176+
"exclude": ["**/node_modules/**"]
177+
}
178+
}
179+
}
180+
}
181+
},
182+
"cli": {
183+
"defaultCollection": "@ionic/angular-toolkit"
184+
},
185+
"schematics": {
186+
"@ionic/angular-toolkit:component": {
187+
"styleext": "scss"
188+
},
189+
"@ionic/angular-toolkit:page": {
190+
"styleext": "scss"
191+
}
192+
}
193+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Protractor configuration file, see link for more information
2+
// https://github.com/angular/protractor/blob/master/lib/config.ts
3+
4+
const { SpecReporter } = require('jasmine-spec-reporter');
5+
6+
exports.config = {
7+
allScriptsTimeout: 11000,
8+
specs: [
9+
'./src/**/*.e2e-spec.ts'
10+
],
11+
capabilities: {
12+
'browserName': 'chrome'
13+
},
14+
directConnect: true,
15+
baseUrl: 'http://localhost:4200/',
16+
framework: 'jasmine',
17+
jasmineNodeOpts: {
18+
showColors: true,
19+
defaultTimeoutInterval: 30000,
20+
print: function() {}
21+
},
22+
onPrepare() {
23+
require('ts-node').register({
24+
project: require('path').join(__dirname, './tsconfig.e2e.json')
25+
});
26+
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
27+
}
28+
};
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { AppPage } from './app.po';
2+
3+
describe('new App', () => {
4+
let page: AppPage;
5+
6+
beforeEach(() => {
7+
page = new AppPage();
8+
});
9+
describe('default screen', () => {
10+
beforeEach(() => {
11+
page.navigateTo('/home');
12+
});
13+
it('should have a title saying Home', () => {
14+
page.getPageOneTitleText().then(title => {
15+
expect(title).toEqual('Home');
16+
});
17+
});
18+
});
19+
});
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { browser, by, element } from 'protractor';
2+
3+
export class AppPage {
4+
navigateTo(destination) {
5+
return browser.get(destination);
6+
}
7+
8+
getTitle() {
9+
return browser.getTitle();
10+
}
11+
12+
getPageOneTitleText() {
13+
return element(by.tagName('app-home')).element(by.deepCss('ion-title')).getText();
14+
}
15+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/app",
5+
"module": "commonjs",
6+
"target": "es5",
7+
"types": [
8+
"jasmine",
9+
"jasminewd2",
10+
"node"
11+
]
12+
}
13+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "soujavaVagas",
3+
"integrations": {},
4+
"type": "angular"
5+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"name": "soujavaVagas",
3+
"version": "0.0.1",
4+
"author": "Ionic Framework",
5+
"homepage": "https://ionicframework.com/",
6+
"scripts": {
7+
"ng": "ng",
8+
"start": "ng serve",
9+
"build": "ng build",
10+
"test": "ng test",
11+
"lint": "ng lint",
12+
"e2e": "ng e2e"
13+
},
14+
"private": true,
15+
"dependencies": {
16+
"@angular/common": "^7.2.12",
17+
"@angular/core": "^7.2.12",
18+
"@angular/fire": "^5.1.2",
19+
"@angular/forms": "^7.2.12",
20+
"@angular/http": "^7.2.12",
21+
"@angular/platform-browser": "^7.2.12",
22+
"@angular/platform-browser-dynamic": "^7.2.12",
23+
"@angular/router": "^7.2.12",
24+
"@ionic-native/core": "^5.3.0",
25+
"@ionic-native/splash-screen": "^5.3.0",
26+
"@ionic-native/status-bar": "^5.3.0",
27+
"@ionic/angular": "^4.2.0",
28+
"core-js": "^2.5.4",
29+
"firebase": "^5.9.3",
30+
"rxjs": "~6.3.3",
31+
"zone.js": "~0.8.29"
32+
},
33+
"devDependencies": {
34+
"@angular-devkit/architect": "~0.12.3",
35+
"@angular-devkit/build-angular": "~0.12.3",
36+
"@angular-devkit/core": "~7.2.3",
37+
"@angular-devkit/schematics": "~7.2.3",
38+
"@angular/cli": "~7.2.3",
39+
"@angular/compiler": "^7.2.12",
40+
"@angular/compiler-cli": "^7.2.12",
41+
"@angular/language-service": "^7.2.12",
42+
"@ionic/angular-toolkit": "^1.4.1",
43+
"@ionic/lab": "1.0.24",
44+
"@types/jasmine": "~2.8.8",
45+
"@types/jasminewd2": "~2.0.3",
46+
"@types/node": "^10.12.30",
47+
"codelyzer": "~4.5.0",
48+
"jasmine-core": "~2.99.1",
49+
"jasmine-spec-reporter": "~4.2.1",
50+
"karma": "~3.1.4",
51+
"karma-chrome-launcher": "~2.2.0",
52+
"karma-coverage-istanbul-reporter": "~2.0.1",
53+
"karma-jasmine": "~1.1.2",
54+
"karma-jasmine-html-reporter": "^0.2.2",
55+
"protractor": "~5.4.0",
56+
"ts-node": "^8.0.3",
57+
"tslint": "~5.12.0",
58+
"typescript": "~3.1.6"
59+
},
60+
"description": "An Ionic project"
61+
}

0 commit comments

Comments
 (0)