Add Karma to npm packages