Install a production dependency, then install a dev dependency that the production dependency (internally) depends on as well. (Should you have to know that? Is that not an implementation detail?)
Then shrinkwrap for production, and note that the dev dependency is (correctly) excluded at the top, but present nested under the production dependency.
npm init npm install strong-agent --save npm install firstname.lastname@example.org --save-dev npm shrinkwrap