New NPM scripts

This commit is contained in:
Nikita Karamov 2023-08-26 15:23:09 +02:00
parent 566bd0d1fd
commit 469c4a99f9
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD

View file

@ -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": {