diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index d6471a3..0000000 --- a/.browserslistrc +++ /dev/null @@ -1,2 +0,0 @@ -> 1% -last 2 versions diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index ad5eaeb..0000000 --- a/.eslintrc +++ /dev/null @@ -1,50 +0,0 @@ -{ - "env": { - "jquery": true, - "browser": true, - "es6": true - }, - "extends": [ - "airbnb-base", - "plugin:vue/recommended" - ], - "globals": { - "__webpack_public_path__": true, - "gl": false, - "gon": false, - "localStorage": false - }, - "parserOptions": { - "parser": "babel-eslint" - }, - "plugins": [ - "filenames", - "import", - "html", - "promise" - ], - "settings": { - "html/html-extensions": [".html", ".html.raw"], - "import/resolver": { - "webpack": { - "config": "./config/webpack.config.js" - } - } - }, - "rules": { - "filenames/match-regex": [2, "^[a-z0-9_]+$"], - "import/no-commonjs": "error", - "no-multiple-empty-lines": ["error", { "max": 1 }], - "promise/catch-or-return": "error", - "no-underscore-dangle": ["error", { "allow": ["__"]}], - "vue/html-self-closing": ["error", { - "html": { - "void": "always", - "normal": "never", - "component": "always" - }, - "svg": "always", - "math": "always" - }] - } -} diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index e955840..0000000 --- a/babel.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - presets: [ - '@vue/cli-plugin-babel/preset' - ] -} diff --git a/docker/Dockerfile b/docker/Dockerfile index 7f34119..8dd60d2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,17 +13,9 @@ RUN yarn install --pure-lockfile \ COPY src/ src/ COPY public/ public/ COPY .eslintrc.js . -COPY vue.config.js . - -COPY Makefile . COPY .babelrc . - -# TODO: the build works fine with only the above files, does that mean we can delete everything else? - -#COPY babel.config.js . -#COPY vue.config.js . -#COPY postcss.config.js . -#COPY .eslintrc . +COPY Makefile . +COPY vue.config.js . ENV NODE_ENV=production diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index 961986e..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - plugins: { - autoprefixer: {} - } -} diff --git a/vue.config.js b/vue.config.js deleted file mode 100644 index 43c7218..0000000 --- a/vue.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - publicPath: '/' -}