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-08-28 16:53:43 +02:00
|
|
|
"version": "2.0.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": {
|
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",
|
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-08-28 00:35:43 +02:00
|
|
|
"@redux-devtools/cli": "1.0.0-9",
|
2021-08-28 06:01:09 +02:00
|
|
|
"@types/jest": "27.0.1",
|
2021-08-28 00:35:43 +02:00
|
|
|
"@types/node": "15.14.9",
|
2021-09-14 23:20:26 +02:00
|
|
|
"@types/react": "17.0.21",
|
2021-08-28 00:35:43 +02:00
|
|
|
"@types/react-dom": "17.0.9",
|
|
|
|
"@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-08-28 00:35:43 +02:00
|
|
|
"react-select": "4.3.1",
|
|
|
|
"redux": "4.1.1",
|
|
|
|
"redux-thunk": "2.3.0",
|
|
|
|
"remote-redux-devtools": "0.5.16",
|
|
|
|
"screenz": "1.0.0",
|
2021-09-03 08:29:36 +02:00
|
|
|
"serialport": "9.2.1",
|
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-08-28 00:35:43 +02:00
|
|
|
"@types/react-select": "4.0.17",
|
|
|
|
"@types/serialport": "8.0.2",
|
2021-09-13 19:22:19 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.31.1",
|
2021-09-13 20:07:06 +02:00
|
|
|
"@typescript-eslint/parser": "4.31.1",
|
2021-08-28 02:02:25 +02:00
|
|
|
"babel-loader": "8.2.2",
|
2021-08-28 00:35:43 +02:00
|
|
|
"concurrently": "6.2.1",
|
|
|
|
"cross-env": "7.0.3",
|
2021-09-18 22:03:45 +02:00
|
|
|
"css-loader": "6.3.0",
|
2021-09-13 02:08:53 +02:00
|
|
|
"electron": "13.3.0",
|
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-19 22:50:25 +02:00
|
|
|
"eslint-plugin-react": "7.25.3",
|
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-08-28 09:49:26 +02:00
|
|
|
"style-loader": "3.2.1",
|
2021-08-28 00:35:43 +02:00
|
|
|
"ts-loader": "9.2.5",
|
|
|
|
"wait-on": "6.0.0",
|
2021-09-16 16:57:32 +02:00
|
|
|
"webpack": "5.53.0",
|
2021-08-28 00:35:43 +02:00
|
|
|
"webpack-cli": "4.8.0",
|
2021-09-14 01:40:58 +02:00
|
|
|
"webpack-dev-server": "4.2.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
|
|
|
}
|