If you need access to the plugin API in your project without creating a full plugin, you can use the vuePlugins.service option in your package.json file
vuePlugins.service
{ "vuePlugins": { "service": ["my-service.js"] } }