HomePhabricator

Have npm doc to install jsduck with bundler

Authored by Paladox on Apr 1 2016, 3:43 PM.

Description

Have npm doc to install jsduck with bundler

The doc script relies on the rubygems jsduck which is most probably not
installed. Add a 'predoc' script which npm will execute before 'doc' to
get JSDuck installed from rubygems using bundler. Execute the JSDuck via
bundler to get the proper dependencies.

Bug: T109005
Bug: T130587
Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I8ea086cedd81c0cd626452b375a6ae1e81460943

Details