mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
Use bower.json to get current Normalize.css version number
This commit is contained in:
parent
f496042888
commit
f9bbf6f694
@ -6,7 +6,8 @@ module.exports = function (grunt) {
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
pkg : grunt.file.readJSON('package.json'),
|
||||
bower: grunt.file.readJSON('bower.json'),
|
||||
|
||||
// -- Clean Config ---------------------------------------------------------
|
||||
|
||||
@ -157,7 +158,7 @@ grunt.initConfig({
|
||||
options: {
|
||||
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',
|
||||
'*/\n'
|
||||
].join('\n')
|
||||
@ -266,7 +267,7 @@ grunt.registerTask('suppress', function () {
|
||||
});
|
||||
});
|
||||
|
||||
// -- Bower Task ---------------------------------------------------------------
|
||||
// -- Bower Tasks --------------------------------------------------------------
|
||||
|
||||
grunt.registerTask('bower-install', 'Installs Bower dependencies.', function () {
|
||||
var bower = require('bower'),
|
||||
|
Loading…
Reference in New Issue
Block a user