Hey @Yellow Car, this is what's going on when you execute each commands:
$ npm config set @gsap:registry https://npm.greensock.com/
^ This command adds the following entry to the ~/.npmrc file: @gsap:registry=https://npm.greensock.com
$ npm config set //npm.greensock.com/:_authToken <your-auth-token>
^ Just like the previous this command adds the following entry to the ~/.npmrc file: //npm.greensock.com/:_authToken=<your-auth-token>
You might notice that the above entries are the exact lines specified in the Greensock installation docs. But sometimes, manual errors might cause some issues while entering data into the .npmrc file like adding/missing an extra space/character. These commands just prevents the same from happening.
$ npm install @gsap/business
^ This command is required to fill the npm cache in npm v7. I'ts a weird bug introduced in the npm v7 that causes installation failures while using package name aliases
$ npm install gsap@npm:@gsap/business
Finally, this is the command that installs the package "@gsap/business" and gives it an alias name "gsap". As a result, you can import code from the business package like all other regular greensock packages: import GSAP from 'gsap' - this will import code from @gsap/business package in our case
Pretty cool huh?