From 1eadb2d537a3d5a96d1ee20ad2b953299139a5b1 Mon Sep 17 00:00:00 2001 From: cchang-vassar <79338042+cchang-vassar@users.noreply.github.com> Date: Thu, 8 Aug 2024 18:50:11 -0400 Subject: [PATCH] update "create-task" to "new" in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a4b15e..8f60e4f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you would like to contribute a new task to this repository, please follow the 1. Fork this repository 2. Create a new branch for your task (e.g., 'new-task-arrow-flanker') 3. Run `npm install` in the root directory of the repository to install dependencies. -4. Run `npm run create-task` and answer the prompts to create a new task template in the `packages` directory. +4. Run `npm run new` and answer the prompts to create a new task template in the `packages` directory. 5. Edit the files in the new task directory to implement your task. `src/index.ts` is the main file that will be loaded when the task is used. `README.md` is the documentation for the task. `examples/index.html` is a basic jsPsych experiment template that you can modify to illustrate how your task works. 6. Run `npm run build` to build the task. This will create a `dist` directory with the compiled task. 7. Verify that the example works by opening `examples/index.html` in your browser.