Skip to content

Instantly share code, notes, and snippets.

@ivn-cote
Created January 5, 2018 11:13
Show Gist options
  • Select an option

  • Save ivn-cote/a4c105575e4b52cf773f6fe9a1a60fb2 to your computer and use it in GitHub Desktop.

Select an option

Save ivn-cote/a4c105575e4b52cf773f6fe9a1a60fb2 to your computer and use it in GitHub Desktop.

Revisions

  1. ivn-cote created this gist Jan 5, 2018.
    7 changes: 7 additions & 0 deletions gftoken.bash
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/bin/bash

    sed -i '' 's/<old>/<new>/g' package-lock.json
    sed -i '' 's/<old>/<new>/g' .npmrc
    rm -rf node_modules
    npm cache clear --force
    npm i