Files
small-packages/luci-theme-footstrap/package.json
T
2026-09-20 01:22:33 +08:00

75 lines
3.8 KiB
JSON

{
"name": "luci-theme-footstrap-tooling",
"private": true,
"description": "Lint/a11y tooling only. NOTHING here is shipped: the OpenWrt package is built by luci.mk, which copies htdocs/ and ucode/ verbatim and never invokes node. These devDependencies exist for CI and for local checks.",
"scripts": {
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint luci-theme-footstrap/htdocs && eslint luci-theme-footstrap/ucode",
"lint:css": "stylelint \"luci-theme-footstrap/styles/**/*.css\"",
"a11y": "node tools/a11y-gallery.mjs",
"placeholder": "node tools/placeholder-ink.mjs",
"audit": "python3 tools/audit.py --strict",
"conffiles": "node tools/conffiles.mjs",
"i18n-packages": "node tools/i18n-packages.mjs",
"acl": "sh tools/check-acl.sh",
"export-tier": "node tools/export-tier.mjs",
"i18n": "luci-theme-footstrap/update-po.sh --check",
"css-dup": "node tools/css-dup.mjs",
"tables": "node tools/table-contract.mjs",
"css-orphans": "node tools/fs-orphans.mjs",
"css-metrics": "node tools/css-metrics.mjs",
"css-floor": "node tools/css-floor.mjs",
"test": "node --test \"tests/*.test.mjs\"",
"size": "node tools/size-budget.mjs",
"icons": "node tools/build-icons.mjs --check",
"check": "npm run check:fast && npm run check:mid && npm run check:slow",
"mirror": "node tools/mirror.mjs",
"bang-ok": "node tools/bang-ok.mjs",
"axes": "node tools/axes.mjs",
"chrome-fence": "node tools/chrome-fence.mjs",
"css-i18n": "node tools/css-i18n.mjs",
"devkit": "node tools/devkit-build.mjs",
"changelog": "node tools/changelog.mjs",
"shell": "sh tools/check-shell.sh",
"marker": "sh tools/scan-marker.sh",
"live-audit": "node tools/live-audit.mjs",
"spa-parity": "node tools/spa-parity.mjs",
"upstream": "node tools/upstream-contract.mjs",
"page-modules": "node tools/page-modules.mjs",
"fork-drift": "node tools/fork-drift.mjs",
"scroll": "node tools/scroll-jank.mjs",
"table-tick": "node tools/table-tick.mjs",
"anchor": "node tools/scroll-anchor.mjs",
"floor": "node tools/floor-contract.mjs",
"quiet": "node tools/fit-quiet.mjs",
"live": "npm run upstream && npm run spa-parity && npm run live-audit && npm run scroll && npm run table-tick && npm run floor && npm run quiet && npm run anchor",
"install-check": "sh tools/install-check.sh",
"smoke": "node tools/smoke.mjs",
"computed-diff": "node tools/computed-diff.mjs",
"pseudo-loc": "node tools/pseudo-loc.mjs",
"playground:capture": "node tools/playground/capture.mjs",
"playground:build": "node tools/playground/build.mjs",
"playground:verify": "node tools/playground/verify.mjs",
"check:fast": "npm run lint && npm run shell && npm run marker && npm run audit && npm run conffiles && npm run acl && npm run i18n-packages && npm run makefile-contract && npm run test && npm run css-orphans && npm run css-i18n && npm run mirror && npm run bang-ok && npm run axes && npm run page-modules && npm run chrome-fence && npm run changelog",
"check:mid": "npm run css-metrics && npm run css-floor && npm run css-dup && npm run size && npm run i18n",
"check:slow": "npm run tables && npm run export-tier && npm run icons && npm run a11y && npm run placeholder && npm run smoke && npm run pseudo-loc",
"makefile-contract": "node tools/makefile-contract.mjs"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@eslint/js": "^10.0.1",
"@projectwallace/css-analyzer": "^9.9.3",
"@stylistic/eslint-plugin": "^5.10.0",
"@stylistic/stylelint-plugin": "^5.3.0",
"css-tree": "^3.2.1",
"eslint": "^10.10.0",
"globals": "^17.12.0",
"playwright": "^1.63.0",
"stylelint": "^17.15.0",
"terser": "^5.51.2"
},
"overrides": {
"fast-uri": "^3.1.6"
}
}