Skip to content

Commit

Permalink
docs: add watch target for PostCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Nov 12, 2022
1 parent 900003c commit 31e173a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/package.json
Expand Up @@ -10,12 +10,13 @@
"files": [],
"scripts": {
"images": "imagemin '_site/assets/images' --out-dir='_site/assets/images'",
"watch:sass": "sass --watch --poll src/assets/scss:_site/assets/css",
"watch:postcss": "postcss src/assets/css -d _site/assets/css --watch --poll",
"watch:sass": "sass --watch --poll src/assets/scss:src/assets/css --no-source-map",
"watch:eleventy": "eleventy --serve --port=2023",
"build:postcss": "postcss _site/assets/css --replace",
"build:sass": "sass src/assets/scss:_site/assets/css --no-source-map",
"build:postcss": "postcss src/assets/css -d _site/assets/css",
"build:sass": "sass src/assets/scss:src/assets/css --no-source-map",
"build:eleventy": "npx @11ty/eleventy",
"start": "npm-run-all build:sass --parallel watch:*",
"start": "npm-run-all build:sass build:postcss --parallel watch:*",
"build": "npm-run-all build:sass build:postcss build:eleventy images",
"lint:scss": "stylelint \"**/*.{scss,html}\"",
"lint:fix:scss": "npm run lint:scss -- --fix"
Expand Down

0 comments on commit 31e173a

Please sign in to comment.