Install vue s3 deploy plugin

This commit is contained in:
benjaminramey
2019-11-21 13:10:08 -06:00
parent c1b3059d6e
commit d5388aa91d
3 changed files with 427 additions and 125 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,8 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"deploy": "vue-cli-service s3-deploy"
},
"dependencies": {
"core-js": "^3.3.2",
@@ -20,10 +21,10 @@
"@vue/cli-plugin-vuex": "^4.0.5",
"@vue/cli-service": "^4.0.0",
"@vue/eslint-config-standard": "^4.0.0",
"vue-cli-plugin-s3-deploy": "^3.0.0",
"babel-eslint": "^10.0.3",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"vue-cli-plugin-s3-deploy": "^3.0.0",
"vue-template-compiler": "^2.6.10"
}
}

22
frontend/vue.config.js Normal file
View File

@@ -0,0 +1,22 @@
module.exports = {
pluginOptions: {
s3Deploy: {
registry: undefined,
awsProfile: 'default',
region: 'us-east-1',
bucket: 'lunchrunfrontend',
createBucket: true,
staticHosting: true,
staticIndexPage: 'index.html',
staticErrorPage: 'index.html',
assetPath: 'dist',
assetMatch: '**',
deployPath: '/',
acl: 'public-read',
pwa: false,
enableCloudfront: false,
uploadConcurrency: 5,
pluginVersion: '3.0.0'
}
}
}