Update spm-package.js

https://github.com/spmjs/spm/issues/818