mirror of
https://github.com/pure-css/pure.git
synced 2024-12-10 23:44:26 +00:00
Use bower.json to get current Normalize.css version number
This commit is contained in:
parent
f496042888
commit
f9bbf6f694
@ -7,6 +7,7 @@ module.exports = function (grunt) {
|
|||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
|
|
||||||
pkg : grunt.file.readJSON('package.json'),
|
pkg : grunt.file.readJSON('package.json'),
|
||||||
|
bower: grunt.file.readJSON('bower.json'),
|
||||||
|
|
||||||
// -- Clean Config ---------------------------------------------------------
|
// -- Clean Config ---------------------------------------------------------
|
||||||
|
|
||||||
@ -157,7 +158,7 @@ grunt.initConfig({
|
|||||||
options: {
|
options: {
|
||||||
banner: [
|
banner: [
|
||||||
'/*!',
|
'/*!',
|
||||||
'normalize.css v1.1.2 | MIT License | git.io/normalize',
|
'normalize.css v<%= bower.devDependencies["normalize-css"] %> | MIT License | git.io/normalize',
|
||||||
'Copyright (c) Nicolas Gallagher and Jonathan Neal',
|
'Copyright (c) Nicolas Gallagher and Jonathan Neal',
|
||||||
'*/\n'
|
'*/\n'
|
||||||
].join('\n')
|
].join('\n')
|
||||||
@ -266,7 +267,7 @@ grunt.registerTask('suppress', function () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// -- Bower Task ---------------------------------------------------------------
|
// -- Bower Tasks --------------------------------------------------------------
|
||||||
|
|
||||||
grunt.registerTask('bower-install', 'Installs Bower dependencies.', function () {
|
grunt.registerTask('bower-install', 'Installs Bower dependencies.', function () {
|
||||||
var bower = require('bower'),
|
var bower = require('bower'),
|
||||||
|
Loading…
Reference in New Issue
Block a user