mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-04 15:08:01 +00:00
95e87d6ab8
- only node service is module - import module with async - serve react app from node process
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "ontime",
|
|
"version": "0.1.0",
|
|
"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": {
|
|
"@electron/remote": "^1.1.0",
|
|
"concurrently": "^6.1.0",
|
|
"electron": "^12.0.7",
|
|
"electron-builder": "^22.11.3",
|
|
"eslint": "^7.26.0",
|
|
"eslint-config-airbnb": "^18.2.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-react": "^7.23.2",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0"
|
|
},
|
|
"scripts": {
|
|
"nodestart": "node app.js",
|
|
"start": "electron .",
|
|
"pack": "electron-builder --dir",
|
|
"dist": "electron-builder",
|
|
"startall": "concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\""
|
|
},
|
|
"build": {
|
|
"appId": "your.id",
|
|
"mac": {
|
|
"category": "your.app.category.type"
|
|
},
|
|
"files": [
|
|
"**/*"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"from": "../client/build",
|
|
"to": "resources/client/build",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"postinstall": "electron-builder install-app-deps"
|
|
}
|