Skip to content

Commit c98e5fb

Browse files
authored
Merge pull request sagalbot#433 from sagalbot/maintenance/update-dev-env
Maintenance/update dev env
2 parents 80585c1 + ec930c5 commit c98e5fb

File tree

8 files changed

+335
-91
lines changed

8 files changed

+335
-91
lines changed

build/webpack.base.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var projectRoot = path.resolve(__dirname, '../')
55

66
module.exports = {
77
entry: {
8-
app: utils.shouldServeHomepage() ? './docs/homepage/home.js' : './src/dev.js',
8+
app: utils.shouldServeHomepage() ? './docs/homepage/home.js' : './dev/dev.js',
99
},
1010
output: {
1111
path: config.build.assetsRoot,

build/webpack.dev.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = merge(baseWebpackConfig, {
2727
// https://github.com/ampedandwired/html-webpack-plugin
2828
new HtmlWebpackPlugin({
2929
filename: 'index.html',
30-
template: utils.shouldServeHomepage() ? './docs/homepage/home.html' : 'dev.html',
30+
template: utils.shouldServeHomepage() ? './docs/homepage/home.html' : './dev/dev.html',
3131
inject: true
3232
})
3333
],

dev.html

Lines changed: 0 additions & 83 deletions
This file was deleted.
File renamed without changes.

dev/data/countries.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/data/countryCodes.js

Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
export default [
2+
{value: "AF", label: "Afghanistan"},
3+
{value: "AX", label: "Åland Islands"},
4+
{value: "AL", label: "Albania"},
5+
{value: "DZ", label: "Algeria"},
6+
{value: "AS", label: "American Samoa"},
7+
{value: "AD", label: "Andorra"},
8+
{value: "AO", label: "Angola"},
9+
{value: "AI", label: "Anguilla"},
10+
{value: "AQ", label: "Antarctica"},
11+
{value: "AG", label: "Antigua and Barbuda"},
12+
{value: "AR", label: "Argentina"},
13+
{value: "AM", label: "Armenia"},
14+
{value: "AW", label: "Aruba"},
15+
{value: "AU", label: "Australia"},
16+
{value: "AT", label: "Austria"},
17+
{value: "AZ", label: "Azerbaijan"},
18+
{value: "BS", label: "Bahamas"},
19+
{value: "BH", label: "Bahrain"},
20+
{value: "BD", label: "Bangladesh"},
21+
{value: "BB", label: "Barbados"},
22+
{value: "BY", label: "Belarus"},
23+
{value: "BE", label: "Belgium"},
24+
{value: "BZ", label: "Belize"},
25+
{value: "BJ", label: "Benin"},
26+
{value: "BM", label: "Bermuda"},
27+
{value: "BT", label: "Bhutan"},
28+
{value: "BO", label: "Bolivia"},
29+
{value: "BA", label: "Bosnia and Herzegovina"},
30+
{value: "BW", label: "Botswana"},
31+
{value: "BV", label: "Bouvet Island"},
32+
{value: "BR", label: "Brazil"},
33+
{value: "IO", label: "British Indian Ocean Territory"},
34+
{value: "BN", label: "Brunei Darussalam"},
35+
{value: "BG", label: "Bulgaria"},
36+
{value: "BF", label: "Burkina Faso"},
37+
{value: "BI", label: "Burundi"},
38+
{value: "KH", label: "Cambodia"},
39+
{value: "CM", label: "Cameroon"},
40+
{value: "CA", label: "Canada"},
41+
{value: "CV", label: "Cape Verde"},
42+
{value: "KY", label: "Cayman Islands"},
43+
{value: "CF", label: "Central African Republic"},
44+
{value: "TD", label: "Chad"},
45+
{value: "CL", label: "Chile"},
46+
{value: "CN", label: "China"},
47+
{value: "CX", label: "Christmas Island"},
48+
{value: "CC", label: "Cocos (Keeling) Islands"},
49+
{value: "CO", label: "Colombia"},
50+
{value: "KM", label: "Comoros"},
51+
{value: "CG", label: "Congo"},
52+
{value: "CD", label: "Congo, The Democratic Republic of The"},
53+
{value: "CK", label: "Cook Islands"},
54+
{value: "CR", label: "Costa Rica"},
55+
{value: "CI", label: "Cote D'ivoire"},
56+
{value: "HR", label: "Croatia"},
57+
{value: "CU", label: "Cuba"},
58+
{value: "CY", label: "Cyprus"},
59+
{value: "CZ", label: "Czech Republic"},
60+
{value: "DK", label: "Denmark"},
61+
{value: "DJ", label: "Djibouti"},
62+
{value: "DM", label: "Dominica"},
63+
{value: "DO", label: "Dominican Republic"},
64+
{value: "EC", label: "Ecuador"},
65+
{value: "EG", label: "Egypt"},
66+
{value: "SV", label: "El Salvador"},
67+
{value: "GQ", label: "Equatorial Guinea"},
68+
{value: "ER", label: "Eritrea"},
69+
{value: "EE", label: "Estonia"},
70+
{value: "ET", label: "Ethiopia"},
71+
{value: "FK", label: "Falkland Islands (Malvinas)"},
72+
{value: "FO", label: "Faroe Islands"},
73+
{value: "FJ", label: "Fiji"},
74+
{value: "FI", label: "Finland"},
75+
{value: "FR", label: "France"},
76+
{value: "GF", label: "French Guiana"},
77+
{value: "PF", label: "French Polynesia"},
78+
{value: "TF", label: "French Southern Territories"},
79+
{value: "GA", label: "Gabon"},
80+
{value: "GM", label: "Gambia"},
81+
{value: "GE", label: "Georgia"},
82+
{value: "DE", label: "Germany"},
83+
{value: "GH", label: "Ghana"},
84+
{value: "GI", label: "Gibraltar"},
85+
{value: "GR", label: "Greece"},
86+
{value: "GL", label: "Greenland"},
87+
{value: "GD", label: "Grenada"},
88+
{value: "GP", label: "Guadeloupe"},
89+
{value: "GU", label: "Guam"},
90+
{value: "GT", label: "Guatemala"},
91+
{value: "GG", label: "Guernsey"},
92+
{value: "GN", label: "Guinea"},
93+
{value: "GW", label: "Guinea-bissau"},
94+
{value: "GY", label: "Guyana"},
95+
{value: "HT", label: "Haiti"},
96+
{value: "HM", label: "Heard Island and Mcdonald Islands"},
97+
{value: "VA", label: "Holy See (Vatican City State)"},
98+
{value: "HN", label: "Honduras"},
99+
{value: "HK", label: "Hong Kong"},
100+
{value: "HU", label: "Hungary"},
101+
{value: "IS", label: "Iceland"},
102+
{value: "IN", label: "India"},
103+
{value: "ID", label: "Indonesia"},
104+
{value: "IR", label: "Iran, Islamic Republic of"},
105+
{value: "IQ", label: "Iraq"},
106+
{value: "IE", label: "Ireland"},
107+
{value: "IM", label: "Isle of Man"},
108+
{value: "IL", label: "Israel"},
109+
{value: "IT", label: "Italy"},
110+
{value: "JM", label: "Jamaica"},
111+
{value: "JP", label: "Japan"},
112+
{value: "JE", label: "Jersey"},
113+
{value: "JO", label: "Jordan"},
114+
{value: "KZ", label: "Kazakhstan"},
115+
{value: "KE", label: "Kenya"},
116+
{value: "KI", label: "Kiribati"},
117+
{value: "KP", label: "Korea, Democratic People's Republic of"},
118+
{value: "KR", label: "Korea, Republic of"},
119+
{value: "KW", label: "Kuwait"},
120+
{value: "KG", label: "Kyrgyzstan"},
121+
{value: "LA", label: "Lao People's Democratic Republic"},
122+
{value: "LV", label: "Latvia"},
123+
{value: "LB", label: "Lebanon"},
124+
{value: "LS", label: "Lesotho"},
125+
{value: "LR", label: "Liberia"},
126+
{value: "LY", label: "Libyan Arab Jamahiriya"},
127+
{value: "LI", label: "Liechtenstein"},
128+
{value: "LT", label: "Lithuania"},
129+
{value: "LU", label: "Luxembourg"},
130+
{value: "MO", label: "Macao"},
131+
{value: "MK", label: "Macedonia, The Former Yugoslav Republic of"},
132+
{value: "MG", label: "Madagascar"},
133+
{value: "MW", label: "Malawi"},
134+
{value: "MY", label: "Malaysia"},
135+
{value: "MV", label: "Maldives"},
136+
{value: "ML", label: "Mali"},
137+
{value: "MT", label: "Malta"},
138+
{value: "MH", label: "Marshall Islands"},
139+
{value: "MQ", label: "Martinique"},
140+
{value: "MR", label: "Mauritania"},
141+
{value: "MU", label: "Mauritius"},
142+
{value: "YT", label: "Mayotte"},
143+
{value: "MX", label: "Mexico"},
144+
{value: "FM", label: "Micronesia, Federated States of"},
145+
{value: "MD", label: "Moldova, Republic of"},
146+
{value: "MC", label: "Monaco"},
147+
{value: "MN", label: "Mongolia"},
148+
{value: "ME", label: "Montenegro"},
149+
{value: "MS", label: "Montserrat"},
150+
{value: "MA", label: "Morocco"},
151+
{value: "MZ", label: "Mozambique"},
152+
{value: "MM", label: "Myanmar"},
153+
{value: "NA", label: "Namibia"},
154+
{value: "NR", label: "Nauru"},
155+
{value: "NP", label: "Nepal"},
156+
{value: "NL", label: "Netherlands"},
157+
{value: "AN", label: "Netherlands Antilles"},
158+
{value: "NC", label: "New Caledonia"},
159+
{value: "NZ", label: "New Zealand"},
160+
{value: "NI", label: "Nicaragua"},
161+
{value: "NE", label: "Niger"},
162+
{value: "NG", label: "Nigeria"},
163+
{value: "NU", label: "Niue"},
164+
{value: "NF", label: "Norfolk Island"},
165+
{value: "MP", label: "Northern Mariana Islands"},
166+
{value: "NO", label: "Norway"},
167+
{value: "OM", label: "Oman"},
168+
{value: "PK", label: "Pakistan"},
169+
{value: "PW", label: "Palau"},
170+
{value: "PS", label: "Palestinian Territory, Occupied"},
171+
{value: "PA", label: "Panama"},
172+
{value: "PG", label: "Papua New Guinea"},
173+
{value: "PY", label: "Paraguay"},
174+
{value: "PE", label: "Peru"},
175+
{value: "PH", label: "Philippines"},
176+
{value: "PN", label: "Pitcairn"},
177+
{value: "PL", label: "Poland"},
178+
{value: "PT", label: "Portugal"},
179+
{value: "PR", label: "Puerto Rico"},
180+
{value: "QA", label: "Qatar"},
181+
{value: "RE", label: "Reunion"},
182+
{value: "RO", label: "Romania"},
183+
{value: "RU", label: "Russian Federation"},
184+
{value: "RW", label: "Rwanda"},
185+
{value: "SH", label: "Saint Helena"},
186+
{value: "KN", label: "Saint Kitts and Nevis"},
187+
{value: "LC", label: "Saint Lucia"},
188+
{value: "PM", label: "Saint Pierre and Miquelon"},
189+
{value: "VC", label: "Saint Vincent and The Grenadines"},
190+
{value: "WS", label: "Samoa"},
191+
{value: "SM", label: "San Marino"},
192+
{value: "ST", label: "Sao Tome and Principe"},
193+
{value: "SA", label: "Saudi Arabia"},
194+
{value: "SN", label: "Senegal"},
195+
{value: "RS", label: "Serbia"},
196+
{value: "SC", label: "Seychelles"},
197+
{value: "SL", label: "Sierra Leone"},
198+
{value: "SG", label: "Singapore"},
199+
{value: "SK", label: "Slovakia"},
200+
{value: "SI", label: "Slovenia"},
201+
{value: "SB", label: "Solomon Islands"},
202+
{value: "SO", label: "Somalia"},
203+
{value: "ZA", label: "South Africa"},
204+
{value: "GS", label: "South Georgia and The South Sandwich Islands"},
205+
{value: "ES", label: "Spain"},
206+
{value: "LK", label: "Sri Lanka"},
207+
{value: "SD", label: "Sudan"},
208+
{value: "SR", label: "Suriname"},
209+
{value: "SJ", label: "Svalbard and Jan Mayen"},
210+
{value: "SZ", label: "Swaziland"},
211+
{value: "SE", label: "Sweden"},
212+
{value: "CH", label: "Switzerland"},
213+
{value: "SY", label: "Syrian Arab Republic"},
214+
{value: "TW", label: "Taiwan, Province of China"},
215+
{value: "TJ", label: "Tajikistan"},
216+
{value: "TZ", label: "Tanzania, United Republic of"},
217+
{value: "TH", label: "Thailand"},
218+
{value: "TL", label: "Timor-leste"},
219+
{value: "TG", label: "Togo"},
220+
{value: "TK", label: "Tokelau"},
221+
{value: "TO", label: "Tonga"},
222+
{value: "TT", label: "Trinidad and Tobago"},
223+
{value: "TN", label: "Tunisia"},
224+
{value: "TR", label: "Turkey"},
225+
{value: "TM", label: "Turkmenistan"},
226+
{value: "TC", label: "Turks and Caicos Islands"},
227+
{value: "TV", label: "Tuvalu"},
228+
{value: "UG", label: "Uganda"},
229+
{value: "UA", label: "Ukraine"},
230+
{value: "AE", label: "United Arab Emirates"},
231+
{value: "GB", label: "United Kingdom"},
232+
{value: "US", label: "United States"},
233+
{value: "UM", label: "United States Minor Outlying Islands"},
234+
{value: "UY", label: "Uruguay"},
235+
{value: "UZ", label: "Uzbekistan"},
236+
{value: "VU", label: "Vanuatu"},
237+
{value: "VE", label: "Venezuela"},
238+
{value: "VN", label: "Viet Nam"},
239+
{value: "VG", label: "Virgin Islands, British"},
240+
{value: "VI", label: "Virgin Islands, U.S."},
241+
{value: "WF", label: "Wallis and Futuna"},
242+
{value: "EH", label: "Western Sahara"},
243+
{value: "YE", label: "Yemen"},
244+
{value: "ZM", label: "Zambia"},
245+
{value: "ZW", label: "Zimbabwe"},
246+
];

0 commit comments

Comments
 (0)