v2.7.13: add igg banner

这个提交包含在:
AJ ONeal 2019-08-17 21:24:18 -06:00
父节点 ada2b9ccfe
当前提交 f3bae8580b
共有 2 个文件被更改,包括 30 次插入2 次删除

查看文件

@ -1,6 +1,6 @@
{
"name": "greenlock-express",
"version": "2.7.12",
"version": "2.7.13",
"description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.",
"main": "index.js",
"homepage": "https://greenlock.domains",
@ -12,7 +12,8 @@
"redirect-https": "^1.1.5"
},
"files": [
"lib"
"lib",
"scripts"
],
"trulyOptionalDependencies": {
"spdy": "^3.4.7"
@ -28,6 +29,7 @@
},
"scripts": {
"start": "node server.js ./config.js",
"postinstall": "node scripts/postinstall",
"test": "node test/greenlock.js"
},
"repository": {

26
scripts/postinstall 可执行文件
查看文件

@ -0,0 +1,26 @@
#!/usr/bin/env node
'use strict';
// BG WH \u001b[47m
// BOLD \u001b[1m
// RED \u001b[31m
// GREEN \u001b[32m
// RESET \u001b[0m
[ '',
'\u001b[31m===============================\u001b[0m',
'\u001b[31m==\u001b[0m Do you rely on Greenlock? \u001b[31m==\u001b[0m',
'\u001b[31m===============================\u001b[0m',
'',
"Hey! Let's Encrypt will \u001b[31mSTOP WORKING\u001b[0m with Greenlock v2 at the end of October,",
"and \u001b[31mWITHOUT YOUR HELP\u001b[0m we won't get the next release out in time.",
'',
"If Greenlock has saved you time and money, and taken stress out of your life,",
"or you just love it, please reach out to return the favor today:",
'',
'\u001b[31mSAVE GREENLOCK:\u001b[0m',
'https://indiegogo.com/at/greenlock',
''
].forEach(function (line) {
console.info(line);
});