_package.json 912 B

1234567891011121314151617181920212223242526
  1. {
  2. "name": "odoo-js-config",
  3. "version": "0.0.1",
  4. "description": "JS Config for better DX in javascript",
  5. "scripts": {
  6. "format-web": "prettier-eslint --write 'addons/web/static/src/**/*.js' 'addons/web/static/tests/**/*.js' 'addons/web/doc/**/*.md'",
  7. "format-staged": "lint-staged",
  8. "lint-web": "prettier-eslint --list-different 'addons/web/static/src/**/*.js' 'addons/web/static/tests/**/*.js' 'addons/web/doc/**/*.md'",
  9. "format-all": "prettier-eslint --write '**/*.js' '**/*.md'"
  10. },
  11. "devDependencies": {
  12. "eslint": "^7.25.0",
  13. "eslint-config-prettier": "^8.3.0",
  14. "eslint-plugin-prettier": "^3.4.0",
  15. "lint-staged": "^10.5.4",
  16. "prettier": "2.2.1",
  17. "prettier-eslint-cli": "^5.0.1"
  18. },
  19. "lint-staged": {
  20. "*.{js,md}": [
  21. "prettier-eslint --write",
  22. "eslint"
  23. ]
  24. }
  25. }