rump-static
Rump piece for handling static files
Last updated 5 years ago by jupl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rump-static 
SYNC missed versions from official npm registry.

Rump Static

NPM License Issues

Status

Master

Dependencies Dev Dependencies
Travis Appveyor Codecov

Develop

Dependencies Dev Dependencies
Travis Appveyor Codecov

About

Rump Static is a Rump module that handles copying static files as is. For more information, visit the core repository.

API

The following is appended to the core Rump API:

rump.addGulpTasks(options)

This module adds the following tasks:

  • build:static will copy all files from source to destination. This task is also added to the build task. For more information on source and destination paths see rump.configure() below. This task is also added to the build task.
  • watch:static will run build:static, then monitor for changes and copy updated files as needed. This task is also added to the watch task.
  • info:static will display information on what this specific module does, specifically the source and destination paths as well as what files would get copied. This task is also added to the info task.

rump.configure(options)

Redefine options for Rump and Rump modules to follow. In addition to what options Rump and other Rump modules offer, the following options are available alongside default values:

options.paths.source.static ('static')

This is the directory where static files to be copied are contained. This path is relative to the root source path. (If the default root and static path is used, then the path would be src/static)

options.paths.destination.static ('')

This is the directory where static files are copied to. This path is relative to the root destination path. (If the default root and static path is used, then the path would be dist)

options.globs.build.static ('**/*')

This specifies which static files to copy. By default it copies all static files, including those in subdirectories.

options.globs.watch.static ('**/*')

This specifies which static files to monitor for changes. By default it watches all static files, including those in subdirectories.

Current Tags

  • 0.8.0                                ...           latest (5 years ago)

17 Versions

  • 0.8.0                                ...           5 years ago
  • 0.7.0                                ...           5 years ago
  • 0.6.0                                ...           5 years ago
  • 0.5.0                                ...           6 years ago
  • 0.4.0                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.8                                ...           6 years ago
  • 0.1.7                                ...           6 years ago
  • 0.1.6                                ...           6 years ago
  • 0.1.5                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 17
Dependencies (6)
Dev Dependencies (17)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |