This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const path = require('path'); | |
| const _ = require('lodash'); | |
| const titleize = require('titleize'); | |
| const humanizeString = require('humanize-string'); | |
| const readPkgUp = require('read-pkg-up'); | |
| const updateNotifier = require('update-notifier'); | |
| const Configstore = require('configstore'); | |
| const {namespaceToName} = require('yeoman-environment'); | |
| const getPkgVersion = require('./utils/packageHelper') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| const path = require('path'); | |
| // _ represent the module of lodash | |
| const _ = require('lodash'); | |
| // normalize the string | |
| const titleize = require('titleize'); | |
| // module for Transforming the input into a human friendly form | |
| const humanizeString = require('humanize-string'); | |
| // module for Reading the closest package.json file | |
| const readPkgUp = require('read-pkg-up'); |
NewerOlder