Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

startanull

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

startanull

Gulp tasks for front-end building

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Startanull

Startanull is Gulp builder for styles, scripts, templates.

Prepare for using

  1. Install latest Node.JS

    $ node --version
    >> v6.3.*
    $ npm --version
    >> 3.*
    
  2. Install Gulp as global package.

    [sudo] npm install -g gulp
    

Setup

  1. Install gulp and startanull packages as development dependencies for your project. To do this, run next command in your project folder:

    $ npm install --save-dev gulp startanull
    
  2. Create gulpfile.js in your project folder

    'use strict';
    const startanull = require('startanull');
    const conf = {...}; // config object for startanull
    const gulp = conf.gulp = require('gulp');
    startanull(conf);
    
  3. Setup config. You can find sample config and gulpfile in test folder

Tasks

Default

Build styles, scripts and templates

gulp

Styles

Build CSS from styles

gulp styles.build

Minify CSS

gulp styles.min

Build CSS from styles and minify them

gulp styles

Scripts

Build Scripts with Webpack. Pass min flag for minified version

gulp scripts.build [--min]

Templates

Build HTML from Pug templates

gulp templates.build

Watchers

Rebuild assets on sources changed. Pass some options if you want watch for specific modules.

  • s - for styles
  • j - for scripts
  • t - for templates
gulp watch [-s|j|t]

BrowserSync

Serve files with BrowserSync

gulp serve

FAQs

Package last updated on 13 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc