rename contrib-lib dep to lib-contrib
This commit is contained in:
parent
b78f4d6230
commit
d09b4fd6a0
@ -1,3 +1,7 @@
|
|||||||
|
v0.3.1:
|
||||||
|
date: 2012-10-12
|
||||||
|
changes:
|
||||||
|
- Rename grunt-contrib-lib dep to grunt-lib-contrib.
|
||||||
v0.3.0:
|
v0.3.0:
|
||||||
date: 2012-08-23
|
date: 2012-08-23
|
||||||
changes:
|
changes:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "grunt-contrib-jst",
|
"name": "grunt-contrib-jst",
|
||||||
"description": "Precompile Underscore templates to JST file.",
|
"description": "Precompile Underscore templates to JST file.",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"homepage": "https://github.com/gruntjs/grunt-contrib-jst",
|
"homepage": "https://github.com/gruntjs/grunt-contrib-jst",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Grunt Team",
|
"name": "Grunt Team",
|
||||||
@ -29,7 +29,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"underscore": "~1.3.3",
|
"underscore": "~1.3.3",
|
||||||
"grunt-contrib-lib": "~0.3.0"
|
"grunt-lib-contrib": "~0.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "~0.3.15",
|
"grunt": "~0.3.15",
|
||||||
|
@ -10,14 +10,14 @@ module.exports = function(grunt) {
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var _ = require("underscore");
|
var _ = require("underscore");
|
||||||
var helpers = require('grunt-contrib-lib').init(grunt);
|
var helpers = require('grunt-lib-contrib').init(grunt);
|
||||||
|
|
||||||
// filename conversion for templates
|
// filename conversion for templates
|
||||||
var defaultProcessName = function(name) { return name; };
|
var defaultProcessName = function(name) { return name; };
|
||||||
|
|
||||||
grunt.registerMultiTask("jst", "Compile underscore templates to JST file", function() {
|
grunt.registerMultiTask("jst", "Compile underscore templates to JST file", function() {
|
||||||
|
|
||||||
var helpers = require("grunt-contrib-lib").init(grunt);
|
var helpers = require("grunt-lib-contrib").init(grunt);
|
||||||
var options = helpers.options(this, {namespace: "JST", templateSettings: {}});
|
var options = helpers.options(this, {namespace: "JST", templateSettings: {}});
|
||||||
|
|
||||||
// assign filename transformation functions
|
// assign filename transformation functions
|
||||||
|
Loading…
Reference in New Issue
Block a user