diff --git a/.editorconfig b/.editorconfig index 4c6702d45..30b2d3260 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,10 +5,18 @@ root = true [*] indent_style = tab -end_of_line = crlf +end_of_line = lf charset = utf-8 trim_trailing_whitespace = false insert_final_newline = false [*.vue] indent_style = tab + +[*.{yaml,yml}] +indent_style = space +indent_size = 2 + +[*.json] +indent_style = space +indent_size = 4 \ No newline at end of file diff --git a/package.json b/package.json index 3274a0ef8..0f9cca8a9 100644 --- a/package.json +++ b/package.json @@ -1,96 +1,105 @@ { - "name": "vikunja-frontend", - "version": "0.10.0", - "private": true, - "scripts": { - "serve": "vue-cli-service serve", - "serve:dist": "node scripts/serve-dist.js", - "build": "vue-cli-service build --modern", - "build:report": "vue-cli-service build --report", - "lint": "vue-cli-service lint --ignore-pattern '*.test.*'", - "cypress:open": "cypress open", - "test:unit": "jest", - "test:frontend": "cypress run" - }, - "dependencies": { - "browserslist": "4.16.6", - "bulma": "0.9.2", - "camel-case": "4.1.2", - "copy-to-clipboard": "3.3.1", - "date-fns": "2.22.1", - "dompurify": "2.2.9", - "highlight.js": "11.0.0", - "lodash": "4.17.21", - "marked": "2.0.7", - "register-service-worker": "1.7.2", - "sass": "1.34.0", - "snake-case": "3.0.4", - "verte": "0.0.12", - "vue": "2.6.13", - "vue-advanced-cropper": "1.6.0", - "vue-drag-resize": "1.5.4", - "vue-easymde": "1.4.0", - "vue-shortkey": "3.1.7", - "vue-smooth-dnd": "0.8.1", - "vuex": "3.6.2" - }, - "devDependencies": { - "@fortawesome/fontawesome-svg-core": "1.2.35", - "@fortawesome/free-regular-svg-icons": "5.15.3", - "@fortawesome/free-solid-svg-icons": "5.15.3", - "@fortawesome/vue-fontawesome": "2.0.2", - "@vue/cli": "4.5.13", - "@vue/cli-plugin-babel": "4.5.13", - "@vue/cli-plugin-eslint": "4.5.13", - "@vue/cli-plugin-pwa": "4.5.13", - "@vue/cli-service": "4.5.13", - "axios": "0.21.1", - "babel-eslint": "10.1.0", - "cypress": "7.4.0", - "cypress-file-upload": "5.0.7", - "eslint": "7.27.0", - "eslint-plugin-vue": "7.10.0", - "faker": "5.5.3", - "jest": "27.0.3", - "sass-loader": "10.2.0", - "vue-flatpickr-component": "8.1.6", - "vue-notification": "1.3.20", - "vue-router": "3.5.1", - "vue-template-compiler": "2.6.13", - "wait-on": "5.3.0" - }, - "eslintConfig": { - "root": true, - "env": { - "node": true + "name": "vikunja-frontend", + "version": "0.10.0", + "private": true, + "scripts": { + "serve": "vue-cli-service serve", + "serve:dist": "node scripts/serve-dist.js", + "build": "vue-cli-service build --modern", + "build:report": "vue-cli-service build --report", + "lint": "vue-cli-service lint --ignore-pattern '*.test.*'", + "cypress:open": "cypress open", + "test:unit": "jest", + "test:frontend": "cypress run" }, - "extends": [ - "plugin:vue/essential", - "eslint:recommended" + "dependencies": { + "browserslist": "4.16.6", + "bulma": "0.9.2", + "camel-case": "4.1.2", + "copy-to-clipboard": "3.3.1", + "date-fns": "2.22.1", + "dompurify": "2.2.9", + "highlight.js": "11.0.0", + "lodash": "4.17.21", + "marked": "2.0.7", + "register-service-worker": "1.7.2", + "sass": "1.34.0", + "snake-case": "3.0.4", + "verte": "0.0.12", + "vue": "2.6.13", + "vue-advanced-cropper": "1.6.0", + "vue-drag-resize": "1.5.4", + "vue-easymde": "1.4.0", + "vue-shortkey": "3.1.7", + "vue-smooth-dnd": "0.8.1", + "vuex": "3.6.2" + }, + "devDependencies": { + "@fortawesome/fontawesome-svg-core": "1.2.35", + "@fortawesome/free-regular-svg-icons": "5.15.3", + "@fortawesome/free-solid-svg-icons": "5.15.3", + "@fortawesome/vue-fontawesome": "2.0.2", + "@vue/cli": "4.5.13", + "@vue/cli-plugin-babel": "4.5.13", + "@vue/cli-plugin-eslint": "4.5.13", + "@vue/cli-plugin-pwa": "4.5.13", + "@vue/cli-service": "4.5.13", + "axios": "0.21.1", + "babel-eslint": "10.1.0", + "cypress": "7.4.0", + "cypress-file-upload": "5.0.7", + "eslint": "7.27.0", + "eslint-plugin-vue": "7.10.0", + "faker": "5.5.3", + "jest": "27.0.3", + "sass-loader": "10.2.0", + "vue-flatpickr-component": "8.1.6", + "vue-notification": "1.3.20", + "vue-router": "3.5.1", + "vue-template-compiler": "2.6.13", + "wait-on": "5.3.0" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/essential", + "eslint:recommended" + ], + "rules": { + "vue/html-quotes": [ + "error", + "single" + ], + "quotes": [ + "error", + "single" + ] + }, + "parserOptions": { + "parser": "babel-eslint" + }, + "ignorePatterns": [ + "*.test.js", + "cypress/*" + ] + }, + "postcss": { + "plugins": { + "autoprefixer": {} + } + }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not ie < 11" ], - "rules": {}, - "parserOptions": { - "parser": "babel-eslint" - }, - "ignorePatterns": [ - "*.test.js", - "cypress/*" - ] - }, - "postcss": { - "plugins": { - "autoprefixer": {} + "license": "AGPL-3.0-or-later", + "jest": { + "testPathIgnorePatterns": [ + "cypress" + ] } - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not ie < 11" - ], - "license": "AGPL-3.0-or-later", - "jest": { - "testPathIgnorePatterns": [ - "cypress" - ] - } -} +} \ No newline at end of file