Add preview command to build&server production
This commit is contained in:
parent
79edd639c7
commit
4b56389adf
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
"build": "rollup -c rollup.config.mjs",
|
"build": "rollup -c rollup.config.mjs",
|
||||||
"dev": "yarn build -w",
|
"dev": "yarn build -w",
|
||||||
"start": "sirv public --no-clear",
|
"start": "sirv public --no-clear",
|
||||||
|
"preview": "yarn build && yarn start",
|
||||||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||||
"lint": "yarn lint:prettier && yarn lint:eslint",
|
"lint": "yarn lint:prettier && yarn lint:eslint",
|
||||||
"lint:prettier": "pretty-quick --ignore-path .gitignore --check --plugin-search-dir=. .",
|
"lint:prettier": "pretty-quick --ignore-path .gitignore --check --plugin-search-dir=. .",
|
||||||
|
|
Reference in a new issue