def install_npm_modules():
    """Uses npm to dependencies in node.json"""
    # This is a little weird, but we do it this way because if you
    # have package.json, then heroku thinks this might be a node.js
    # app.
    call_command('cp node.json package.json', verbose=True)
    call_command('npm install', verbose=True)
    call_command('rm package.json', verbose=True)
def install_npm_modules ( ) : call_command ( 'cp node.json package.json' , verbose = True ) call_command ( 'npm install' , verbose = True ) call_command ( 'rm package.json' , verbose = True )
Uses npm to dependencies in node.json