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
1 changed files with 4 additions and 4 deletions

View File

@ -12,12 +12,12 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "astro build",
"dev": "astro dev --host 127.0.0.1", "dev": "astro dev --host 127.0.0.1",
"fmt": "prettier --write --plugin-search-dir=. .", "start": "astro dev --host 127.0.0.1",
"lint": "prettier --check . && eslint . && stylelint '**/*.scss' && tsc", "build": "astro build",
"preview": "astro preview", "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", "browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
"dependencies": { "dependencies": {