govau / design-system-site

📚 Documentation, rationale and accessibility guidance
https://designsystem.gov.au
MIT License
83 stars 26 forks source link

Incorrect build script documentation #730

Open mrrossmullen opened 3 years ago

mrrossmullen commented 3 years ago

Bug report

What happened

Applying the build process scripts detailed in the documentation cause build errors when run on Windows when running npm run watch.

What I expected to happen

Build process to complete successfully with no errors shown. Error appears to be npm having difficulty finding the placeholder for each script key within package.json.

doesn't work : "build": "build:css && npm run build:autoprefix" works : "build": "npm run build:css && npm run build:autoprefix"

Reproducing

Steps to reproduce:

  1. Follow guidance for adding scripts section in package.json
  2. run npm run watch

Attachments

image