Skip to content

Commit ad5e4fb

Browse files
KianNHmaheshwarip
authored andcommitted
[Docs Site] Move package.json scripts to use npx (#17237)
1 parent 44a8e37 commit ad5e4fb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"astro": "astro",
7-
"build": "astro build",
6+
"astro": "npx astro",
7+
"build": "npx astro build",
88
"build:worker": "npx wrangler types -c wrangler-workers.toml --experimental-include-runtime && npx wrangler pages functions build --outdir worker/functions",
99
"check": "npm run check:functions && npm run check:astro",
1010
"check:astro": "npm run sync && astro check",
11-
"check:functions": "tsc --noEmit -p ./functions/tsconfig.json",
12-
"dev": "astro dev",
13-
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,mjs,astro,css,json,yaml,yml}\"",
14-
"postinstall": "patch-package && npm run sync",
15-
"preview": "astro preview",
16-
"start": "astro dev",
17-
"sync": "astro sync"
11+
"check:functions": "npx tsc --noEmit -p ./functions/tsconfig.json",
12+
"dev": "npx astro dev",
13+
"format": "npx prettier --write \"**/*.{js,jsx,ts,tsx,mjs,astro,css,json,yaml,yml}\"",
14+
"postinstall": "npx patch-package && npm run sync",
15+
"preview": "npx astro preview",
16+
"start": "npx astro dev",
17+
"sync": "npx astro sync"
1818
},
1919
"devDependencies": {
2020
"@astro-community/astro-embed-youtube": "^0.5.3",

0 commit comments

Comments
 (0)