Note: The "all" options—which are for installing for all users on the
machine—do not currently work.
Note also that if pkg
is not used, the node
on one's path will be used instead.
For now, pkg
should be used.
npm run (pkg-)installer(-all)-(lint|run|addon)
- Shortcut options for the following two stepsnpm run (pkg-)installer(-all)
- Shortcut for the following two stepsnpm run build-(pkg-)installer(-all)
- Shortcut for the following- If
pkg
,build-pkg-native-apps(-all)
- builds the Node executables for native messaging build-(pkg-)installer-component(-all)
- Builds installations on the user machine- If
pkg
,npm link
- If
npm run run-(pkg-)install
- Executes the installer (to register as part of native messaging host files)
- One of:
npm run lint
- Runs ESLint andweb-ext lint
(which usesaddons-linter
)npm run run
- Test the web extension in Firefoxnpm run addon
- Building the add-on file for distribution, e.g., on AMO