mirror of
https://github.com/searxng/searxng.git
synced 2025-08-04 10:56:44 +02:00
This is one of various PR to refactor the simple theme internally. Replace eslint tool with Biome. I have been using this for quite some time, and it will help us to have more consistent and valid code without extending on other third party plugins. Removes unused dependencies.
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "simple",
|
|
"private": true,
|
|
"license": "AGPL-3.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "npm run build:icons && npm run build:vite",
|
|
"build:icons": "node theme_icons.js",
|
|
"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",
|
|
"lint:biome": "biome lint"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "~2.0.6",
|
|
"edge.js": "^6.2.1",
|
|
"ionicons": "^8.0.9",
|
|
"leaflet": "^1.9.4",
|
|
"less": "^4.3.0",
|
|
"normalize.css": "^8.0.1",
|
|
"sharp": "^0.34.2",
|
|
"sort-package-json": "^3.0.0",
|
|
"stylelint": "^16.21.0",
|
|
"stylelint-config-standard-less": "^3.0.1",
|
|
"stylelint-prettier": "^5.0.3",
|
|
"svgo": "^4.0.0",
|
|
"swiped-events": "^1.2.0",
|
|
"vite": "^6.3.5",
|
|
"vite-plugin-static-copy": "^3.1.0"
|
|
}
|
|
}
|