From 572b074a9ec8e0ddea75f41b72b4108ca6f0d66e Mon Sep 17 00:00:00 2001 From: QWp6t Date: Fri, 9 Sep 2016 10:11:36 -0700 Subject: [PATCH] Add additional commands to readme, fix BrowserSync docs --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dde4e8e..c906605 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,12 @@ You now have all the necessary dependencies to run the build process. * `npm run start` — Compile assets when file changes are made, start BrowserSync session * `npm run build:production` — Compile assets for production +#### Additional commands + +* `npm run clean` — Remove your `dist/` folder +* `npm run lint` — Run eslint against your assets and build scripts +* `composer test` — Check your PHP for code smells with `phpmd` and PSR-2 compliance with `phpcs` + ### Using BrowserSync To use BrowserSync during `npm run start` you need to update `devUrl` at the bottom of `assets/config.json` to reflect your local development hostname. @@ -105,10 +111,7 @@ If you are not using [Bedrock](https://roots.io/bedrock/), update `publicPath` t ```json ... - "output": { - "path": "dist", - "publicPath": "/wp-content/themes/sage/dist/" - } + "publicPath": "/wp-content/themes/sage/" ... ```