Skip to content

Commit

Permalink
Use yarn when NPM is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertware committed Jan 27, 2024
1 parent d4be689 commit d1013d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"description": "Use the Belgian railway's station in your PHP project",
"type": "library",
"scripts": {
"pre-install-cmd" : "npm install ; node bin/build.js > stations.jsonld",
"pre-update-cmd": "npm install ; node bin/build.js > stations.jsonld"
"pre-install-cmd" : "npm install || yarn install ; node bin/build.js > stations.jsonld",
"pre-update-cmd": "npm install || yarn install ; node bin/build.js > stations.jsonld"
},
"license": "CC0-1.0",
"authors": [
Expand Down

0 comments on commit d1013d6

Please sign in to comment.