forked from tintinmar1995/cozy-dispers-app
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 0e373ad
Showing
65 changed files
with
15,567 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{jade,pug}] | ||
trim_trailing_whitespace = false | ||
|
||
[*.styl] | ||
indent_size = 4 |
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 @@ | ||
{ | ||
"extends": ["cozy-app/react"] | ||
} |
Empty file.
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,20 @@ | ||
*Please explain what this PR does here.* | ||
|
||
#### Checklist | ||
|
||
Before merging this PR, the following things must have been done: | ||
|
||
- [ ] Faithful integration of the mockups at all screen sizes | ||
- [ ] Tested on supported browsers, including responsive mode (IE11 and Edge, Chrome >= 42, 2 latest versions of Firefox and Safari) | ||
- [ ] Localized in english and french | ||
- [ ] All changes have test coverage | ||
- [ ] Updated README, if necessary | ||
- [ ] Make sure commit messages rely on the [Commitizen](http://commitizen.github.io/cz-cli/) format | ||
|
||
If this PR relies on changes in one of our internal libraries (cozy-client-js or cozy-ui, for example), please also do the following things: | ||
|
||
- [ ] The package.json and yarn.lock files include the correct dependency version, in those versions have been released | ||
- [ ] [cozy-client-js](https://github.com/cozy/cozy-client-js) documentation and tests are up to date | ||
- [ ] [cozy-ui](https://github.com/cozy/cozy-ui) documentation and style guides are up to date | ||
|
||
*(If not, please remove this last section.)* |
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,59 @@ | ||
# NPM | ||
node_modules/ | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
|
||
# Build | ||
build/ | ||
|
||
# Coverage | ||
coverage/ | ||
|
||
|
||
# Locales | ||
**/locales/* | ||
!**/locales/en.json | ||
|
||
|
||
# transifex | ||
.transifexrc | ||
|
||
|
||
# Coverage | ||
coverage/ | ||
|
||
|
||
# OS generated files | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
desktop.ini | ||
|
||
|
||
# Mobile | ||
targets/mobile/hooks | ||
targets/mobile/platforms | ||
targets/mobile/plugins | ||
targets/mobile/www | ||
targets/mobile/keys | ||
targets/mobile/res/icons | ||
targets/mobile/res/screens | ||
targets/mobile/icon.png | ||
targets/mobile/store | ||
|
||
# fastlane | ||
mobile/fastlane/README.md | ||
mobile/fastlane/report.xml | ||
mobile/fastlane/Error*.png | ||
mobile/fastlane/Preview.html | ||
mobile/Preview.html | ||
|
||
|
||
# Default | ||
# /!\ KEEP THIS SECTION THE LAST ONE | ||
!.gitkeep |
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,4 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true | ||
} |
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,120 @@ | ||
{ | ||
"blocks": "never", | ||
"brackets": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"colons": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"colors": { | ||
"expect": "always", | ||
"error": true | ||
}, | ||
"commaSpace": { | ||
"expect": "always", | ||
"error": true | ||
}, | ||
"commentSpace": { | ||
"expect": "always", | ||
"error": true | ||
}, | ||
"cssLiteral": "never", | ||
"customProperties": [], | ||
"depthLimit": 4, | ||
"duplicates": { | ||
"expect": true, | ||
"error": true | ||
}, | ||
"efficient": { | ||
"expect": "always", | ||
"error": true | ||
}, | ||
"exclude": [], | ||
"extendPref": "@extend", | ||
"globalDupe": { | ||
"expect": true, | ||
"error": true | ||
}, | ||
"groupOutputByFile": { | ||
"expect": true, | ||
"error": true | ||
}, | ||
"indentPref": { | ||
"expect": 4, | ||
"error": true | ||
}, | ||
"leadingZero": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"maxErrors": false, | ||
"maxWarnings": false, | ||
"mixed": { | ||
"expect": true, | ||
"error": true | ||
}, | ||
"mixins": ["top-padded","right-padded","bottom-padded","left-padded","vertically-padded","horizontally-padded","padded","top-spaced","right-spaced","bottom-spaced","left-spaced","vertically-spaced","horizontally-spaced","spaced","hide","reset"], | ||
"namingConvention": { | ||
"expect": "lowercase-dash", | ||
"error": true | ||
}, | ||
"namingConventionStrict": false, | ||
"none": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"noImportant": { | ||
"expect": true, | ||
"error": true | ||
}, | ||
"parenSpace": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"placeholders": { | ||
"expect": "always", | ||
"error": true | ||
}, | ||
"prefixVarsWithDollar": false, | ||
"quotePref": { | ||
"expect": "single", | ||
"error": true | ||
}, | ||
"reporterOptions": { | ||
"columns": ["lineData", "severity", "description", "rule"], | ||
"columnSplitter": " ", | ||
"showHeaders": false, | ||
"truncate": true | ||
}, | ||
"semicolons": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"sortOrder": false, | ||
"stackedProperties": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"trailingWhitespace": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"universal": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"valid": { | ||
"expect": true, | ||
"error": true | ||
}, | ||
"zeroUnits": { | ||
"expect": "never", | ||
"error": true | ||
}, | ||
"zIndexNormalize": { | ||
"expect": 1, | ||
"error": true | ||
} | ||
} |
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,4 @@ | ||
[https://www.transifex.com] | ||
hostname = https://www.transifex.com | ||
username = | ||
token = |
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,60 @@ | ||
language: node_js | ||
matrix: | ||
fast_finish: true | ||
node_js: | ||
- '8' | ||
branches: | ||
only: | ||
- master | ||
# tags | ||
- /^\d+\.\d+\.\d+(\-beta.\d+)?$/ | ||
env: | ||
global: | ||
# GITHUB_TOKEN for yarn deploy script | ||
# to generate yours : travis encrypt GITHUB_TOKEN=<your_GITHUB_TOKEN> -r tintinmar1995/cozy-dispers-app --org | ||
# REGISTRY_TOKEN for yarn cozyPublish script | ||
# to generate yours : travis encrypt REGISTRY_TOKEN=<your_REGISTRY_TOKEN> -r tintinmar1995/cozy-dispers-app --org | ||
# N.B.: the --org option is needed only for public repositories | ||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
before_install: | ||
- curl -fsSL https://bootstrap.pypa.io/get-pip.py | python - --user | ||
- travis_retry pip install --user transifex-client==0.12.5 | ||
- install -m0644 .transifexrc.tpl ~/.transifexrc | ||
- echo "password = $TX_PASSWD" >> ~/.transifexrc | ||
stages: | ||
- prebuild | ||
- build | ||
jobs: | ||
include: | ||
- name: 'Lint' | ||
stage: 'prebuild' | ||
script: yarn lint | ||
- name: 'Tests' | ||
stage: 'prebuild' | ||
script: yarn test | ||
- name: 'Build app' | ||
stage: 'build' | ||
before_install: | ||
- curl -fsSL https://bootstrap.pypa.io/get-pip.py | python - --user | ||
- travis_retry pip install --user transifex-client==0.12.5 | ||
- install -m0644 .transifexrc.tpl ~/.transifexrc | ||
- echo "password = $TX_PASSWD" >> ~/.transifexrc | ||
script: yarn build | ||
deploy: | ||
- provider: script | ||
repo: tintinmar1995/cozy-dispers-app | ||
skip-cleanup: true | ||
# deploy the build on a build branch and publish to the Cozy registry | ||
script: DEPLOY_BRANCH=build && yarn deploy && yarn cozyPublish | ||
on: | ||
branch: master | ||
- provider: script | ||
repo: tintinmar1995/cozy-dispers-app | ||
skip-cleanup: true | ||
# publish stable or beta versions using Github Releases (git tag) | ||
script: DEPLOY_BRANCH=build && yarn cozyPublish | ||
on: | ||
tags: true |
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 @@ | ||
[main] | ||
host = https://www.transifex.com | ||
|
||
[<project_slug.resource_slug>] | ||
file_filter = src/locales/<lang>.json | ||
source_file = src/locales/en.json | ||
source_lang = en | ||
type = KEYVALUEJSON |
Oops, something went wrong.