107 lines
2.9 KiB
JSON
107 lines
2.9 KiB
JSON
{
|
|
"name": "dashboard",
|
|
"author": {
|
|
"name": "GHOSCHT"
|
|
},
|
|
"description": "",
|
|
"version": "0.1.0",
|
|
"main": "src/electron.js",
|
|
"private": true,
|
|
"build": {
|
|
"productName": "Light Control",
|
|
"appId": "lightcontrol.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",
|
|
"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",
|
|
"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"
|
|
},
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@types/jest": "^26.0.23",
|
|
"@types/node": "^15.12.5",
|
|
"@types/react": "^17.0.11",
|
|
"@types/react-dom": "^17.0.8",
|
|
"@types/styled-components": "^5.1.11",
|
|
"electron-acrylic-window": "^0.5.5",
|
|
"electron-devtools-installer": "^3.2.0",
|
|
"electron-is-dev": "^2.0.0",
|
|
"electron-localshortcut": "^3.2.1",
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
"fs-extra": "^9.0.1",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"screenz": "^1.0.0",
|
|
"serialport": "^9.2.0",
|
|
"styled-components": "^5.3.0",
|
|
"typescript": "^4.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.0",
|
|
"@babel/preset-env": "^7.11.0",
|
|
"@babel/preset-react": "^7.10.4",
|
|
"@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",
|
|
"electron": "^13.1.4",
|
|
"electron-builder": "^22.11.7",
|
|
"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",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^6.2.12",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"style-loader": "^1.2.1",
|
|
"ts-loader": "^9.2.3",
|
|
"wait-on": "^6.0.0",
|
|
"webpack": "^5.41.1",
|
|
"webpack-cli": "^4.8.0",
|
|
"webpack-dev-server": "^4.0.0"
|
|
},
|
|
"presets": [
|
|
"@babel/preset-env",
|
|
"@babel/preset-react"
|
|
],
|
|
"bin": {
|
|
"dashboard": "./bin/start.js"
|
|
}
|
|
}
|