You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
522 B
21 lines
522 B
const pkg = require('../package.json');
|
|
|
|
const date = {
|
|
day: new Date().getDate(),
|
|
month: ('January February March April May June July August September October November December').split(' ')[new Date().getMonth()],
|
|
year: new Date().getFullYear(),
|
|
};
|
|
|
|
module.exports = `${`
|
|
/**
|
|
* Swiper ${pkg.version}
|
|
* ${pkg.description}
|
|
* ${pkg.homepage}
|
|
*
|
|
* Copyright 2014-${date.year} ${pkg.author}
|
|
*
|
|
* Released under the ${pkg.license} License
|
|
*
|
|
* Released on: ${date.month} ${date.day}, ${date.year}
|
|
*/
|
|
`.trim()}\n`;
|
|
|