v2.7.13: add igg banner

This commit is contained in:
AJ ONeal 2019-08-17 21:24:18 -06:00
parent ada2b9ccfe
commit f3bae8580b
2 changed files with 30 additions and 2 deletions

View File

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

26
scripts/postinstall Executable file
View File

@ -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);
});