Skip to content

Commit

Permalink
[Docs Site] Move package.json scripts to use npx (#17237)
Browse files Browse the repository at this point in the history
  • Loading branch information
KianNH authored and maheshwarip committed Dec 2, 2024
1 parent 44a8e37 commit ad5e4fb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"private": true,
"type": "module",
"scripts": {
"astro": "astro",
"build": "astro build",
"astro": "npx astro",
"build": "npx astro build",
"build:worker": "npx wrangler types -c wrangler-workers.toml --experimental-include-runtime && npx wrangler pages functions build --outdir worker/functions",
"check": "npm run check:functions && npm run check:astro",
"check:astro": "npm run sync && astro check",
"check:functions": "tsc --noEmit -p ./functions/tsconfig.json",
"dev": "astro dev",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,mjs,astro,css,json,yaml,yml}\"",
"postinstall": "patch-package && npm run sync",
"preview": "astro preview",
"start": "astro dev",
"sync": "astro sync"
"check:functions": "npx tsc --noEmit -p ./functions/tsconfig.json",
"dev": "npx astro dev",
"format": "npx prettier --write \"**/*.{js,jsx,ts,tsx,mjs,astro,css,json,yaml,yml}\"",
"postinstall": "npx patch-package && npm run sync",
"preview": "npx astro preview",
"start": "npx astro dev",
"sync": "npx astro sync"
},
"devDependencies": {
"@astro-community/astro-embed-youtube": "^0.5.3",
Expand Down

0 comments on commit ad5e4fb

Please sign in to comment.