Skip to content

Check and try auto install required npm packages at the app level

License

Notifications You must be signed in to change notification settings

cristo-rabani/auto-install-npm

Repository files navigation

cristo:auto-install-npm

This package is inspired by tmeasday:check-npm-versions and partly based on it. The biggest difference againts check-npm-versions is that this package will add missing dependencies to your application package.json.

After that, this package will call command: meteor npm install (Mostly this is all, but somethimes you will must run npm install)

Take care that this package works only in develop mode (so you should launch in this mode meteor, once after adding new package)

Additional important things are permissions to package.js and of course this file should existed in project.

import autoInstallNpm from 'meteor/cristo:auto-install-npm';

autoInstallNpm({
    'to-markdown': '1.3.0'
}, 'universe:react-markdown-wysiwyg');

const toMarkdown = require('to-markdown');

This package is in working progress, but it seems to work

About

Check and try auto install required npm packages at the app level

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published