From 0b18e156ef53278dad1203065f5b46b62b60952c Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Mon, 31 Oct 2022 14:45:38 +0100 Subject: [PATCH] sort-package.json --- .lintstagedrc | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.lintstagedrc b/.lintstagedrc index 8c919270..cbb4bad9 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,3 +1,4 @@ { - "*.{js,ts,tsx,json,scss,css,html}": "prettier --write" + "*.{js,ts,tsx,json,scss,css,html}": "prettier --write", + "package.json": "sort-package-json" } diff --git a/package.json b/package.json index ed378be4..d100dde4 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "lint:styles": "stylelint **/*.{scss,css}", "lint:styles:fix": "stylelint **/*.{scss,css} --fix", "pre-commit": "lint-staged", - "pre-push": "", "pre-commit-old": "lint-staged", + "pre-push": "", "pre-push-old": "npm run typecheck", "prepare": "husky install", "preview": "astro preview",