Skip to content
Snippets Groups Projects
package.json 1.88 KiB
Newer Older
  • Learn to ignore specific revisions
  •   "name": "castopod.org",
      "version": "0.1.0",
    
      "private": true,
      "scripts": {
        "dev": "astro dev",
        "build": "astro build",
        "preview": "astro preview",
    
        "lint": "eslint --ext js,ts src",
        "lint:css": "stylelint \"src/**/*.css\"",
        "lint:css:fix": "stylelint --fix \"src/**/*.css\"",
    
        "prettier": "prettier --check --ignore-path .gitignore .",
        "prettier:fix": "prettier --write --ignore-path .gitignore .",
    
        "prepare": "husky install",
        "i18n:generate": "astro-i18next generate"
    
      },
      "config": {
        "commitizen": {
          "path": "./node_modules/cz-conventional-changelog"
        }
    
      },
      "lint-staged": {
        "*.{js,ts}": "eslint --cache --fix",
        "*.css": "stylelint --fix",
        "*.{js,css,md,.astro}": "prettier --write"