Install vue s3 deploy plugin
This commit is contained in:
525
frontend/package-lock.json
generated
525
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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
22
frontend/vue.config.js
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user