created npm build task

see #517