routify config for electron

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

View File

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

View File

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

View File

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