npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

gulp-webpack-starter

v1.0.3

Published

Gulp - webpack starter is a starter kit which provides a simple way of setting up a modern web development environment which require some of the most popular gulp plugins for compiling SCSS and JS files

Downloads

7

Readme

Gulp-webpack starter project

Gulp-webpack starter project combine gulp and webpack technology for compiling java script and style files. It's serves as initial framework for projects build with ES6 and SASS. It's also contains demo ES6 project.

  • Gulp - gulp is a toolkit that helps you automate painful or time-consuming tasks in your development workflow.
  • Webpack - webpack is a static module bundler for modern JavaScript applications. When webpack processes your application, it internally builds a dependency graph which maps every module your project needs and generates one or more bundles.

Gulp-webpack starter provides a various features which are:

  • compile CSS preprocessor code (SASS) to CSS
  • autoprefix, clean and minify CSS file
  • include style source maps
  • show message after gulp task is completed
  • concatenate style and js files
  • allow to use glob imports in style files
  • set up a local dev server through browsersync which is available on: http://localhost:3000
  • minify and compress images (.png, .jpg, .jpeg, .svg, .ico)
  • compile ES6 to ES5 code and minify js file

Content

  • Gulpfile.js - define compile settings, gulp plugins and tasks
  • Webpack.config.js - define configuration for webpack (compiling js files)
  • ES6 cars project - demo project build in ES6
  • Style structure - demonstrate style structure with .scss

Requirements

  • NPM version - 6.14.4
  • NODE version - 12.16.1

Installation and usage

###git clone The other way to to get starter project is by cloning Git repository, please fallow next steps in command prompt or terminal:

  1. cd your-project-directory
  2. git clone https://github.com/SternadB/gulp-webpack-starter.git
  3. npm install
  • NPM modules - npm install (install all require plugins)
  • Gulp build task - gulp build (run all gulp tasks)
  • Gulp script task - gulp gulp:script (run script task)
  • Gulp sass task - gulp gulp:sass (run sass task)
  • Gulp image task - gulp gulp:image (run image task)

Gulp plugins

  • gulp-babel (JS compiler)
  • gulp-plumber (prevent pipe breaking coused by errors from gulp plugins)
  • gulp-concat (concatenate js files)
  • gulp-sass (SASS compiler)
  • gulp-notify (messages)
  • sourcemaps (maps CSS back to SASS files)
  • sassGlob (allow to use glob imports in scss files)
  • imageMin (minify image format - png, jpeg, gif and svn)
  • cleanCSS (css optimizer)
  • gulp-autoprefixer (add vendor prefixes to CSS rules)
  • gulp-browser-sync (create external link for browsing)
  • webpack-stream (adding webpack tehnology)
  • webpackconfig (webpack file with configuration)

Webpack plugins

  • uglifyjs-webpack-plugin (minify js files)