Add a SASS watcher command (#1427)
* Add a SASS watcher command * Simplify the compile:css command
This commit is contained in:
parent
301248d5e7
commit
27fc314b55
4 changed files with 5 additions and 1 deletions
|
@ -60,6 +60,7 @@ $ npm install
|
|||
- `composer make-pot` : generates a .pot file in the `language/` directory.
|
||||
- `npm run compile:css` : compiles SASS files to css.
|
||||
- `npm run compile:rtl` : generates an RTL stylesheet.
|
||||
- `npm run watch` : watches all SASS files and recompiles them to css when they change.
|
||||
- `npm run lint:scss` : checks all SASS files against [CSS Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/).
|
||||
- `npm run lint:js` : checks all JavaScript files against [JavaScript Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/).
|
||||
- `npm run bundle` : generates a .zip archive for distribution, excluding development and system files.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue