Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
pigeon /
node_modules /
css-brunch /
Delete
Unzip
Name
Size
Permission
Date
Action
lib
[ DIR ]
drwxr-xr-x
2022-06-27 18:41
src
[ DIR ]
drwxr-xr-x
2022-06-27 18:41
.npmignore
75
B
-rw-r--r--
2013-01-15 17:04
CHANGELOG.md
503
B
-rw-r--r--
2013-03-19 06:25
README.md
325
B
-rw-r--r--
2012-02-20 17:53
package.json
1.48
KB
-rw-r--r--
2022-06-27 18:41
setup.js
1.77
KB
-rw-r--r--
2013-03-19 05:42
Save
Rename
var exec = require('child_process').exec; var sysPath = require('path'); var fs = require('fs'); // Cross-platform node.js postinstall & test script for coffeescript projects. var mode = process.argv[2]; var fsExists = fs.exists || sysPath.exists; var getBinaryPath = function(binary) { return sysPath.join('node_modules', '.bin', binary); }; var execute = function(path, params, callback) { if (callback == null) callback = function() {}; var command = path + ' ' + params; console.log('Executing', command); exec(command, function(error, stdout, stderr) { if (error != null) return process.stderr.write(stderr.toString()); console.log(stdout.toString()); }); }; var execNode = function(path, params, callback) { execute('node ' + getBinaryPath(path), params, callback); }; var togglePostinstall = function(add) { var pkg = require('./package.json'); if (add) { if (!pkg.scripts) pkg.scripts = {}; pkg.scripts.postinstall = 'node setup.js test'; } else if (pkg.scripts && pkg.scripts.postinstall) { delete pkg.scripts.postinstall; } fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n'); }; switch (mode) { // Remove `.postinstall` script to prevent stupid npm bugs. case 'prepublish': togglePostinstall(false); execute('coffee', '-o lib/ src/'); break; // Bring back `.postinstall` script. case 'postpublish': togglePostinstall(true); break; // Compile coffeescript for git users. case 'postinstall': fsExists(sysPath.join(__dirname, 'lib'), function(exists) { if (exists) return; execute('coffee', '-o lib/ src/'); }); break; // Run tests. case 'test': execNode('mocha', '--compilers coffee:coffee-script --require test/common.js --colors' ); break; }