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": "",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"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": {
|
2021-08-26 13:20:26 +02:00
|
|
|
"web": "webpack serve",
|
2021-06-29 23:30:22 +02:00
|
|
|
"build": "webpack --mode=production",
|
|
|
|
"start": "concurrently -k \"yarn web\" \"npm:electron\"",
|
|
|
|
"electron": "wait-on tcp:8080 && electron .",
|
|
|
|
"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",
|
|
|
|
"remotedev": "remotedev --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-06-29 23:30:22 +02:00
|
|
|
"@types/jest": "^26.0.23",
|
|
|
|
"@types/node": "^15.12.5",
|
|
|
|
"@types/react": "^17.0.11",
|
|
|
|
"@types/react-dom": "^17.0.8",
|
2021-08-27 00:26:40 +02:00
|
|
|
"@types/remote-redux-devtools": "^0.5.5",
|
2021-07-10 12:00:50 +02:00
|
|
|
"@types/styled-components": "^5.1.11",
|
2021-06-30 13:34:26 +02:00
|
|
|
"electron-acrylic-window": "^0.5.5",
|
|
|
|
"electron-devtools-installer": "^3.2.0",
|
|
|
|
"electron-is-dev": "^2.0.0",
|
2021-07-10 19:57:14 +02:00
|
|
|
"electron-localshortcut": "^3.2.1",
|
2021-06-29 23:30:22 +02:00
|
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
|
|
"fs-extra": "^9.0.1",
|
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-dom": "^16.13.1",
|
2021-08-27 00:26:40 +02:00
|
|
|
"react-redux": "^7.2.4",
|
2021-08-27 13:03:23 +02:00
|
|
|
"react-select": "^4.3.1",
|
2021-08-27 00:26:40 +02:00
|
|
|
"redux": "^4.1.1",
|
|
|
|
"redux-thunk": "^2.3.0",
|
|
|
|
"remote-redux-devtools": "^0.5.16",
|
2021-06-30 13:34:26 +02:00
|
|
|
"screenz": "^1.0.0",
|
2021-06-29 23:30:22 +02:00
|
|
|
"serialport": "^9.2.0",
|
2021-08-27 00:26:40 +02:00
|
|
|
"sqlite3": "^5.0.2",
|
2021-07-10 12:00:50 +02:00
|
|
|
"styled-components": "^5.3.0",
|
2021-08-27 00:26:40 +02:00
|
|
|
"typesafe-actions": "^5.1.0",
|
2021-08-27 13:08:31 +02:00
|
|
|
"typescript": "^4.3.4",
|
|
|
|
"chalk": "^4.1.2"
|
2021-06-28 17:53:59 +02:00
|
|
|
},
|
2021-06-29 23:30:22 +02:00
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.11.0",
|
|
|
|
"@babel/preset-env": "^7.11.0",
|
|
|
|
"@babel/preset-react": "^7.10.4",
|
2021-08-27 13:03:23 +02:00
|
|
|
"@types/react-select": "^4.0.17",
|
2021-06-29 23:30:22 +02:00
|
|
|
"@types/serialport": "^8.0.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.28.1",
|
|
|
|
"@typescript-eslint/parser": "^4.28.1",
|
|
|
|
"babel-loader": "^8.1.0",
|
|
|
|
"concurrently": "^6.2.0",
|
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"css-loader": "^4.2.0",
|
2021-06-30 13:34:26 +02:00
|
|
|
"electron": "^13.1.4",
|
|
|
|
"electron-builder": "^22.11.7",
|
2021-06-29 23:30:22 +02:00
|
|
|
"eslint": "^7.29.0",
|
|
|
|
"eslint-config-airbnb": "^18.2.1",
|
|
|
|
"eslint-plugin-import": "^2.23.4",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
|
|
"eslint-plugin-react": "^7.24.0",
|
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2021-07-09 12:31:16 +02:00
|
|
|
"file-loader": "^6.2.0",
|
2021-06-29 23:30:22 +02:00
|
|
|
"fork-ts-checker-webpack-plugin": "^6.2.12",
|
|
|
|
"html-webpack-plugin": "^4.3.0",
|
2021-08-27 00:26:40 +02:00
|
|
|
"remotedev-server": "^0.3.1",
|
2021-06-29 23:30:22 +02:00
|
|
|
"style-loader": "^1.2.1",
|
|
|
|
"ts-loader": "^9.2.3",
|
|
|
|
"wait-on": "^6.0.0",
|
|
|
|
"webpack": "^5.41.1",
|
2021-08-26 13:20:26 +02:00
|
|
|
"webpack-cli": "^4.8.0",
|
|
|
|
"webpack-dev-server": "^4.0.0"
|
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
|
|
|
}
|