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": {
|
2021-06-30 16:09:23 +02:00
|
|
|
"productName": "Light Control",
|
2021-06-29 23:30:22 +02:00
|
|
|
"appId": "lightcontrol.dashboard",
|
|
|
|
"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",
|
2021-09-21 04:33:41 +02:00
|
|
|
"@types/jest": "27.0.2",
|
2021-08-28 00:35:43 +02:00
|
|
|
"@types/node": "15.14.9",
|
2021-10-03 18:07:22 +02:00
|
|
|
"@types/react": "17.0.27",
|
2021-08-28 00:35:43 +02:00
|
|
|
"@types/react-dom": "17.0.9",
|
2021-12-31 21:21:34 +01:00
|
|
|
"@types/react-redux": "^7.1.21",
|
2021-08-28 00:35:43 +02:00
|
|
|
"@types/remote-redux-devtools": "0.5.5",
|
2021-09-04 13:25:19 +02:00
|
|
|
"@types/styled-components": "5.1.14",
|
2021-08-28 00:35:43 +02:00
|
|
|
"chalk": "4.1.2",
|
2021-09-18 10:47:21 +02:00
|
|
|
"electron-acrylic-window": "0.5.9",
|
2021-08-28 00:35:43 +02:00
|
|
|
"electron-devtools-installer": "3.2.0",
|
|
|
|
"electron-is-dev": "2.0.0",
|
|
|
|
"electron-localshortcut": "3.2.1",
|
|
|
|
"electron-squirrel-startup": "1.0.0",
|
2021-08-28 10:27:43 +02:00
|
|
|
"fs-extra": "10.0.0",
|
2021-08-28 10:05:31 +02:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2021-09-04 22:23:21 +02:00
|
|
|
"react-redux": "7.2.5",
|
2021-10-05 05:55:19 +02:00
|
|
|
"react-select": "5.1.0",
|
2021-08-28 00:35:43 +02:00
|
|
|
"redux": "4.1.1",
|
|
|
|
"redux-thunk": "2.3.0",
|
|
|
|
"remote-redux-devtools": "0.5.16",
|
|
|
|
"screenz": "1.0.0",
|
2021-09-28 20:43:07 +02:00
|
|
|
"serialport": "9.2.4",
|
2021-08-28 00:35:43 +02:00
|
|
|
"sqlite3": "5.0.2",
|
|
|
|
"styled-components": "5.3.1",
|
|
|
|
"typesafe-actions": "5.1.0",
|
2021-09-10 23:45:59 +02:00
|
|
|
"typescript": "4.4.3"
|
2021-06-28 17:53:59 +02:00
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"devDependencies": {
|
2021-09-09 21:37:42 +02:00
|
|
|
"@babel/core": "7.15.5",
|
|
|
|
"@babel/preset-env": "7.15.6",
|
2021-08-28 02:02:25 +02:00
|
|
|
"@babel/preset-react": "7.14.5",
|
2021-10-01 02:04:17 +02:00
|
|
|
"@types/react-select": "5.0.0",
|
2021-08-28 00:35:43 +02:00
|
|
|
"@types/serialport": "8.0.2",
|
2021-10-04 20:26:23 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
|
|
"@typescript-eslint/parser": "4.33.0",
|
2021-08-28 02:02:25 +02:00
|
|
|
"babel-loader": "8.2.2",
|
2021-10-02 09:19:05 +02:00
|
|
|
"concurrently": "6.3.0",
|
2021-08-28 00:35:43 +02:00
|
|
|
"cross-env": "7.0.3",
|
2021-09-18 22:03:45 +02:00
|
|
|
"css-loader": "6.3.0",
|
2021-10-01 02:04:00 +02:00
|
|
|
"electron": "13.5.1",
|
2021-08-28 00:35:43 +02:00
|
|
|
"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",
|
2021-09-30 09:17:24 +02:00
|
|
|
"eslint-plugin-react": "7.26.1",
|
2021-08-28 00:43:41 +02:00
|
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
2021-08-28 00:35:43 +02:00
|
|
|
"file-loader": "6.2.0",
|
2021-09-03 11:58:10 +02:00
|
|
|
"fork-ts-checker-webpack-plugin": "6.3.3",
|
2021-08-28 10:33:06 +02:00
|
|
|
"html-webpack-plugin": "5.3.2",
|
2021-09-23 12:19:53 +02:00
|
|
|
"style-loader": "3.3.0",
|
2021-09-20 22:59:21 +02:00
|
|
|
"ts-loader": "9.2.6",
|
2021-08-28 00:35:43 +02:00
|
|
|
"wait-on": "6.0.0",
|
2021-10-05 20:46:30 +02:00
|
|
|
"webpack": "5.57.1",
|
2021-08-28 00:35:43 +02:00
|
|
|
"webpack-cli": "4.8.0",
|
2021-10-04 20:26:07 +02:00
|
|
|
"webpack-dev-server": "4.3.1"
|
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
|
|
|
}
|