scripts (npm): Resolve scripts based on supported extensions.
Keywords: require|path