A scripted test that illustrates and verifies how js code can be shared in the form of WebJars.
Add compile, test and sourceDirectories settings
Merge pull request #15 from huntc/multi-module-test

Multi module webjars
Merge pull request #16 from richdougherty/common-web-settings

Add compile, test and sourceDirectories settings
Incorporated changes to the webjar-extractor where the module id is now included.
There's a new "assets" task such that "assets in Assets" will provide the "resourceManaged in Assets" folder nicely populated. Similarly "assets in TestAssets" will provide the contents of resourceManaged both in the Assets and the TestAssets scope i.e. all of the module's assets are present in the target/public-test folder. The copying will be efficient given the use of sbt's Sync functionality.

In addition WebJars are now automatically extracted into the target/public and target/public-test folders.
Using PathMappings returned by plugins
Merge pull request #17 from huntc/assets-task

Asset re-factorings
Dropped FileMappings as they don't appear that useful. Anything that performs a copy is better off stating the directory where things are copied to rather than a description of the copy operation. Can't think why FileMappings would be useful to other tasks. The assets tasks consequently returns a folder of where assets were copied to.

Modified PathMappings to just the tuple and defined its type as PathMapping. Expressing a Seq[PathMapping] throughout code is reasonable and meaningful without being verbose (whereas a Seq[(File, String)] is meaningless and verbose).
webjar extraction has its own task returning just the dir assets are extracted to.
Merge pull request #18 from huntc/webjar-extract-task

WebJar extraction to receive its own task
Ensure all assets/resources copied

* Ensured all raw resources and assets are copied in the assets task
* Made copyResourceTo to use incremental assets processor
Merge pull request #19 from jroper/copyassets

Ensure all assets/resources copied
Consider directories as part of path mappings.
Merge pull request #20 from huntc/consider-dirs

Consider directories as part of path mappings.
Re-factored some keys, introduced others, so that they align with sbt.

Source file plugins are now source generators.
Merge pull request #21 from huntc/idiomatic-sbt-dirs

More idiomatic sbt key usage
Added webjars as a source generator. Thus webjars is both a source and resource generator in that that they can provide both sources and resources. Depend on managed sources and managed resources as it makes sense.
Introduction of web-modules and node-modules in place of the previous functionality relying on them being both source and resource generators.
Merge pull request #22 from huntc/web-modules

Web Modules and Node Modules