add make test and Remove vue-cli serve

This commit is contained in:
Vincent
2019-04-17 17:13:20 +02:00
committed by Thomas Citharel
parent e1e410d595
commit ff7fd460f0
14 changed files with 47 additions and 79 deletions

View File

@@ -1,10 +0,0 @@
FROM node:10
LABEL maintainer="tcit"
RUN yarn install
RUN yarn upgrade node-sass
WORKDIR /app/js
EXPOSE 8080

View File

@@ -6,7 +6,7 @@
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"analyze-bundle": "yarn run build -- --report-json && webpack-bundle-analyzer ../priv/static/report.json",
"dev": "vue-cli-service serve",
"dev": "vue-cli-service build --watch",
"test:e2e": "vue-cli-service test:e2e",
"test:unit": "vue-cli-service test:unit",
"prepare": "patch-package"

View File

@@ -4,7 +4,7 @@ const path = require('path');
module.exports = {
lintOnSave: false,
runtimeCompiler: true,
outputDir: '../priv/static',
outputDir: '../priv/static/js',
configureWebpack: {
plugins: [
new Dotenv({ path: path.resolve(process.cwd(), '../.env') }),
@@ -18,6 +18,9 @@ module.exports = {
},
],
},
output: {
filename: 'app.js'
}
},
chainWebpack: config => {
config