0.1.5 • Published 10 months ago

@jspsych/new-extension v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

@jspsych/new-extension

This package allows you to start building an extension in any directory by simply running npx @jspsych/new-extension from the command line.

You will be prompted to enter a name for your extension, a description, the name of the author, an optional link to the author's GitHub profile, the preferred language (TypeScript or JavaScript) for your extension, and an optional link to a README.md file for your extension. Your template package containing boilerplate code will then be automatically generated in your current working directory.

!NOTE If you are running this command in the jspsych-contrib repository, you will not be prompted to enter a README.md link. It will be generated automatically, and your template package will also be automatically generated under the ./packages folder.

In the generated package, you will find a ./docs folder containing a markdown file for you to fill in technical information about your extension, e.g. additional parameters it takes in and the data it generates. You will also find an ./examples folder where you can write simple scripts to demonstrate the functionality your extension provides. The file that contains your actual extension code should be the index.js file under the ./src folder. Lastly, we also provide a package.json for you to list metadata about your extension so that it can be easily published to a registry like npm, a README.md and a CITATION.cff file. If you plan to publish your extension, we highly recommend filling out the CITATION.cff file as it allows your extension's users to easily cite your extension.

0.1.5

10 months ago

0.1.4

12 months ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago