I have a SPFx web part I'm trying to include spServices in. I've done the npm install for jquery@2 and spServices, run npm install in the project root directory, and tried to run grunt (as outlined in the README). However, I'm getting Fatal error: Unable to find Gruntfile.
Since grunt wasn't working, I tried adding
"externals": {
"jquery":{
"path": "/node_modules/jquery/dist/jquery.min.js",
"globalName": "jquery"
},
"sps": {
"path": "/node_modules/spservices/dist/jquery.SPServices.js" ,
"globalName": "GetUserProfile"
}
}
to my config.json file (as outlined here), but when i add import sps in my .js file (script file alongside the .ts file) I'm getting the following in the workbench (THANKS TO u/Oskar FOR RESOLVING THIS PORTION):

What do I need to do to get spServices to import properly?
Edit: Updated above with changes from u/Oskar's response. Now, I'm receiving the following error in the console:
