141 lines
3.7 KiB
JSON
141 lines
3.7 KiB
JSON
{
|
|
"name": "farmcontrol-ui",
|
|
"author": {
|
|
"name": "Tom Butcher",
|
|
"email": "tom@tombutcher.work"
|
|
},
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"homepage": "./",
|
|
"dependencies": {
|
|
"@ant-design/charts": "^2.3.0",
|
|
"@ant-design/pro-components": "^2.8.7",
|
|
"@babel/plugin-transform-private-property-in-object": "^7.27.1",
|
|
"@simplewebauthn/browser": "^13.1.0",
|
|
"@tsparticles/react": "^3.0.0",
|
|
"@tsparticles/slim": "^3.8.1",
|
|
"antd": "^5.25.4",
|
|
"antd-style": "^3.7.1",
|
|
"axios": "^1.9.0",
|
|
"country-list": "^2.3.0",
|
|
"dayjs": "^1.11.13",
|
|
"dotenv": "^16.5.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^10.1.5",
|
|
"eslint-plugin-prettier": "^5.4.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"gcode-preview": "^2.18.0",
|
|
"keycloak-js": "^26.2.0",
|
|
"loglevel": "^1.9.2",
|
|
"moment": "*",
|
|
"prettier": "^3.5.3",
|
|
"prettier-eslint": "^16.4.2",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.3.1",
|
|
"react-country-flag": "^3.1.0",
|
|
"react-dom": "^18.3.1",
|
|
"react-flagpack": "^2.0.6",
|
|
"react-markdown": "^10.1.0",
|
|
"react-responsive": "^10.0.1",
|
|
"react-router-dom": "*",
|
|
"react-scripts": "*",
|
|
"react-stl-viewer": "^2.5.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"socket.io-client": "*",
|
|
"standard": "^17.1.2",
|
|
"styled-components": "*",
|
|
"svgo": "^3.3.2",
|
|
"svgo-loader": "^4.0.0",
|
|
"three": "^0.177.0",
|
|
"tsparticles": "^3.8.1",
|
|
"virtualizedtableforantd4": "^1.3.1",
|
|
"web-vitals": "*",
|
|
"webpack": "^5.99.9",
|
|
"webpack-cli": "^6.0.1"
|
|
},
|
|
|
|
"main": "build/electron.js",
|
|
"description": "3D Printer ERP and Control Software.",
|
|
"scripts": {
|
|
"dev": "react-scripts start",
|
|
"electron": "ELECTRON_START_URL=http://192.168.68.53:3000 electron .",
|
|
"start": "serve -s build",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"minify-svgs": "node scripts/minify-svgs.js",
|
|
|
|
"dev:electron": "concurrently \"react-scripts start\" \"ELECTRON_START_URL=http://192.168.68.53:3000 electron src/electron/main.js\"",
|
|
"build:electron": "npm run build && electron-builder"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
"concurrently": "^8.2.2",
|
|
"electron": "^29.0.0",
|
|
"electron-builder": "^26.0.12",
|
|
"electron-packager": "^17.1.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^10.1.5",
|
|
"eslint-plugin-prettier": "^5.4.1",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"prettier": "^3.5.3",
|
|
"prettier-eslint": "^16.4.2",
|
|
"serve": "^14.2.4",
|
|
"standard": "^17.1.2",
|
|
"svgo": "^3.3.2",
|
|
"svgo-loader": "^4.0.0",
|
|
"webpack": "^5.99.9",
|
|
"webpack-cli": "^6.0.1"
|
|
},
|
|
"build": {
|
|
"appId": "com.tombutcher.farmcontrol",
|
|
"icon": "src/assets/logos/farmcontrolicon.png",
|
|
"directories": {
|
|
"buildResources": "assets",
|
|
"output": "app_dist"
|
|
},
|
|
"files": [
|
|
"build/**/*",
|
|
"node_modules/**/*"
|
|
],
|
|
"mac": {
|
|
"target": "dmg",
|
|
"extendInfo": {
|
|
"CFBundleURLTypes": [
|
|
{
|
|
"CFBundleURLName": "com.tombutcher.farmcontrol",
|
|
"CFBundleURLSchemes": ["farmcontrol"]
|
|
}
|
|
]
|
|
|
|
}
|
|
},
|
|
"win": {
|
|
"target": "nsis"
|
|
},
|
|
"linux": {
|
|
"target": "AppImage"
|
|
}
|
|
}
|
|
}
|