aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 20:41:11 +0000
committerFuwn <[email protected]>2021-05-06 20:41:11 +0000
commit0db53efaea298c8dc43b8b71e0e6b477e8c516b3 (patch)
treee15f142f0937406b2902d1cd46dc00fbdb6b3221 /package.json
parentfix(mixins): api endpoint (diff)
downloadfrontend-0db53efaea298c8dc43b8b71e0e6b477e8c516b3.tar.xz
frontend-0db53efaea298c8dc43b8b71e0e6b477e8c516b3.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",