Skip to content

Commit

Permalink
Use npm config instead of GIT global config
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgaya committed May 15, 2024
1 parent 37f6003 commit 3ead396
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
26 changes: 11 additions & 15 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@
"lint:fix": "eslint . --ext .js,.vue --fix",
"lint:css": "stylelint './app/assets/stylesheets/**/*.scss'",
"bump": "npm --no-git-tag-version version prerelease --preid=assets",
"preinstall": "git config --global url.'https://'.insteadOf 'git://'",
"postinstall": "git config --global --unset url.'https://'.insteadOf",
"preinstall": "npm config set git https:// --local",
"postinstall": "npm config delete git --local",
"postversion": "git add package.json package-lock.json && git commit -m 'Bump assets version' && git push",
"update-internal-deps": "rm -rf node_modules && npm install",
"branch-files": "node lib/build/branchFiles/branchFiles.js",
Expand Down

0 comments on commit 3ead396

Please sign in to comment.