-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from Poll-me/release/0.1.0-alpha.1
Release 0.1.0-alpha.1 Added - Basic HomePage that shows basic PollMe info - Polls module for view the user polls and user activity across any poll - Poll module for the stuff related to a specific poll (create, fill, etc) - User module that manages all the user related features like login, - register or profile update - Registration poll type - Share poll utilities for share the poll results on Whats App - Support pages like NotFoundPage or ErrorPage - Rapid UI development using Tailwind, the utility-first CSS framework - Auth support using Firebase authentication - Firebase real-time database support for store the app data - Files upload support using the Firebase storage service - Vuex state management for share the store data across the app - Form validations using Vuelidate library - Internationalization support using the vue-i18n library - Continuous integration (CI) using Travis CI service - Continuous deployment (CD) using the Netlify service - PWA app configuration for allow the users install the app on their devices
- Loading branch information
Showing
136 changed files
with
5,946 additions
and
648 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 |
---|---|---|
@@ -1,18 +1,32 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
"modules": false, | ||
"targets": { | ||
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"] | ||
[ | ||
"env", | ||
{ | ||
"modules": false, | ||
"targets": { | ||
"browsers": ["> 1%", "last 2 versions", "not ie <= 10"] | ||
} | ||
} | ||
}], | ||
], | ||
"stage-2" | ||
], | ||
"plugins": ["transform-vue-jsx", "transform-runtime"], | ||
"plugins": [ | ||
"transform-vue-jsx", | ||
"transform-runtime", | ||
"transform-decorators-legacy", | ||
"transform-class-properties" | ||
], | ||
"env": { | ||
"test": { | ||
"presets": ["env", "stage-2"], | ||
"plugins": ["transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node"] | ||
"plugins": [ | ||
"transform-vue-jsx", | ||
"transform-es2015-modules-commonjs", | ||
"dynamic-import-node", | ||
"transform-decorators-legacy", | ||
"transform-class-properties" | ||
] | ||
} | ||
} | ||
} |
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
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,8 @@ | ||
# YAML format | ||
# https://github.com/michael-ciniawsky/postcss-load-config | ||
|
||
plugins: | ||
postcss-import: {} | ||
postcss-url: {} | ||
tailwindcss: './tailwind-config.js' | ||
postcss-cssnext: {} |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
language: node_js | ||
node_js: | ||
- "8" | ||
jobs: | ||
include: | ||
- stage: lint | ||
script: yarn lint | ||
- stage: test | ||
script: yarn unit | ||
- stage: build | ||
script: yarn build |
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
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
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
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,11 @@ | ||
'use strict' | ||
|
||
const fs = require('fs') | ||
const UglifyJS = require('uglify-es') | ||
|
||
module.exports = function(filePath) { | ||
const code = fs.readFileSync(filePath, 'utf-8') | ||
const result = UglifyJS.minify(code) | ||
if (result.error) return '' | ||
return result.code | ||
} |
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,17 @@ | ||
// This service worker file is effectively a 'no-op' that will reset any | ||
// previous service worker registered for the same host:port combination. | ||
// In the production build, this file is replaced with an actual service worker | ||
// file that will precache your site's local assets. | ||
// See https://github.com/facebookincubator/create-react-app/issues/2272#issuecomment-302832432 | ||
|
||
self.addEventListener('install', () => self.skipWaiting()); | ||
|
||
self.addEventListener('activate', () => { | ||
self.clients.matchAll({ type: 'window' }).then(windowClients => { | ||
for (let windowClient of windowClients) { | ||
// Force open pages to refresh, so that they have a chance to load the | ||
// fresh navigation response from the local dev server. | ||
windowClient.navigate(windowClient.url); | ||
} | ||
}); | ||
}); |
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,55 @@ | ||
(function() { | ||
'use strict'; | ||
|
||
// Check to make sure service workers are supported in the current browser, | ||
// and that the current page is accessed from a secure origin. Using a | ||
// service worker from an insecure origin will trigger JS console errors. | ||
var isLocalhost = Boolean(window.location.hostname === 'localhost' || | ||
// [::1] is the IPv6 localhost address. | ||
window.location.hostname === '[::1]' || | ||
// 127.0.0.1/8 is considered localhost for IPv4. | ||
window.location.hostname.match( | ||
/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/ | ||
) | ||
); | ||
|
||
window.addEventListener('load', function() { | ||
if ('serviceWorker' in navigator && | ||
(window.location.protocol === 'https:' || isLocalhost)) { | ||
navigator.serviceWorker.register('service-worker.js') | ||
.then(function(registration) { | ||
// updatefound is fired if service-worker.js changes. | ||
registration.onupdatefound = function() { | ||
// updatefound is also fired the very first time the SW is installed, | ||
// and there's no need to prompt for a reload at that point. | ||
// So check here to see if the page is already controlled, | ||
// i.e. whether there's an existing service worker. | ||
if (navigator.serviceWorker.controller) { | ||
// The updatefound event implies that registration.installing is set | ||
var installingWorker = registration.installing; | ||
|
||
installingWorker.onstatechange = function() { | ||
switch (installingWorker.state) { | ||
case 'installed': | ||
// At this point, the old content will have been purged and the | ||
// fresh content will have been added to the cache. | ||
// It's the perfect time to display a "New content is | ||
// available; please refresh." message in the page's interface. | ||
break; | ||
|
||
case 'redundant': | ||
throw new Error('The installing ' + | ||
'service worker became redundant.'); | ||
|
||
default: | ||
// Ignore | ||
} | ||
}; | ||
} | ||
}; | ||
}).catch(function(e) { | ||
console.error('Error during service worker registration:', e); | ||
}); | ||
} | ||
}); | ||
})(); |
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
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
Oops, something went wrong.