From dcb17c66ddfc9e382a544108a61f19df3989c574 Mon Sep 17 00:00:00 2001 From: Robert Kossessa Date: Mon, 29 Jan 2024 00:19:40 +0100 Subject: [PATCH] UPD: Dev script & readme --- README.md | 15 ++++++--------- package.json | 2 +- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 15d5ead..2d1bc9f 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,13 @@ -# zeroone +# ZERO/ONE -Haptic configuration utility +Haptic configuration tool ## Running the code -- use VSCode -- run `sudo npm -g json-server` -- run `npm install` -- in another terminal, run `json-server --watch src/data/nanoConfig.json --port 3001` -- run `npm start` +- use VSCode (or WebStorm) with the appropriate Vue plugins (Vetur, i18n Ally, ESLint, Prettier, etc.) +- run `npm i` to install dependencies +- run `npm run dev` to start the json-server and electron app ## Connecting your Nano -TODO - +TODO \ No newline at end of file diff --git a/package.json b/package.json index e87400d..fc8ffde 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "make": "electron-forge make", "publish": "electron-forge publish", "lint": "eslint . --ext .js, .vue", - "mock": "concurrently --kill-others \"json-server src/data/nanoConfig.json --port=3001\" \"electron-forge start\" " + "dev": "concurrently --kill-others \"json-server src/data/nanoConfig.json --port=3001\" \"electron-forge start\" " }, "dependencies": { "@radix-icons/vue": "^1.0.0",