2020-07-28 15:27:25 +02:00
|
|
|
{
|
2021-06-29 23:30:22 +02:00
|
|
|
"name": "dashboard",
|
|
|
|
"author": {
|
|
|
|
"name": "GHOSCHT"
|
2021-06-28 17:53:59 +02:00
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"description": "",
|
2021-10-28 13:48:32 +02:00
|
|
|
"version": "2.1.0",
|
2021-06-29 23:30:22 +02:00
|
|
|
"main": "src/electron.js",
|
|
|
|
"private": true,
|
2021-06-28 17:53:59 +02:00
|
|
|
"build": {
|
2022-03-07 12:38:48 +01:00
|
|
|
"productName": "Heliox",
|
|
|
|
"appId": "heliox.dashboard",
|
2021-06-29 23:30:22 +02:00
|
|
|
"buildDependenciesFromSource": true,
|
|
|
|
"npmRebuild": false,
|
2021-06-28 17:53:59 +02:00
|
|
|
"win": {
|
|
|
|
"target": [
|
|
|
|
"nsis"
|
|
|
|
],
|
2021-06-29 23:30:22 +02:00
|
|
|
"icon": "./assets/icons/win/icon.ico"
|
2021-06-28 17:53:59 +02:00
|
|
|
},
|
2021-06-30 16:09:23 +02:00
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
|
|
|
"include": "./scripts/installer.nsh"
|
|
|
|
},
|
2021-06-28 17:53:59 +02:00
|
|
|
"directories": {
|
|
|
|
"buildResources": "assets",
|
|
|
|
"output": "release"
|
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"files": [
|
|
|
|
"node_modules/**/*",
|
|
|
|
"src/*",
|
|
|
|
"package.json",
|
|
|
|
"build/**"
|
|
|
|
],
|
2021-06-28 17:53:59 +02:00
|
|
|
"extraResources": [
|
|
|
|
"./assets/**"
|
|
|
|
]
|
2020-07-28 15:27:25 +02:00
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"homepage": "./src",
|
|
|
|
"scripts": {
|
2022-01-07 10:04:52 +01:00
|
|
|
"web": "webpack serve --port 8420",
|
2021-06-29 23:30:22 +02:00
|
|
|
"build": "webpack --mode=production",
|
|
|
|
"start": "concurrently -k \"yarn web\" \"npm:electron\"",
|
2022-01-07 10:04:52 +01:00
|
|
|
"electron": "wait-on tcp:8420 && electron .",
|
2021-06-29 23:30:22 +02:00
|
|
|
"package": "yarn build && electron-builder --publish never",
|
|
|
|
"postinstall": "electron-builder install-app-deps",
|
2021-06-30 09:31:58 +02:00
|
|
|
"lint": "cross-env NODE_ENV=development eslint . --cache --ext .js,.jsx,.ts,.tsx",
|
2021-08-27 00:26:40 +02:00
|
|
|
"lint:fix": "cross-env NODE_ENV=development eslint . --cache --fix --ext .js,.jsx,.ts,.tsx",
|
2021-08-27 17:51:07 +02:00
|
|
|
"remotedev": "redux-devtools --hostname=localhost --port=8000"
|
2020-07-28 15:27:25 +02:00
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"license": "ISC",
|
2021-06-28 17:53:59 +02:00
|
|
|
"dependencies": {
|
2021-12-31 21:21:34 +01:00
|
|
|
"@reduxjs/toolkit": "^1.7.1",
|
2022-03-07 11:26:02 +01:00
|
|
|
"@types/jest": "^27.0.2",
|
|
|
|
"@types/node": "^15.14.9",
|
|
|
|
"@types/react": "^17.0.27",
|
|
|
|
"@types/react-dom": "^17.0.9",
|
2021-12-31 21:21:34 +01:00
|
|
|
"@types/react-redux": "^7.1.21",
|
2022-03-07 11:26:02 +01:00
|
|
|
"@types/remote-redux-devtools": "^0.5.5",
|
|
|
|
"@types/styled-components": "^5.1.14",
|
|
|
|
"chalk": "^4.1.2",
|
|
|
|
"electron-acrylic-window": "^0.5.9",
|
|
|
|
"electron-devtools-installer": "^3.2.0",
|
|
|
|
"electron-is-dev": "^2.0.0",
|
|
|
|
"electron-localshortcut": "^3.2.1",
|
|
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
|
|
|
"react-redux": "^7.2.5",
|
|
|
|
"react-select": "^5.1.0",
|
|
|
|
"redux": "^4.1.1",
|
|
|
|
"redux-thunk": "^2.3.0",
|
|
|
|
"screenz": "^1.0.0",
|
|
|
|
"serialport": "^9.2.4",
|
|
|
|
"sqlite3": "^5.0.2",
|
|
|
|
"styled-components": "^5.3.1",
|
|
|
|
"typescript": "^4.4.3"
|
2021-06-28 17:53:59 +02:00
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"devDependencies": {
|
2022-03-07 11:26:02 +01:00
|
|
|
"@babel/core": "^7.15.5",
|
|
|
|
"@babel/preset-env": "^7.15.6",
|
|
|
|
"@babel/preset-react": "^7.14.5",
|
|
|
|
"@types/react-select": "^5.0.0",
|
|
|
|
"@types/serialport": "^8.0.2",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
|
|
"babel-loader": "^8.2.2",
|
|
|
|
"concurrently": "^6.3.0",
|
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"css-loader": "^6.3.0",
|
|
|
|
"electron": "^13.5.1",
|
|
|
|
"electron-builder": "^22.11.7",
|
|
|
|
"eslint": "^7.32.0",
|
|
|
|
"eslint-config-airbnb": "^18.2.1",
|
|
|
|
"eslint-plugin-import": "^2.24.2",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
|
|
"eslint-plugin-react": "^7.26.1",
|
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
|
|
"file-loader": "^6.2.0",
|
|
|
|
"fork-ts-checker-webpack-plugin": "^6.3.3",
|
|
|
|
"html-webpack-plugin": "^5.3.2",
|
|
|
|
"style-loader": "^3.3.0",
|
|
|
|
"ts-loader": "^9.2.6",
|
|
|
|
"wait-on": "^6.0.0",
|
2022-03-07 12:26:50 +01:00
|
|
|
"webpack": "^5.57.1",
|
|
|
|
"webpack-cli": "^4.9.2"
|
2021-06-28 17:53:59 +02:00
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"presets": [
|
|
|
|
"@babel/preset-env",
|
|
|
|
"@babel/preset-react"
|
|
|
|
],
|
|
|
|
"bin": {
|
|
|
|
"dashboard": "./bin/start.js"
|
2020-07-30 20:59:37 +02:00
|
|
|
}
|
2020-07-28 15:27:25 +02:00
|
|
|
}
|