mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
Lay the foundation for loading scripts granularly depending on the endpoint it's on. Remove vendor specific prefixes as there are now managed by browserslist and LightningCSS. Enabled quite a few rules in Biome that don't come in recommended to better catch issues and improve consistency. Related: - https://github.com/searxng/searxng/pull/5073#discussion_r2256037965 - https://github.com/searxng/searxng/pull/5073#discussion_r2256057100
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "@searxng/theme-simple",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "AGPL-3.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "npm run build:icons && npm run build:vite",
|
|
"build:icons": "node theme_icons.ts",
|
|
"build:vite": "vite build",
|
|
"clean": "rm -Rf node_modules",
|
|
"fix": "npm run fix:stylelint && npm run fix:biome && npm run fix:package",
|
|
"fix:biome": "biome check --write",
|
|
"fix:package": "sort-package-json --quiet",
|
|
"fix:stylelint": "stylelint --fix strict 'src/**/*.{scss,sass,less,styl}'",
|
|
"lint": "npm run lint:biome && npm run lint:tsc",
|
|
"lint:biome": "biome lint",
|
|
"lint:tsc": "tsc --noEmit"
|
|
},
|
|
"browserslist": [
|
|
"Chrome >= 93",
|
|
"Firefox >= 92",
|
|
"Safari >= 15.4",
|
|
"not dead"
|
|
],
|
|
"dependencies": {
|
|
"ionicons": "~8.0.0",
|
|
"normalize.css": "8.0.1",
|
|
"ol": "~10.6.0",
|
|
"swiped-events": "1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.1.3",
|
|
"@types/node": "~24.2.0",
|
|
"browserslist": "~4.25.0",
|
|
"browserslist-to-esbuild": "~2.1.0",
|
|
"edge.js": "~6.2.0",
|
|
"less": "~4.4.0",
|
|
"lightningcss": "~1.30.0",
|
|
"sharp": "~0.34.0",
|
|
"sort-package-json": "~3.4.0",
|
|
"stylelint": "~16.23.0",
|
|
"stylelint-config-standard-less": "~3.0.0",
|
|
"stylelint-prettier": "~5.0.0",
|
|
"svgo": "~4.0.0",
|
|
"typescript": "~5.9.0",
|
|
"vite": "npm:rolldown-vite@7.0.12",
|
|
"vite-bundle-analyzer": "~1.1.0"
|
|
}
|
|
}
|