How to build a package only, without build it's depends

I want to build a small package that runs a js script, so its need depends on NodeJS at runtime, I define this depends on LUCI_DEPENDS field when building this package, NodeJS will be built, it took a very long time, can I build this package without NodeJS, and when installing it, NodeJS should be installed either.