Add "npm run-script metadata" command

This will rebuild metrics metadata exposed by CommonJS module