How to install Club Greensock packages on DigitalOcean, AWS, etc
![Fiona Paul](https://cdn.sanity.io/images/pjqiaql6/production/13760d3ab01ec9bd3674d65c78a7533a6624db24-6016x4016.jpg)
Fiona Paul
![Cover Image for How to install Club Greensock packages on DigitalOcean, AWS, etc](https://cdn.sanity.io/images/pjqiaql6/production/f04445a9afa7576cfa849fa2805a58251e34c043-1600x869.png?w=1240)
![Fiona Paul](https://cdn.sanity.io/images/pjqiaql6/production/13760d3ab01ec9bd3674d65c78a7533a6624db24-6016x4016.jpg)
Fiona Paul
How to install Club Greensock packages on DigitalOcean, AWS, etc
- Add a file named
.npmrc
to the project root with the following contents in it:
always-auth=true
@gsap:registry=https://npm.greensock.com
//npm.greensock.com/:_authToken=xxxx-xxxx-xxxx-xxxx
If you are running the app in the dev environment, replace xxxx-xxxx-xxxx-xxxx
with the token provided to you by Greensock or PrivJs
- Install the package using the following command:
$ npm install gsap@npm:@gsap/shockingly
if you are using yarn package manager then you need to run:
$ yarn add @gsap/shockingly gsap@npm:@gsap/shockingly
That's it. The project should now install and build successfully on your private web server.
Feel free to change /shockingly
to any other Club Greensock package name of your choice.
If you face any issues, write to us at support@privjs.com
and we would be happy to help you.