Commit 47ff3c07 authored by Andre de Sousa's avatar Andre de Sousa

FIX: docker environment and lint

parent c862b914
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
env:
browser: true
extends: 'eslint:recommended'
parserOptions:
ecmaVersion: 5
rules:
indent:
- error
- 4
linebreak-style:
- error
- unix
quotes:
- error
- single
semi:
- error
- never
......@@ -4,8 +4,9 @@ WORKDIR /smi-front
COPY . /smi-front
RUN npm i -g vue && npm install
RUN yarn global add @vue/cli \
&& yarn install --verbose
EXPOSE 8080
CMD npm run dev
CMD yarn run dev
FROM node:8.12
WORKDIR /smi-front
COPY . /smi-front
# RUN npm i -g vue && npm install
EXPOSE 8080
CMD bash
# smi-front
> Front-end for smi with pwa support
> front-end for the SMI web application with PWA
## Build Setup
......
This diff is collapsed.
{
"name": "smi-front",
"version": "1.0.0",
"description": "Front-end for smi with pwa support",
"author": "lappis",
"description": "front-end for the SMI web application with PWA",
"author": "LAPPIS",
"private": true,
"scripts": {
"dev": "node build/dev-server.js",
......@@ -38,6 +38,10 @@
"eslint-plugin-html": "^3.2.2",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.2.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^4.7.1",
"eventsource-polyfill": "^0.9.6",
"express": "^4.16.2",
"extract-text-webpack-plugin": "^3.0.0",
......@@ -77,6 +81,7 @@
"vue-loader": "^13.3.0",
"vue-style-loader": "^3.0.3",
"vue-template-compiler": "^2.5.2",
"vue-eslint-parser": "^2.0.3",
"webpack": "^3.7.1",
"webpack-dev-middleware": "^1.12.0",
"webpack-hot-middleware": "^2.19.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment