Files
ESP3D-WEBUI/package.json
Luc 046b037498 Add more supported languages
Add new scripts to build language packs
2024-12-21 11:02:34 +08:00

90 lines
4.4 KiB
JSON

{
"name": "ESP3D-WEBUI",
"version": "3.0.0",
"description": "Web UI for ESP3D V3 based FW ",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"front": "webpack serve --config config/webpack.dev.js ",
"server": "nodemon config/server.js",
"dev-cnc-grbl": "cross-env TARGET_ENV=CNC SUBTARGET_ENV=GRBL concurrently \"npm run server\" \"npm run front\"",
"dev-cnc-grblhal": "cross-env TARGET_ENV=CNC SUBTARGET_ENV=grblHAL concurrently \"npm run server\" \"npm run front\"",
"dev-printer-marlin": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Marlin concurrently \"npm run server\" \"npm run front\"",
"dev-printer-repetier": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Repetier concurrently \"npm run server\" \"npm run front\"",
"dev-printer-smoothieware": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Smoothieware concurrently \"npm run server\" \"npm run front\"",
"dev-printer-marlin-embedded": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Marlin-embedded concurrently \"npm run server\" \"npm run front\"",
"dev-sand-grbl": "cross-env TARGET_ENV=SandTable SUBTARGET_ENV=GRBL concurrently \"npm run server\" \"npm run front\"",
"dev": "concurrently \"npm run server\" \"npm run front\"",
"printer-repetier": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Repetier webpack --config config/webpack.prod.js",
"printer-marlin": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Marlin webpack --config config/webpack.prod.js",
"printer-smoothieware": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Smoothieware webpack --config config/webpack.prod.js",
"printer-marlin-embedded": "cross-env TARGET_ENV=Printer3D SUBTARGET_ENV=Marlin-embedded webpack --config config/webpack.prod.js",
"cnc-grbl": "cross-env TARGET_ENV=CNC SUBTARGET_ENV=GRBL webpack --config config/webpack.prod.js",
"cnc-grblhal": "cross-env TARGET_ENV=CNC SUBTARGET_ENV=grblHAL webpack --config config/webpack.prod.js",
"sand-grbl": "cross-env TARGET_ENV=SandTable SUBTARGET_ENV=GRBL webpack --config config/webpack.prod.js",
"build": "webpack --config config/webpack.prod.js",
"buildprinter": "npm run printer-marlin && npm run printer-repetier && npm run printer-smoothieware && npm run printer-marlin-embedded",
"buildcnc": "npm run cnc-grbl && npm run cnc-grblhal",
"buildsand": "npm run sand-grbl",
"buildall": "npm run buildsand && npm run buildprinter && npm run buildcnc",
"package": "node ./config/pack.js",
"template": "node ./config/buildtemplate.js",
"buildlangpack": "node ./config/buildlangpack.js",
"check": "node ./config/checkpack.js"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/register": "^7.18.6",
"babel-loader": "^8.2.5",
"babel-preset-preact": "^2.0.0",
"chalk": "^4.1.2",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^10.0.0",
"concurrently": "^7.2.2",
"core-js": "^3.23.3",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"express": "^4.18.1",
"express-fileupload": "^1.4.0",
"express-static-gzip": "^2.1.7",
"express-ws": "^5.0.2",
"gzipper": "^7.1.0",
"html-inline-css-webpack-plugin": "^1.11.1",
"html-inline-script-webpack-plugin": "^3.0.0",
"html-minifier": "^4.0.0",
"html-minimizer-webpack-plugin": "^4.0.0",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.6.1",
"nodemon": "^3.0.0",
"npm-run-all": "^4.1.5",
"regenerator-runtime": "^0.13.9",
"sass": "^1.53.0",
"sass-loader": "^13.0.2",
"style-loader": "^3.3.1",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.2"
},
"dependencies": {
"preact": "^10.10.1",
"preact-feather": "^4.2.1",
"smoothie": "^1.36.0",
"spectre.css": "luc-github/spectre"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}