kopia lustrzana https://github.com/wagtail/bakerydemo
Add package.json for front-end linters
rodzic
707ac77ba1
commit
abde110d62
|
@ -13,6 +13,9 @@
|
|||
common/CACHE
|
||||
bakerydemo/settings/local.py
|
||||
bakerydemodb
|
||||
node_modules
|
||||
venv
|
||||
.venv
|
||||
__pycache__
|
||||
.vagrant/
|
||||
/.vagrant/
|
||||
|
|
Plik diff jest za duży
Load Diff
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"name": "bakerydemo",
|
||||
"version": "1.0.0",
|
||||
"repository": "https://github.com/wagtail/bakerydemo",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.8.0",
|
||||
"prettier": "^2.5.1",
|
||||
"stylelint": "^14.2.0",
|
||||
"stylelint-config-standard": "^26.0.0",
|
||||
"stylelint-config-prettier": "^9.0.3"
|
||||
},
|
||||
"scripts": {
|
||||
"fix:js": "eslint --ext .js --fix .",
|
||||
"format": "prettier --write \"**/?(.)*.{css,js,json,yaml,yml}\"",
|
||||
"lint:js": "eslint --ext .js --report-unused-disable-directives .",
|
||||
"lint:css": "stylelint **/*.css",
|
||||
"lint:format": "prettier --check \"**/?(.)*.{css,js,json,yaml,yml}\"",
|
||||
"lint": "npm run lint:js && npm run lint:css && npm run lint:format"
|
||||
}
|
||||
}
|
Ładowanie…
Reference in New Issue