agama/web/package.json
Ladislav Slezák 224c461ae1
Improved development server (#439)
* Improved development server

Allow running the D-Installer module from a local machine,
forward the connection to the target Cockpit instance

* Always use HTTPS, even for a local Cockpit
* Allow external connections
* Login from the development server automatically
* Handle connection errors
* Show target info in the sidebar
* Do not link to localhost from outside
* Added unit tests
2023-03-17 08:51:41 +01:00

109 lines
3.6 KiB
JSON

{
"name": "d-installer",
"description": "A Service-based Linux Installer",
"repository": {
"type": "git",
"url": "https://github.com/yast/d-installer.git",
"directory": "web"
},
"author": "",
"license": "LGPL-2.1",
"scripts": {
"server": "webpack server --progress",
"watch": "webpack --watch --progress",
"build": "webpack",
"cspell": "cspell --no-progress --show-suggestions src",
"eslint": "eslint --ext .js --ext .jsx src/",
"eslint:fix": "eslint --fix --ext .js --ext .jsx src/",
"stylelint": "stylelint 'src/**/*.{css,scss}'",
"stylelint:fix": "stylelint --fix 'src/**/*.{css,scss}'",
"check-types": "tsc --skipLibCheck",
"jsdoc": "npx typedoc --skipErrorChecking src src/client && echo Tip: && echo xdg-open jsdoc.out/index.html",
"test": "jest"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"@babel/core": "^7.5.4",
"@babel/eslint-parser": "^7.13.14",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"@cspell/dict-css": "^4.0.5",
"@cspell/dict-en-common-misspellings": "^1.0.2",
"@cspell/dict-fullstack": "^3.1.4",
"@cspell/dict-html": "^4.0.3",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@svgr/webpack": "^6.5.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.1.1",
"@types/jest": "^29.2.3",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"ajv": "^8.11.2",
"babel-jest": "^29.3.1",
"babel-loader": "^9.1.0",
"chrome-remote-interface": "^0.32.1",
"compression-webpack-plugin": "^10.0.0",
"copy-webpack-plugin": "^11.0.0",
"cspell": "^6.29.3",
"css-loader": "^6.5.0",
"css-minimizer-webpack-plugin": "^4.2.2",
"eslint": "^8.28.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.21.2",
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-webpack-plugin": "^4.0.0",
"htmlparser": "^1.7.7",
"identity-obj-proxy": "^3.0.0",
"jed": "^1.1.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-transform-stub": "^2.0.0",
"jsdoc": "^4.0.0",
"mini-css-extract-plugin": "^2.5.3",
"po2json": "^1.0.0-alpha",
"qunit": "^2.9.3",
"react-refresh": "^0.14.0",
"sass": "^1.35.2",
"sass-loader": "^13.2.0",
"sizzle": "^2.3.3",
"stdio": "^2.1.0",
"string-replace-loader": "^3.0.0",
"stylelint": "^15.2.0",
"stylelint-config-standard": "^30.0.1",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-webpack-plugin": "^4.1.0",
"surge": "^0.23.1",
"terser-webpack-plugin": "^5.1.4",
"ts-jest": "^29.0.3",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typedoc": "^0.23.15",
"typedoc-plugin-missing-exports": "^1.0.0",
"typescript": "^4.8.4",
"webpack": "^5.54.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"@material-symbols/svg-400": "^0.4.2",
"@patternfly/patternfly": "^4.219.2",
"@patternfly/react-core": "^4.261.0",
"@patternfly/react-table": "^4.111.33",
"core-js": "^3.21.1",
"ipaddr.js": "^2.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"react-teleporter": "^3.1.0",
"regenerator-runtime": "^0.13.9"
}
}