Skip to content

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nioc committed Apr 5, 2020
0 parents commit b3880f4
Show file tree
Hide file tree
Showing 65 changed files with 16,408 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 10
59 changes: 59 additions & 0 deletions .eslintrc.js
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',
},
}
21 changes: 21 additions & 0 deletions .gitignore
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*
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
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
Loading

0 comments on commit b3880f4

Please sign in to comment.