package.json 750 B

123456789101112131415161718192021222324
  1. {
  2. "name": "bakerydemo",
  3. "version": "1.0.0",
  4. "repository": "https://github.com/wagtail/bakerydemo",
  5. "private": true,
  6. "engines": {
  7. "node": ">=16.0.0"
  8. },
  9. "devDependencies": {
  10. "eslint": "^8.8.0",
  11. "prettier": "^2.5.1",
  12. "stylelint": "^14.2.0",
  13. "stylelint-config-standard": "^26.0.0",
  14. "stylelint-config-prettier": "^9.0.3"
  15. },
  16. "scripts": {
  17. "fix:js": "eslint --ext .js --fix .",
  18. "format": "prettier --write \"**/?(.)*.{css,js,json,yaml,yml}\"",
  19. "lint:js": "eslint --ext .js --report-unused-disable-directives .",
  20. "lint:css": "stylelint **/*.css",
  21. "lint:format": "prettier --check \"**/?(.)*.{css,js,json,yaml,yml}\"",
  22. "lint": "npm run lint:js && npm run lint:css && npm run lint:format"
  23. }
  24. }