New NPM scripts
This commit is contained in:
parent
566bd0d1fd
commit
469c4a99f9
1 changed files with 4 additions and 4 deletions
|
@ -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": {
|
||||||
|
|
Reference in a new issue