Skip to content

Commit edee8b1

Browse files
julien-deramondchalin
authored andcommitted
Move 9001 port to npm astro scripts
1 parent 24018f8 commit edee8b1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"docs-lint": "npm-run-all docs-prettier-check docs-vnu",
8282
"docs-prettier-check": "prettier --config site/.prettierrc.json -c --cache site",
8383
"docs-prettier-format": "prettier --config site/.prettierrc.json --write --cache site",
84-
"docs-serve": "npm run astro-dev -- --port 9001",
84+
"docs-serve": "npm run astro-dev",
8585
"docs-serve-only": "npx sirv-cli _site --port 9001",
8686
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
8787
"update-deps": "ncu -u -x eslint,eslint-config-xo,eslint-plugin-unicorn,karma-browserstack-launcher,karma-rollup-preprocessor,sass",
@@ -100,9 +100,9 @@
100100
"watch-css-test": "nodemon --watch scss/ --ext scss,js --exec \"npm run css-test\"",
101101
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
102102
"watch-js-docs": "nodemon --watch site/src/assets/ --ext js --exec \"npm run js-lint\"",
103-
"astro-dev": "astro dev --root site",
103+
"astro-dev": "astro dev --root site --port 9001",
104104
"astro-build": "astro build --root site && rm -rf _site && cp -r site/dist _site",
105-
"astro-preview": "astro preview --root site"
105+
"astro-preview": "astro preview --root site --port 9001"
106106
},
107107
"peerDependencies": {
108108
"@popperjs/core": "^2.11.8"

0 commit comments

Comments
 (0)