зеркало из https://github.com/twbs/bootlint.git
nicer banner format for browserfy'd version
This commit is contained in:
Родитель
d17fd6151f
Коммит
67f5019c9a
|
@ -10,7 +10,13 @@ module.exports = function (grunt) {
|
|||
grunt.initConfig({
|
||||
// Metadata.
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %> */\n',
|
||||
banner: (
|
||||
"/*!\n * Bootlint v<%= pkg.version %> (<%= pkg.homepage %>)\n" +
|
||||
" * <%= pkg.description %>\n" +
|
||||
" * Copyright (c) 2014 Christopher Rebert\n" +
|
||||
" * Licensed under the MIT License (https://github.com/twbs/bootlint/blob/master/LICENSE).\n" +
|
||||
" */\n"
|
||||
),
|
||||
// Task configuration.
|
||||
browserify: {
|
||||
dist: {
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
/*! bootlint - v0.1.1 - 2014-09-23 */
|
||||
/*!
|
||||
* Bootlint v0.2.0 (https://github.com/twbs/bootlint)
|
||||
* HTML linter for Bootstrap projects
|
||||
* Copyright (c) 2014 Christopher Rebert
|
||||
* Licensed under the MIT License (https://github.com/twbs/bootlint/blob/master/LICENSE).
|
||||
*/
|
||||
|
||||
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
/*!
|
||||
|
|
Загрузка…
Ссылка в новой задаче