bootlint/build/stamp.js

20 строки
467 B
JavaScript

// This file is taken from Bootstrap and adapted for Bootlint.
'use strict';
const pkg = require('../package.json');
const year = new Date().getFullYear();
const stampTop =
`/*!
* Bootlint v${pkg.version} (${pkg.homepage})
* ${pkg.description}
* Copyright (c) 2014-${year} The Bootlint Authors
* Licensed under the MIT License (https://github.com/twbs/bootlint/blob/master/LICENSE).
*/
`;
process.stdout.write(stampTop);
process.stdin.pipe(process.stdout);