From 469c4a99f9b317189660e31cf08d24b663072121 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Sat, 26 Aug 2023 15:23:09 +0200 Subject: [PATCH] New NPM scripts --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e77834a..722c82f 100644 --- a/package.json +++ b/package.json @@ -12,12 +12,12 @@ "private": true, "type": "module", "scripts": { - "build": "astro build", "dev": "astro dev --host 127.0.0.1", - "fmt": "prettier --write --plugin-search-dir=. .", - "lint": "prettier --check . && eslint . && stylelint '**/*.scss' && tsc", + "start": "astro dev --host 127.0.0.1", + "build": "astro build", "preview": "astro preview", - "test": "pnpm run lint" + "lint": "prettier --write --plugin=prettier-plugin-astro . && eslint --fix . && stylelint --fix '**/*.scss' && tsc --noEmit", + "test": "astro check && pnpm run lint" }, "browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead", "dependencies": {