122 lines
3.4 KiB
JSON
122 lines
3.4 KiB
JSON
|
{
|
||
|
"name": "dashboard",
|
||
|
"author": {
|
||
|
"name": "GHOSCHT"
|
||
|
},
|
||
|
"description": "",
|
||
|
"version": "2.2.1",
|
||
|
"main": "src/electron.js",
|
||
|
"private": true,
|
||
|
"build": {
|
||
|
"productName": "Heliox",
|
||
|
"appId": "heliox.dashboard",
|
||
|
"buildDependenciesFromSource": true,
|
||
|
"npmRebuild": false,
|
||
|
"win": {
|
||
|
"target": [
|
||
|
"nsis"
|
||
|
],
|
||
|
"icon": "./assets/icons/win/icon.ico"
|
||
|
},
|
||
|
"nsis": {
|
||
|
"oneClick": false,
|
||
|
"allowToChangeInstallationDirectory": true,
|
||
|
"include": "./scripts/installer.nsh"
|
||
|
},
|
||
|
"directories": {
|
||
|
"buildResources": "assets",
|
||
|
"output": "release"
|
||
|
},
|
||
|
"files": [
|
||
|
"node_modules/**/*",
|
||
|
"src/*",
|
||
|
"package.json",
|
||
|
"build/**"
|
||
|
],
|
||
|
"extraResources": [
|
||
|
"./assets/**"
|
||
|
]
|
||
|
},
|
||
|
"homepage": "./src",
|
||
|
"scripts": {
|
||
|
"web": "webpack serve --port 8420",
|
||
|
"build": "webpack --mode=production",
|
||
|
"start": "concurrently -k \"yarn web\" \"npm:electron\"",
|
||
|
"electron": "wait-on tcp:8420 && electron .",
|
||
|
"package": "yarn build && electron-builder --publish never",
|
||
|
"postinstall": "electron-builder install-app-deps",
|
||
|
"lint": "cross-env NODE_ENV=development eslint . --cache --ext .js,.jsx,.ts,.tsx",
|
||
|
"lint:fix": "cross-env NODE_ENV=development eslint . --cache --fix --ext .js,.jsx,.ts,.tsx",
|
||
|
"remotedev": "redux-devtools --hostname=localhost --port=8000"
|
||
|
},
|
||
|
"license": "ISC",
|
||
|
"dependencies": {
|
||
|
"@fluentui/react": "^8.61.0",
|
||
|
"@fluentui/react-icons-mdl2": "^1.3.4",
|
||
|
"@reduxjs/toolkit": "^1.7.1",
|
||
|
"@types/jest": "^27.0.2",
|
||
|
"@types/node": "^15.14.9",
|
||
|
"@types/react": "^17.0.27",
|
||
|
"@types/react-dom": "^17.0.9",
|
||
|
"@types/react-redux": "^7.1.21",
|
||
|
"@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",
|
||
|
"electron-store": "^8.0.1",
|
||
|
"react": "^17.0.2",
|
||
|
"react-dom": "^17.0.2",
|
||
|
"react-redux": "^7.2.5",
|
||
|
"react-select": "^5.1.0",
|
||
|
"redux": "^4.1.1",
|
||
|
"redux-persist": "^6.0.0",
|
||
|
"redux-persist-electron-storage": "^2.1.0",
|
||
|
"redux-thunk": "^2.3.0",
|
||
|
"screenz": "^1.0.0",
|
||
|
"serialport": "^9.2.4",
|
||
|
"styled-components": "^5.3.1",
|
||
|
"typescript": "^4.4.3"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@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",
|
||
|
"webpack": "^5.57.1",
|
||
|
"webpack-cli": "^4.9.2",
|
||
|
"webpack-dev-server": "^4.7.4"
|
||
|
},
|
||
|
"presets": [
|
||
|
"@babel/preset-env",
|
||
|
"@babel/preset-react"
|
||
|
],
|
||
|
"bin": {
|
||
|
"dashboard": "./bin/start.js"
|
||
|
}
|
||
|
}
|