A command line scaffolding tool for building Launch extensions.
For more information regarding Launch, please visit our product website.
After you have installed Node.js on your machine, you will need to initialize your project. Create a folder for your project if you don't already have one. Inside the folder, run
You will need to provide the information requested on the screen. After this process is complete, you should have a file called
package.json inside your folder.
You will then need to install
@adobe/reactor-scaffold and save it in your project's
devDependencies by running
npm install @adobe/reactor-scaffold --save-dev
node_modules/.bin/reactor-scaffold from the command line within your project's directory. From there, just follow the prompts. You may run the scaffold tool multiple times to add additional functionality to your extension.
Rather than type the path to the
reactor-scaffold script each time you would like the run the tool, you may wish to set up a script alias by adding a
scripts node to your
package.json as follows:
Once this is in place, you may then run the tool by executing the command
npm run scaffold from the command line.