-
Notifications
You must be signed in to change notification settings - Fork 4
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 b3880f4
Showing
65 changed files
with
16,408 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,3 @@ | ||
> 1% | ||
last 2 versions | ||
not ie <= 10 |
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 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true, | ||
}, | ||
extends: [ | ||
'plugin:vue/recommended', | ||
'@vue/standard', | ||
'eslint:recommended', | ||
], | ||
rules: { | ||
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'no-console': 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'vue/multiline-html-element-content-newline': ['error', { allowEmptyLines: true }], | ||
'vue/singleline-html-element-content-newline': 'off', | ||
'vue/max-attributes-per-line': 'off', | ||
'vue/array-bracket-spacing': [ | ||
'error', | ||
'never', | ||
], | ||
'array-bracket-spacing': [ | ||
'error', | ||
'never', | ||
], | ||
'vue/arrow-spacing': 'error', | ||
'arrow-spacing': 'error', | ||
semi: [ | ||
'error', | ||
'never', | ||
], | ||
'vue/block-spacing': 'error', | ||
'block-spacing': 'error', | ||
'vue/brace-style': 'error', | ||
'brace-style': 'error', | ||
'vue/camelcase': 'error', | ||
camelcase: 'error', | ||
'vue/comma-dangle': [ | ||
'error', | ||
'always-multiline', | ||
], | ||
'comma-dangle': [ | ||
'error', | ||
'always-multiline', | ||
], | ||
'vue/component-name-in-template-casing': ['error', 'kebab-case'], | ||
'vue/eqeqeq': 'error', | ||
eqeqeq: 'error', | ||
'vue/key-spacing': 'error', | ||
'key-spacing': 'error', | ||
'vue/object-curly-spacing': 'error', | ||
'object-curly-spacing': 'error', | ||
'vue/space-unary-ops': 'error', | ||
'space-unary-ops': 'error', | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
}, | ||
} |
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,21 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw* |
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,25 @@ | ||
## Contributing | ||
|
||
The project is open and any contribution is welcome! | ||
|
||
#### Edit frontend (VueJS) | ||
|
||
In order to contribute to the VueJS frontend: | ||
|
||
0. Install prerequisite: | ||
- [Node.js](https://nodejs.org/) | ||
- npm `npm install npm@latest -g` | ||
- Vue.js `npm install -g vue,` | ||
- Vue-cli `npm install -g vue-cli,` | ||
1. Access the frontend folder in a shell `cd /var/www/vue-jeedom` | ||
2. Build the project `npm install` and wait for the downloads | ||
3. Start the node server `npm run serve` | ||
4. Edit the code! | ||
|
||
#### A little how-to for Github | ||
|
||
1. [Fork it](https://help.github.com/articles/fork-a-repo/) | ||
2. Create your feature branch: `git checkout -b my-new-feature` | ||
3. Commit your changes (with a detailled message): `git commit -am 'Add an awesome feature'` | ||
4. Push to the branch: `git push origin my-new-feature` | ||
5. Submit a pull request |
Oops, something went wrong.