aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 20:41:11 -0700
committerFuwn <[email protected]>2021-05-06 20:41:11 -0700
commitc950a7ace7f08a7f0e6b675af6233fd005577645 (patch)
treee15f142f0937406b2902d1cd46dc00fbdb6b3221 /package.json
parentfix(mixins): api endpoint (diff)
downloadfrontend-c950a7ace7f08a7f0e6b675af6233fd005577645.tar.xz
frontend-c950a7ace7f08a7f0e6b675af6233fd005577645.zip
fix(global): redirects for spa netlify
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index c9cbf9e..782792f 100644
--- a/package.json
+++ b/package.json
@@ -6,10 +6,13 @@
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test:unit": "vue-cli-service test:unit",
- "lint": "vue-cli-service lint"
+ "lint": "vue-cli-service lint",
+ "copy:redirects": "cpx ./_redirects ./dist/",
+ "build:all": "npm run build && npm run copy:redirects"
},
"dependencies": {
"core-js": "^3.6.5",
+ "cpx": "^1.5.0",
"normalize.css": "^8.0.1",
"sakura.css": "^1.3.1",
"vue": "^3.0.0",