Add spm support
Merge pull request #103 from spmjs/develop

Add spm support