Use `npm` to manage dependencies and configs

Ref: https://www.npmjs.org/doc/misc/npm-scripts.html#special-package-json-config-hash
See also: https://github.com/npm/npm/issues/3494.