fix: update prepare script to conditionally run presetter

This commit is contained in:
Derrick Hammer 2023-06-26 03:17:12 -04:00
parent b752e40c3d
commit 034ea89671
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
"readme": "ERROR: No README data found!",
"_id": "@lumeweb/node-library-preset@0.1.0",
"scripts": {
"prepare": "presetter bootstrap",
"prepare": "bash -c 'if command -v presetter &> /dev/null; then presetter bootstrap; fi'",
"build": "run build",
"semantic-release": "semantic-release"
},