bootlint/build/stamp.js

20 строки
467 B
JavaScript
Исходник Обычный вид История

2017-11-21 12:01:19 +03:00
// This file is taken from Bootstrap and adapted for Bootlint.
'use strict';
const pkg = require('../package.json');
2017-11-21 12:01:19 +03:00
const year = new Date().getFullYear();
2017-11-21 12:01:19 +03:00
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).
*/
2017-11-21 12:01:19 +03:00
`;
2017-11-21 12:01:19 +03:00
process.stdout.write(stampTop);
process.stdin.pipe(process.stdout);