summaryrefslogtreecommitdiffstats
path: root/node_modules/nodemon/bin
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
commit81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 (patch)
tree8b959d50c5a614cbf9fcb346ed556140374d4b6d /node_modules/nodemon/bin
parent1870f3fdf43707a15fda0f609a021f516f45eb63 (diff)
downloadwebsite_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.gz
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.bz2
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.zip
rm node_modules
Diffstat (limited to 'node_modules/nodemon/bin')
-rwxr-xr-xnode_modules/nodemon/bin/nodemon.js16
-rwxr-xr-xnode_modules/nodemon/bin/postinstall.js29
2 files changed, 0 insertions, 45 deletions
diff --git a/node_modules/nodemon/bin/nodemon.js b/node_modules/nodemon/bin/nodemon.js
deleted file mode 100755
index 31aff34..0000000
--- a/node_modules/nodemon/bin/nodemon.js
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env node
-
-const cli = require('../lib/cli');
-const nodemon = require('../lib/');
-const options = cli.parse(process.argv);
-
-nodemon(options);
-
-const fs = require('fs');
-
-// checks for available update and returns an instance
-const pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json'));
-
-if (pkg.version.indexOf('0.0.0') !== 0 && options.noUpdateNotifier !== true) {
- require('update-notifier')({ pkg }).notify();
-}
diff --git a/node_modules/nodemon/bin/postinstall.js b/node_modules/nodemon/bin/postinstall.js
deleted file mode 100755
index 70d2a25..0000000
--- a/node_modules/nodemon/bin/postinstall.js
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env node
-
-function main() {
- if (process.env.SUPPRESS_SUPPORT) {
- return;
- }
-
- try {
- const Configstore = require('configstore');
- const pkg = require(__dirname + '/../package.json');
- const now = Date.now();
-
- var week = 1000 * 60 * 60 * 24 * 7;
-
- // create a Configstore instance with an unique ID e.g.
- // Package name and optionally some default values
- const conf = new Configstore(pkg.name);
- const last = conf.get('lastCheck');
-
- if (!last || now - week > last) {
- console.log('\u001b[32mLove nodemon? You can now support the project via the open collective:\u001b[22m\u001b[39m\n > \u001b[96m\u001b[1mhttps://opencollective.com/nodemon/donate\u001b[0m\n');
- conf.set('lastCheck', now);
- }
- } catch (e) {
- console.log('\u001b[32mLove nodemon? You can now support the project via the open collective:\u001b[22m\u001b[39m\n > \u001b[96m\u001b[1mhttps://opencollective.com/nodemon/donate\u001b[0m\n');
- }
-}
-
-main();