Skip to content

Commit a2f683e

Browse files
v5 code
0 parents  commit a2f683e

File tree

341 files changed

+23183
-0
lines changed

Some content is hidden

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

341 files changed

+23183
-0
lines changed

.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Specifies intentionally untracked files to ignore when using Git
2+
# http://git-scm.com/docs/gitignore
3+
4+
*~
5+
*.sw[mnpcod]
6+
.tmp
7+
*.tmp
8+
*.tmp.*
9+
*.sublime-project
10+
*.sublime-workspace
11+
.DS_Store
12+
Thumbs.db
13+
UserInterfaceState.xcuserstate
14+
$RECYCLE.BIN/
15+
16+
*.log
17+
log.txt
18+
npm-debug.log*
19+
20+
/.idea
21+
/.ionic
22+
/.sass-cache
23+
/.sourcemaps
24+
/.versions
25+
/.vscode
26+
/e2e
27+
/coverage
28+
/dist
29+
/node_modules
30+
/platforms
31+
/plugins
32+
/www

.prettierrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
singleQuote: true,
3+
trailingComma: 'none',
4+
arrowParens: 'avoid',
5+
printWidth: 120
6+
};

angular.json

+190
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/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": "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": "tsconfig.spec.json",
100+
"karmaConfig": "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": [
127+
"tsconfig.app.json",
128+
"tsconfig.spec.json",
129+
"e2e/tsconfig.json"
130+
],
131+
"exclude": [
132+
"**/node_modules/**"
133+
]
134+
}
135+
},
136+
"e2e": {
137+
"builder": "@angular-devkit/build-angular:protractor",
138+
"options": {
139+
"protractorConfig": "e2e/protractor.conf.js",
140+
"devServerTarget": "app:serve"
141+
},
142+
"configurations": {
143+
"production": {
144+
"devServerTarget": "app:serve:production"
145+
},
146+
"ci": {
147+
"devServerTarget": "app:serve:ci"
148+
}
149+
}
150+
},
151+
"ionic-cordova-build": {
152+
"builder": "@ionic/angular-toolkit:cordova-build",
153+
"options": {
154+
"browserTarget": "app:build"
155+
},
156+
"configurations": {
157+
"production": {
158+
"browserTarget": "app:build:production"
159+
}
160+
}
161+
},
162+
"ionic-cordova-serve": {
163+
"builder": "@ionic/angular-toolkit:cordova-serve",
164+
"options": {
165+
"cordovaBuildTarget": "app:ionic-cordova-build",
166+
"devServerTarget": "app:serve"
167+
},
168+
"configurations": {
169+
"production": {
170+
"cordovaBuildTarget": "app:ionic-cordova-build:production",
171+
"devServerTarget": "app:serve:production"
172+
}
173+
}
174+
}
175+
}
176+
}
177+
},
178+
"cli": {
179+
"defaultCollection": "@ionic/angular-toolkit",
180+
"analytics": false
181+
},
182+
"schematics": {
183+
"@ionic/angular-toolkit:component": {
184+
"styleext": "scss"
185+
},
186+
"@ionic/angular-toolkit:page": {
187+
"styleext": "scss"
188+
}
189+
}
190+
}

browserslist

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

config.xml

+121
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<widget android-versionCode="2000" id="com.expatriates.app" version="2.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3+
<name>expatriates.com</name>
4+
<description>
5+
The online community for expatriates.
6+
</description>
7+
<author email="[email protected]" href="http://expatriates.com/">
8+
Expatriates.com Team
9+
</author>
10+
<content src="index.html" />
11+
<access origin="*" />
12+
<allow-intent href="http://*/*" />
13+
<allow-intent href="https://*/*" />
14+
<allow-intent href="tel:*" />
15+
<allow-intent href="sms:*" />
16+
<allow-intent href="mailto:*" />
17+
<allow-intent href="geo:*" />
18+
<preference name="ScrollEnabled" value="false" />
19+
<preference name="android-minSdkVersion" value="19" />
20+
<preference name="BackupWebStorage" value="none" />
21+
<preference name="SplashMaintainAspectRatio" value="true" />
22+
<preference name="FadeSplashScreenDuration" value="300" />
23+
<preference name="SplashShowOnlyFirstTime" value="false" />
24+
<preference name="SplashScreen" value="screen" />
25+
<preference name="SplashScreenDelay" value="3000" />
26+
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
27+
<preference name="WKWebViewOnly" value="true" />
28+
<platform name="android">
29+
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
30+
<application android:networkSecurityConfig="@xml/network_security_config" />
31+
</edit-config>
32+
<resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
33+
<allow-intent href="market:*" />
34+
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
35+
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
36+
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
37+
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
38+
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
39+
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
40+
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
41+
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
42+
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
43+
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
44+
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
45+
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
46+
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
47+
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
48+
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
49+
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
50+
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
51+
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
52+
</platform>
53+
<platform name="ios">
54+
<allow-intent href="itms:*" />
55+
<allow-intent href="itms-apps:*" />
56+
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
57+
<icon height="114" src="resources/ios/icon/[email protected]" width="114" />
58+
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
59+
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
60+
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
61+
<icon height="20" src="resources/ios/icon/icon-20.png" width="20" />
62+
<icon height="40" src="resources/ios/icon/[email protected]" width="40" />
63+
<icon height="60" src="resources/ios/icon/[email protected]" width="60" />
64+
<icon height="48" src="resources/ios/icon/[email protected]" width="48" />
65+
<icon height="55" src="resources/ios/icon/[email protected]" width="55" />
66+
<icon height="29" src="resources/ios/icon/icon-29.png" width="29" />
67+
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
68+
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
69+
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
70+
<icon height="80" src="resources/ios/icon/[email protected]" width="80" />
71+
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
72+
<icon height="88" src="resources/ios/icon/[email protected]" width="88" />
73+
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
74+
<icon height="100" src="resources/ios/icon/[email protected]" width="100" />
75+
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
76+
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
77+
<icon height="180" src="resources/ios/icon/[email protected]" width="180" />
78+
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
79+
<icon height="144" src="resources/ios/icon/[email protected]" width="144" />
80+
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
81+
<icon height="152" src="resources/ios/icon/[email protected]" width="152" />
82+
<icon height="167" src="resources/ios/icon/[email protected]" width="167" />
83+
<icon height="172" src="resources/ios/icon/[email protected]" width="172" />
84+
<icon height="196" src="resources/ios/icon/[email protected]" width="196" />
85+
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
86+
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
87+
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
88+
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
89+
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
90+
<splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" />
91+
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
92+
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
93+
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
94+
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
95+
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
96+
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
97+
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
98+
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
99+
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
100+
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
101+
<icon height="216" src="resources/ios/icon/[email protected]" width="216" />
102+
<splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" />
103+
<splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" />
104+
<splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" />
105+
<splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" />
106+
<feature name="CDVWKWebViewEngine">
107+
<param name="ios-package" value="CDVWKWebViewEngine" />
108+
</feature>
109+
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
110+
<string>You can take photos</string>
111+
</config-file>
112+
</platform>
113+
<plugin name="cordova-plugin-whitelist" spec="~1.3.3" />
114+
<plugin name="cordova-plugin-statusbar" spec="~2.4.2" />
115+
<plugin name="cordova-plugin-device" spec="~2.0.2" />
116+
<plugin name="cordova-plugin-splashscreen" spec="~5.0.2" />
117+
<plugin name="cordova-plugin-ionic-webview" spec="^4.0.0">
118+
<variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" />
119+
</plugin>
120+
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
121+
</widget>

ionic.config.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "expatriates.com",
3+
"integrations": {
4+
"cordova": {}
5+
},
6+
"proxies": [{
7+
"path": "/eapi",
8+
"proxyUrl": "https://www.expatriates.com"
9+
}],
10+
"type": "angular"
11+
}

0 commit comments

Comments
 (0)