Skip to content

prasannamestha/gsap-netlify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing club greensock packages in netlify

This is a sample project to demonstrate how to install club greensock packages such as @gsap/simply, @gsap/shockingly, @gsap/business in netlify.

Steps

  1. Add a file names .npmrc to the project root with the following contents in it:
always-auth=true
@gsap:registry=https://npm.greensock.com/
//npm.greensock.com/:_authToken=${PRIVJS_TOKEN}
save-exact=true
  1. Install the package using the following command:
$ npm install gsap@npm:@gsap/shockingly

Feel free to change "/shockingly" to any other club greensock package name of your choice. You need to add the PRIVJS_TOKEN to your environment variable (preferably .env file).

  1. Then add the environment variable PRIVJS_TOKEN in the Netlify site settings and set the value as the private token provided to you by Greensock: image

If you still face any issues; email us at support@privjs.com

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published