GithubHelp home page GithubHelp logo

gulp-boilerplate's People

Contributors

alanshortis avatar beforan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

gulp-boilerplate's Issues

Add JavaScript coding standards

As with the CSS standards, add the javaScript coding standards to this repo so they can be evaluated alongside an eslint config and a sandbox to test.

Add browsersync integration

Include browsersync on the watch task, with examples of proxying local urls and injection of assets as they're built or updated.

Sass-lint vs Visual Studio / Resharper

Suggest keeping this open for a bit so we can add inconsistencies, and then review what we do about it once we have a decent picture.

Stuff I've found so far:

  • VS defaults to 4 spaces for tabs in .scss files
  • Resharper prefers double quotes to single quotes

Add JavaScript tasks

  • Build JavaScript from modules using Browserify
  • Uglify JavaScript
  • Use eslint to enforce coding standards

Paths won't work for asp.net core workflow

The paths won't work as is, so we'd be reconfiguring per-project (but the same everytime)?

I suppose the easiest (but a faffy) way would be to leave everything as is and add a task to copy the built files to an asp.net core output path after? e.g. wwwroot/css

But obvs it'd be less silly to just set the output to that instead of copying afterwards.

It'd also be preferable to have a difference source path - while we can put our sass in ./src/sass relative to the gulpfile, there will be other source outside ./src so it seems a bit disingenuous to me.

Is there a nice way the paths can be more configurable?

Add JSON-SASS task

There are cases where it's necessary to use responsive breakpoints in JavaScript as well as in CSS media queries.

In this case it makes sense to keep these in a JSON file and use a gulp task to create a SASS map from this data.

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.