Skip to content

Commit

Permalink
Cleanup dist before build (#269)
Browse files Browse the repository at this point in the history
* Cleanup dist before build

* Use rimraf instead of rm to be os independent

* Add line ending
davidkopp authored Aug 14, 2024
1 parent 855a386 commit c84e01f
Showing 2 changed files with 99 additions and 32 deletions.
127 changes: 96 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"prebuild": "rimraf dist",
"start": "npm-run-all get-theme build:sass --parallel watch:*",
"watch:sass": "sass --watch src/site/styles:dist/styles",
"watch:eleventy": "cross-env ELEVENTY_ENV=dev eleventy --serve",
@@ -41,6 +42,7 @@
"markdown-it-mathjax3": "^4.3.1",
"markdown-it-plantuml": "^1.4.1",
"markdown-it-task-checkbox": "^1.0.6",
"npm-run-all": "^4.1.5"
"npm-run-all": "^4.1.5",
"rimraf": "^4.4.1"
}
}

0 comments on commit c84e01f

Please sign in to comment.