add package.json for nodejs dependencies
added parameter: allowNegative