duplicati/package.json
Kenneth Skovhede c7416408f1 Added support for env-based input
Added script to run tests
2025-11-04 20:45:05 +01:00

19 lines
983 B
JSON

{
"devDependencies": {
"@playwright/test": "^1.48.0",
"@types/node": "^24.10.0",
"autoprefixer": "^10.4.20",
"less": "^4.2.0",
"less-plugin-clean-css": "^1.6.0",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"stylelint": "^16.9.0",
"stylelint-config-standard-less": "^3.0.1"
},
"scripts": {
"build:style": "npm run lint:style-fix; npx lessc Duplicati/Server/webroot/ngax/less/dark.less Duplicati/Server/webroot/ngax/styles/dark.css --clean-css -m=always && npx lessc Duplicati/Server/webroot/ngax/less/default.less Duplicati/Server/webroot/ngax/styles/default.css --clean-css -m=always && npx postcss Duplicati/Server/webroot/ngax/styles/dark.css Duplicati/Server/webroot/ngax/styles/default.css --no-map --use autoprefixer --replace",
"lint:style": "npx stylelint \"Duplicati/Server/**/less/*.less\"",
"lint:style-fix": "npx stylelint \"Duplicati/Server/**/less/*.less\" --fix",
"test:playwright": "playwright test"
}
}