前端工具
https://github.com/sindresorhus/oraElegant terminal spinner
https://github.com/isaacs/rimraf A `rm -rf` util for nodejs
https://github.com/jinder/path
https://nodejs.org/docs/latest/api/path.html#path_path_join_paths
path.join([...paths])
The path.join()
method joins all given path
segments together using the platform-specific separator as a delimiter, then normalizes the resulting path.
Zero-length path
segments are ignored. If the joined path string is a zero-length string then '.'
will be returned, representing the current working directory.
path.join('/foo', 'bar', 'baz/asdf', 'quux', '..');
// Returns: '/foo/bar/baz/asdf'
path.join('foo', {}, 'bar');
// Throws 'TypeError: Path must be a string. Received {}'
A TypeError
is thrown if any of the path segments is not a string.
https://github.com/chalk/chalkTerminal string styling done right
https://github.com/webpack/webpack
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.