Skip to content

Commit

Permalink
Update preinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix committed Jun 11, 2024
1 parent 6faf0e2 commit 60ce8ed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"postinstall": "npx lefthook install",
"preinstall": "if [ -z \"$CI\" ]; then . ~/.nvm/nvm.sh && nvm install && nvm use; fi",
"preinstall": "cross-env npm_config_legacy_peer_deps=false",
"reset": "rm -rf node_modules vendor build package-lock.json composer.lock",
"setup": "npm run reset && npm i && composer i && npm run build",
"start": "wp-scripts start"
Expand All @@ -84,8 +84,5 @@
"*.scss": [
"wp-scripts lint-style"
]
},
"dependencies": {
"node-fetch": "^3.3.2"
}
}

0 comments on commit 60ce8ed

Please sign in to comment.