Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zswang/grunt-jdists
Code block processing tools - grunt plugin
https://github.com/zswang/grunt-jdists
Last synced: about 1 month ago
JSON representation
Code block processing tools - grunt plugin
- Host: GitHub
- URL: https://github.com/zswang/grunt-jdists
- Owner: zswang
- Created: 2015-08-24T05:04:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T07:26:56.000Z (almost 8 years ago)
- Last Synced: 2024-08-09T03:02:25.336Z (3 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grunt-jdists [![Build Status](https://img.shields.io/travis/zswang/grunt-jdists/master.svg)](https://travis-ci.org/zswang/grunt-jdists) [![NPM version](https://img.shields.io/npm/v/grunt-jdists.svg)](http://badge.fury.io/js/grunt-jdists)
> Code block processing with [jdists](https://github.com/zswang/jdists).
## Installation
Install package with NPM and add it to your development dependencies:
`npm install --save-dev grunt-jdists`
## The "jdists" task
### Overview
In your project's Gruntfile, add a section named `jdists` to the data object passed into `grunt.initConfig()`.
```js
grunt.initConfig({
jdists: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
})
```## Options
- `remove`
Remove block tag name list (default "remove,test")
- `trigger`
Trigger name list (default "release")
- `config`
Path to config file (default ".jdistsrc")
MIT © [zswang](http://weibo.com/zswang)