chore(npm): add semver as a dep (fixes #1)