Code Monkey home page Code Monkey logo

gulp-khup's People

Contributors

mbathon avatar unclesowise avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gulp-khup's Issues

Add `gulp-babel` and extend `browserify` configuration

Create a new JS flow that uses gulp-babel or something similar. Get off the weirdness of browserify and onto something less aged and more comfortable.

Make writing vanilla JS for the browser ES6 like and more fun. Ensure that current browserify is sound.

Reduce `config.js` to only reused configurations

There are configuration settings in https://github.com/uncleSoWise/gulp-khup/blob/develop/gulp/config.js that are only used one time. Configuration should live as close to where it is used as possible unless shared.

Return the following config settings to their homes:

  • autoprefixer
  • base64
  • mustache
  • psi_url

Also consider re-naming, moving and/or relocating the gulpflow config into another directory or file. Or maybe finding a better way to allow for that type of setting control.

Deprecated gulp-util

https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

- gutil.File => https://www.npmjs.com/package/vinyl
- gutil.replaceExtension => The .extname property on Vinyl objects or https://www.npmjs.com/package/replace-ext
- gutil.colors => https://www.npmjs.com/package/ansi-colors
- gutil.date => https://www.npmjs.com/package/date-format
- gutil.log => https://www.npmjs.com/package/fancy-log
- gutil.template => https://www.npmjs.com/package/lodash.template
- gutil.env => https://www.npmjs.com/package/minimist
- gutil.beep => https://www.npmjs.com/package/beeper
- gutil.noop => https://www.npmjs.com/package/through2
- gutil.isStream => Use the .isStream() method on Vinyl objects
- gutil.isBuffer => Use the .isBuffer() method on Vinyl objects
- gutil.isNull => Use the .isNull() method on Vinyl objects
- gutil.linefeed => Use the string '\n' in your code
- gutil.combine => https://www.npmjs.com/package/multipipe
- gutil.buffer => https://www.npmjs.com/package/list-stream
- gutil.PluginError => https://www.npmjs.com/package/plugin-error

Add `cosmicconfig` to allow end users customization over project globs

Some settings inside of globs.js may not be helpful for projects consuming gulp-khup at a package level. Consider using cosmicconfig or something similar to allow for setting the project watch directory as well as the project build directory name.

https://github.com/davidtheclark/cosmiconfig

Some projects may not be using /src/ or /dist/ and instead use /app/ and /lib/. Or there might also be a /test/ directory in need of task targeting. The glob patterns being ignored in deployGlobs should be configurable as well.

This may also be a good time to refactor the logic behind globs.js to be simpler. For example: watch all files but ignore the build directory entirely.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.