adding npm-postinstall and -test definitions