mirror of
https://github.com/searxng/searxng.git
synced 2024-11-09 06:30:10 +01:00
06730588a6
The SearXNG JavaScript Style Guide is a set of eslint rules [1] based on the eslint:recommended [2] rules. "extends": "eslint:recommended" The additional rules adopted from the JavaScript Standard Style [3][4]. [1] https://eslint.org/docs/rules/ [2] https://github.com/kunalgolani/eslint-config/tree/master/packages/recommended [3] https://standardjs.com/rules.html#javascript-standard-style [4] https://github.com/standard/eslint-config-standard/blob/master/.eslintrc.json Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"devDependencies": {
|
|
"eslint": "^8.0.1",
|
|
"grunt": "~1.4.1",
|
|
"grunt-contrib-copy": "^1.0.0",
|
|
"grunt-contrib-cssmin": "^4.0.0",
|
|
"grunt-contrib-jshint": "~3.1.1",
|
|
"grunt-contrib-less": "~3.0.0",
|
|
"grunt-contrib-uglify": "~5.0.1",
|
|
"grunt-xmlmin": "~0.1.8",
|
|
"grunt-contrib-watch": "~1.1.0",
|
|
"grunt-eslint": "^24.0.0",
|
|
"grunt-stylelint": "^0.16.0",
|
|
"grunt-image": "^6.4.0",
|
|
"ionicons": "^6.0.0",
|
|
"less": "^4.1.1",
|
|
"less-plugin-clean-css": "^1.5.1",
|
|
"sharp": "^0.29.3",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-config-standard": "^22.0.0",
|
|
"ejs": "^3.1.6",
|
|
"svgo": "^2.8.0"
|
|
},
|
|
"dependencies": {
|
|
"autocomplete-js": "2.7.1",
|
|
"leaflet": "^1.7.1",
|
|
"normalize.css": "^8.0.1"
|
|
},
|
|
"scripts": {
|
|
"all": "npm install && grunt",
|
|
"build": "grunt",
|
|
"eslint": "grunt eslint",
|
|
"eslint-fix": "grunt eslint --fix",
|
|
"watch": "grunt watch",
|
|
"webfont": "grunt webfont",
|
|
"clean": "rm -Rf node_modules package-lock.json ion.less",
|
|
"stylelint": "grunt stylelint",
|
|
"stylelint-fix": "grunt stylelint --fix"
|
|
}
|
|
}
|