fix: node imports

changed the config.json files so that the dependencies in node_modules are in the right place
This commit is contained in:
cv
2021-06-06 11:52:13 +02:00
parent 706aca57fe
commit 86878c1d2e
6 changed files with 2501 additions and 902 deletions
+4 -15
View File
@@ -4,18 +4,6 @@
"author": "Carlos Valente",
"description": "Time keeping for live events",
"main": "main.js",
"dependencies": {
"body-parser": "~1.19.0",
"express": "~4.17.1",
"express-session": "~1.17.1",
"lowdb": "2.1.0",
"multer": "^1.4.2",
"nanoid": "^3.1.22",
"node-osc": "6.0.2",
"passport": "~0.4.1",
"passport-local": "~1.0.0",
"socket.io": "^4.0.0"
},
"devDependencies": {
"concurrently": "^6.1.0",
"electron": "^12.0.7",
@@ -28,6 +16,7 @@
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0"
},
"scripts": {
"nodestart": "NODE_ENV=development node app.js",
"start": "NODE_ENV=development electron .",
@@ -44,17 +33,17 @@
"files": [
"**/*"
],
"extraFiles": [
"extraResources": [
{
"from": "../client/build",
"to": "resources/client/build",
"to": "extraResources/client/build",
"filter": [
"**/*"
]
},
{
"from": "src",
"to": "resources/src",
"to": "extraResources/src",
"filter": [
"**/*"
]