We are delighted that you are considering contributing to our project. Your contributions are invaluable in helping us improve and grow. Thank you for taking the time to contribute!
Fork the repository by clicking the fork button at the top of the page. This action will create a copy of this repository in your account.
Navigate to your GitHub account, open the forked repository, click the code button, and then click the copy to clipboard icon.
Open a terminal and execute the following git command:
git clone "url you just copied"
cd "folder name"
pnpm install
Building the motion package is essential to compile the latest code changes and ensure the package functions correctly within the project. This step generates the necessary build artifacts, allowing you to develop, test, and verify your modifications effectively.
pnpm build
This will build all the necessary files for the motion package.
To start the development server and test the motion package in the playground, run the following command:
pnpm run dev:play
This will start the development server and open the browser with the playground.
Here are some additional commands that you might find useful:
-
dev: This command runs the development server for the motion package.
pnpm run dev
-
build: This command builds all packages within the project.
pnpm run build
-
test: This command runs tests for the motion package.
pnpm run test
-
prepare: This command sets up git hooks using simple-git-hooks.
pnpm run prepare
-
docs:install: This command installs dependencies for the documentation.
pnpm run docs:install
-
docs:dev: This command runs the development server for the documentation.
pnpm run docs:dev
-
docs:build: This command builds the documentation.
pnpm run docs:build
-
docs:gen: This command generates documentation files.
pnpm run docs:gen
-
docs:contributors: This command generates a list of contributors for the documentation.
pnpm run docs:contributors