Skip to content

Instantly share code, notes, and snippets.

@jstrimpel
Last active August 29, 2015 14:17
Show Gist options
  • Save jstrimpel/599a516a5209844c967e to your computer and use it in GitHub Desktop.
Save jstrimpel/599a516a5209844c967e to your computer and use it in GitHub Desktop.
NPM: Package Management for Isomorphic Web Applications

NPM is the defacto package manager for CommonJS style modules leveraged by a Node application on the server. However, a set of best practices has recently emerged advocating the use of NPM to manage client packages over other client package managers such as Bower. Client packages are essentially packaged the in the same fashion as server packages, but package metadata and lifecycle scripts are used when necessary to facilitate the creation of artifacts that are consumed by the client. This concept is now being extended to isomorphic JavaScript applications. This talk will explore a real world use case focused on these best practices at WalmartLabs that is being used to package and build isomorphic web applications. The talk will cover the metadata schema and OSS build tools that are used to create various types of artifacts from node module packages. A demo will showcase the automated construction of an application based on these artifacts from an application module dependency tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment