How to build scripts with npm?