Skip to content

Commit

Permalink
chore: initial commit 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lohse committed Jan 16, 2018
0 parents commit 3340e3e
Show file tree
Hide file tree
Showing 38 changed files with 11,522 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
@@ -0,0 +1,3 @@
{
"presets": ["cozy-app"]
}
15 changes: 15 additions & 0 deletions .editorconfig
@@ -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
3 changes: 3 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,3 @@
{
"extends": ["cozy-app"]
}
Empty file added .github/ISSUE_TEMPLATE
Empty file.
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE
@@ -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.)*
59 changes: 59 additions & 0 deletions .gitignore
@@ -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
120 changes: 120 additions & 0 deletions .stylintrc
@@ -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
}
}
36 changes: 36 additions & 0 deletions .travis.yml
@@ -0,0 +1,36 @@
language: node_js
matrix:
fast_finish: true
node_js:
- '6'
branches:
except:
- build
env:
global:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- deadsnakes
packages:
- g++-4.8
- python3.5
cache:
yarn: true
directories:
- node_modules
before_install:
- curl -fsSL https://bootstrap.pypa.io/get-pip.py | python3.5 - --user
- travis_retry pip3.5 install --user transifex-client
- install -m0644 .templates/.transifexrc ~/.transifexrc
- echo "password = $TX_PASSWD" >> ~/.transifexrc
- yarn global add greenkeeper-lockfile@1
before_script: greenkeeper-lockfile-update
script:
- yarn test
- yarn build:browser
after_script: greenkeeper-lockfile-upload
after_success:
- test $TRAVIS_BRANCH = "master" && yarn run deploy -- --branch=build
8 changes: 8 additions & 0 deletions .tx/config
@@ -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

0 comments on commit 3340e3e

Please sign in to comment.