Reaction ships with all the standard Meteor commands, as documented in the Meteor Guides, along with those from Reaction's own command line interface (CLI). Here are some handy commands to use while developing on Reaction:
Before you get started using the Reaction CLI, it's important to make sure you're using the latest version. Use
reaction -v to check what versions of Node, NPM, Meteor Node, Reaction CLI, Docker and what branch and version of Reaction you are currently running.
reaction -v Node: 9.5.0 NPM: 5.6.0 Meteor Node: 8.9.3 Meteor NPM: 5.5.1 Reaction CLI: 0.27.0 Reaction: 1.8.0 Reaction branch: release-1.8.0 Docker: 17.12.0-ce
reaction --help or
-h will give you help for the
Resets the Reaction database, updates npm modules, and optionally removes
node_modules before updating.
This will give you a fresh test dataset from
To just reset the database, pass in the
reaction reset -n
To run the server integration tests:
reaction plugin create <your-plugin-name>
This will create a template project in the
Other useful commands for development
To learn more on how to set up the inspector, check out our debugging documentation.
npm run lint
npm run lint or alternatively,
npx eslint . for linting your local files. This ensures you are running the same version of Reaction's ESLint.
Run Reaction without the default sample data store and products. Read more about fixture options.
meteor mongo from your Reaction directory to view and run commands in the MongoDB database directly.
Start the Meteor interactive shell with
meteor shell. See Meteor's documentation on