-
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.
- Loading branch information
Showing
17 changed files
with
3,792 additions
and
2,073 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
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ npm-debug.log | |
demo | ||
coverage/ | ||
.opt-in | ||
dist/ |
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,33 @@ | ||
sudo: false | ||
sudo: required | ||
language: node_js | ||
node_js: | ||
- "8" | ||
addons: | ||
chrome: stable | ||
cache: | ||
yarn: true | ||
directories: | ||
- ~/.yarn | ||
- node_modules | ||
notifications: | ||
email: false | ||
node_js: | ||
- '6' | ||
branches: | ||
only: | ||
- master | ||
install: | ||
- npm i | ||
env: | ||
global: | ||
- YARN_VERSION=1.3.2 | ||
|
||
before_install: | ||
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost & | ||
- yarn global add greenkeeper-lockfile@1 | ||
- | | ||
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then | ||
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION | ||
fi | ||
before_script: greenkeeper-lockfile-update | ||
after_script: greenkeeper-lockfile-upload | ||
script: | ||
- npm run build | ||
after_success: | ||
- npm run semantic-release | ||
- yarn build | ||
after_success: | ||
- yarn travis-deploy-once "yarn semantic-release" | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
|
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,3 @@ | ||
module.exports = { | ||
plugins: [require('autoprefixer')({ browsers: 'last 2 versions' })] | ||
}; |
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,5 +1,8 @@ | ||
import EN from './lang/en.json'; | ||
import ZH_TW from './lang/zh-tw.json'; | ||
|
||
export default $translateProvider => { | ||
'ngInject'; | ||
$translateProvider.translations('en', require('./lang/en.json')); | ||
$translateProvider.translations('zh-tw', require('./lang/zh-tw.json')); | ||
$translateProvider.translations('en', EN); | ||
$translateProvider.translations('zh-tw', ZH_TW); | ||
}; |
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
Oops, something went wrong.