Properly set up ESLint

This commit is contained in:
Joel Collins 2020-10-27 17:05:57 +00:00
parent e1cca30deb
commit 81ca64e0d8
8 changed files with 491 additions and 23 deletions

View file

@ -4,13 +4,11 @@
"private": true,
"description": "User client for the OpenFlexure Microscope Server",
"author": "OpenFlexure <contact@openflexure.org> (https://www.openflexure.org)",
"homepage": "https://gitlab.com/openflexure/openflexure-microscope-jsclient",
"publisher": "Bath Open Instrumentation Group",
"displayName": "OpenFlexure Microscope",
"license": "GNU General Public License v3.0 ",
"scripts": {
"serve": "vue-cli-service serve --mode development",
"build": "vue-cli-service build --mode production",
"serve": "vue-cli-service serve --mode development"
"lint": "vue-cli-service lint",
"prettier": "vue-cli-service lint --fix"
},
"dependencies": {
"material-design-icons": "^3.0.1",
@ -19,7 +17,9 @@
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.12.1",
"@vue/cli-plugin-eslint": "^4.5.8",
"@vue/cli-service": "^4.5.6",
"@vue/eslint-config-prettier": "^6.0.0",
"axios": "^0.19.2",
"babel-eslint": "^10.1.0",
"css-loader": "^3.6.0",
@ -30,6 +30,7 @@
"less": "^3.12.2",
"less-loader": "^5.0.0",
"mdns-js": "^1.0.3",
"prettier": "^1.19.1",
"uikit": "^3.5.7",
"vue": "^2.6.12",
"vue-friendly-iframe": "^0.17.0",
@ -48,5 +49,9 @@
"> 1%",
"last 2 versions",
"not ie <= 8"
]
],
"displayName": "OpenFlexure Microscope",
"homepage": "https://gitlab.com/openflexure/openflexure-microscope-jsclient",
"license": "GNU General Public License v3.0 ",
"publisher": "Bath Open Instrumentation Group"
}