Commit a09eeb23 authored by wannabesrevenge's avatar wannabesrevenge Committed by drpngx
Browse files

Tensorboard change NPM script name prepare to prep (#9051)

NPM 4.3 now calls the 'prepare' script as part of the install process.
As a result, running 'npm install' or 'npm run prepare' causes an
infinite loop. This removes the infinite loop.
parent b3655261
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ Then, cd into the TensorBoard directory:

and install dependencies:

`npm run prepare`
`npm run prep`

Then, run gulp: `gulp`

+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
  "description": "Visualizers for TensorFlow",
  "scripts": {
    "test": "gulp test",
    "prepare": "npm install && bower install && typings install",
    "prep": "npm install && bower install && typings install",
    "compile": "gulp compile"
  },
  "keywords": [