UPD: Dev script & readme
This commit is contained in:
15
README.md
15
README.md
@@ -1,16 +1,13 @@
|
|||||||
# zeroone
|
# ZERO/ONE
|
||||||
|
|
||||||
Haptic configuration utility
|
Haptic configuration tool
|
||||||
|
|
||||||
## Running the code
|
## Running the code
|
||||||
|
|
||||||
- use VSCode
|
- use VSCode (or WebStorm) with the appropriate Vue plugins (Vetur, i18n Ally, ESLint, Prettier, etc.)
|
||||||
- run `sudo npm -g json-server`
|
- run `npm i` to install dependencies
|
||||||
- run `npm install`
|
- run `npm run dev` to start the json-server and electron app
|
||||||
- in another terminal, run `json-server --watch src/data/nanoConfig.json --port 3001`
|
|
||||||
- run `npm start`
|
|
||||||
|
|
||||||
## Connecting your Nano
|
## Connecting your Nano
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
"make": "electron-forge make",
|
"make": "electron-forge make",
|
||||||
"publish": "electron-forge publish",
|
"publish": "electron-forge publish",
|
||||||
"lint": "eslint . --ext .js, .vue",
|
"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": {
|
"dependencies": {
|
||||||
"@radix-icons/vue": "^1.0.0",
|
"@radix-icons/vue": "^1.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user