add spm in package.json