npm publish
Support for relativePath, functions included

All functions and variables are now generated with task. No need to
include imageRoot variable and image functions.