vlad 6f123ff03e 18.07 | 6 yıl önce | |
---|---|---|
.. | ||
lib | 6 yıl önce | |
node_modules | 6 yıl önce | |
license | 6 yıl önce | |
package.json | 6 yıl önce | |
readme.md | 6 yıl önce |
Handles the lifecycle and bootstrapping of generators in a specific environment
It provides a high-level API to discover, create and run generators, as well as further tuning of where and how a generator is resolved.
$ npm install yeoman-environment
Full documentation available here.
const yeoman = require('yeoman-environment');
const env = yeoman.createEnv();
// The #lookup() method will search the user computer for installed generators
// The search if done from the current working directory
env.lookup(() => {
env.run('angular', {'skip-install': true}, err => {
console.log('done');
});
});
For advance usage, see our API documentation.
BSD-2-Clause © Yeoman