Use npx to run commands

This commit is contained in:
Lewis Dale 2023-03-12 07:53:48 +00:00
parent 96311681ed
commit f4cdba9d58

View File

@ -6,8 +6,8 @@
"scripts": {
"build": "npm run build:props && npm run build:css && npm run build:eleventy",
"build:props": "node scripts/custom-props.js",
"build:css": "postcss src/css/styles.css --base src --dir _site/assets",
"build:eleventy": "eleventy",
"build:css": "npx postcss src/css/styles.css --base src --dir _site/assets",
"build:eleventy": "npx eleventy",
"serve": "run-p \"serve:*\"",
"serve:props": "node scripts/custom-props.js",
"serve:css": "postcss src/css/styles.css --base src --dir _site/assets -w",