routify config for electron

This commit is contained in:
Martin McKeaveney 2020-05-19 15:45:09 +01:00
parent 8c91a083da
commit d86fc405ca
3 changed files with 6 additions and 5 deletions

View File

@ -4,4 +4,5 @@ node_modules_win
package-lock.json
yarn.lock
release/
dist/
dist/
routify

View File

@ -4,11 +4,11 @@
"license": "AGPL-3.0",
"private": true,
"scripts": {
"build": "rollup -c",
"start": "routify -c rollup",
"build": "routify --routify-dir routify -b && rollup -c",
"start": "routify --routify-dir routify -c rollup",
"test": "jest",
"test:watch": "jest --watchAll",
"dev:builder": "routify -c rollup",
"dev:builder": "routify --routify-dir routify -c rollup",
"rollup": "rollup -c -w"
},
"jest": {

View File

@ -2,7 +2,7 @@
import Modal from "svelte-simple-modal"
import { onMount } from "svelte"
import { Router, basepath } from "@sveltech/routify"
import { routes } from "@sveltech/routify/tmp/routes"
import { routes } from "../routify/routes"
import { store, initialise } from "builderStore"
import AppNotification, {
showAppNotification,