New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-istatic

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-istatic

Static File Manager.

latest
Source
npmnpm
Version
0.3.2
Version published
Weekly downloads
4
-91.11%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

iStatic

Static File Manager

Installation

$ npm install node-istatic -g

Usage

Put a file named static.yaml (refer to the following Configuration) at the root of your project repository. And then, run:

$ istatic pull

Configuration

You can specify any git hosting provider, such as:

hostDict:
  code: http://code.dapps.douban.com/
  gitcafe: git://gitcafe.com/

Note: iStatic has been added github, bitbucket and local by default.

Specify the git repos info (including name, host, tag or commit) and the path of the files or directories you need. The default host is github, and the default commit (or tag) is origin/master. These two properties can be omitted. But you need to specify one file mapping (origin: target) at least. It sounds to be a little complicated, here's a example:

repos:
  arkui:
    host: code
    file:
      ./stylus: ./public/css/arkui/
      ./pics: ./public/pics/

  dexteryy/OzJS:
    tag: 2.5.1
    file:
      ./oz.js: ./public/js/lib/
      ./eventMaster/eventmaster.js: ./public/js/lib/mod/event.js

  /Users/mockee/M3:
    host: local
    commit: 7827c7c605
    file:
      ./define.js: ./public/js/lib/
      ./mod/touch.js: ./public/js/mod/

Grunt task

Grunt-istatic task now available.

Release History

  • 2013-02-22 - v0.3.1 - Support async callback for grunt-istatic.
  • 2013-02-07 - v0.2.7 - Support local git repos. Format logs. Add --version & clear options.
  • 2012-12-06 - v0.2.5 - Bugfix for pulldown && checking local files modification.

License

Copyright (c) 2013 mockee Licensed under the MIT license.

Keywords

static

FAQs

Package last updated on 18 Jun 2013

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