added npm script to generate documentation