mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
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:
+4
-15
@@ -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": [
|
||||
"**/*"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user