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

jeet-gulp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeet-gulp

A template gulp project for Jeet.

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

jeet-gulp

A template gulp project for Jeet.

GettingStarted

$ git clone https://github.com/muraken720/jeet-gulp.git
$ npm install
$ gulp

Open your browser 'http://localhost:8080' with LiveReload.

FileStructure

$ tree src public
  src
  └── styl
      └── app.styl
  public
  ├── css
  │   └── app.css
  └── index.html

Let's edit src/styl/app.styl !

gulpfile.coffee

gulp = require 'gulp'
stylus = require 'gulp-stylus'
jeet = require 'jeet'
connect = require 'gulp-connect'

gulp.task 'stylus', ->
  gulp.src('src/styl/**/*.styl')
    .pipe(stylus(
      use: [jeet()]
    ))
    .pipe(gulp.dest('public/css'))
    .pipe(connect.reload())

gulp.task 'html', ->
  gulp.src('public/**/*.html')
    .pipe(connect.reload())

gulp.task 'connect', ->
connect.server(
  root: ['public']
  livereload: true
)

gulp.task 'watch', ->
  gulp.watch ['src/styl/**/*.styl'], ['stylus']
  gulp.watch ['public/**/*.html'], ['html']

gulp.task 'default', ['stylus', 'connect', 'watch']

LICENSE

MIT

Keywords

FAQs

Package last updated on 15 Sep 2014

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