Files
FOSSBilling/package.json
T
Adam DaleyandCopilot Autofix powered by AI 98f68a8654 Refactor esbuild helpers and add JS checker with asset optimization (#3774)
* Refactor esbuild helpers and theme builds

* Add JS checker, esbuild splitting, lazy-load assets

* Refactor esbuild scripts; add flag icons

* Fix for pull request finding 'Useless conditional'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-14 15:56:35 +01:00

50 lines
1.5 KiB
JSON

{
"name": "fossbilling",
"author": "FOSSBilling Team",
"homepage": "https://fossbilling.org",
"license": "Apache License 2.0",
"scripts": {
"build": "npm run check && npm run build-core && npm run build-themes",
"build:production": "NODE_ENV=production npm run build",
"build-core": "node ./frontend/esbuild.mjs",
"build-themes": "npm run build-admin_default && npm run build -w huraga",
"build-huraga": "npm run build -w huraga",
"build-admin_default": "npm run build -w admin_default",
"check": "npm run check-js-syntax && npm run check-icons",
"check-js-syntax": "node ./frontend/tools/check-js-syntax.mjs",
"check-icons": "node ./frontend/tools/check-icons.mjs",
"cy:open": "npm exec --yes cypress@15.15.0 -- open",
"cy:run": "npm exec --yes cypress@15.15.0 -- run",
"cy:run:record": "npm exec --yes cypress@15.15.0 -- run --record"
},
"repository": {
"type": "git",
"url": "https://github.com/FOSSBilling/FOSSBilling.git"
},
"issues": {
"url": "https://github.com/FOSSBilling/FOSSBilling/issues"
},
"workspaces": [
"src/themes/huraga",
"src/themes/admin_default"
],
"devDependencies": {
"autoprefixer": "10.5.0",
"ckeditor5": "48.2.0",
"esbuild": "0.28.1",
"github-markdown-css": "5.9.0",
"postcss": "8.5.15",
"purgecss": "8.0.0",
"sass": "1.101.0",
"svg-sprite": "2.0.4"
},
"config": {
"platform": {
"php": "8.3"
}
},
"engines": {
"npm": ">=11"
}
}