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 /
coffeelint /
Delete
Unzip
Name
Size
Permission
Date
Action
bin
[ DIR ]
drwxr-xr-x
2022-06-27 18:41
doc
[ DIR ]
drwxr-xr-x
2022-06-27 18:41
lib
[ DIR ]
drwxr-xr-x
2022-06-27 18:41
node_modules
[ DIR ]
drwxr-xr-x
2022-06-27 18:41
.coffeelintignore
27
B
-rw-r--r--
2016-10-03 01:14
.npmignore
53
B
-rw-r--r--
2016-10-03 01:14
3rd_party_rules.md
2.06
KB
-rw-r--r--
2016-10-03 01:14
Cakefile
2.29
KB
-rw-r--r--
2017-10-02 05:55
LICENSE
1.04
KB
-rw-r--r--
2014-02-18 22:10
README.md
3.39
KB
-rw-r--r--
2017-07-13 11:37
generated_coffeelint.json
2.39
KB
-rw-r--r--
2016-10-03 01:14
package.json
2.21
KB
-rw-r--r--
2022-06-27 18:41
vowsrunner.js
94
B
-rwxr-xr-x
2017-10-02 05:55
Save
Rename
fs = require 'fs' glob = require 'glob' path = require 'path' browserify = require 'browserify' CoffeeScript = require 'coffeescript' { exec } = require 'child_process' copySync = (src, dest) -> fs.writeFileSync dest, fs.readFileSync(src) coffeeSync = (input, output) -> coffee = fs.readFileSync(input).toString() fs.writeFileSync output, CoffeeScript.compile(coffee) task 'compile', 'Compile Coffeelint', -> console.log 'Compiling Coffeelint...' fs.mkdirSync 'lib' unless fs.existsSync 'lib' invoke 'compile:browserify' invoke 'compile:commandline' task 'compile:commandline', 'Compiles commandline.js', -> coffeeSync 'src/commandline.coffee', 'lib/commandline.js' coffeeSync 'src/configfinder.coffee', 'lib/configfinder.js' coffeeSync 'src/cache.coffee', 'lib/cache.js' coffeeSync 'src/ruleLoader.coffee', 'lib/ruleLoader.js' fs.mkdirSync 'lib/reporters' unless fs.existsSync 'lib/reporters' for src in glob.sync('reporters/*.coffee', { cwd: 'src' }) # Slice the "coffee" extension of the end and replace with js dest = src[...-6] + 'js' coffeeSync "src/#{src}", "lib/#{dest}" task 'compile:browserify', 'Uses browserify to compile coffeelint', -> opts = standalone: 'coffeelint' b = browserify(opts) b.add [ './src/coffeelint.coffee' ] b.transform require('coffeeify') b.bundle().pipe fs.createWriteStream('lib/coffeelint.js') task 'prepublish', 'Prepublish', -> { npm_config_argv } = process.env if npm_config_argv? and JSON.parse(npm_config_argv).original[0] is 'install' return copySync 'package.json', '.package.json' packageJson = require './package.json' delete packageJson.dependencies.browserify delete packageJson.dependencies.coffeeify delete packageJson.scripts.install fs.writeFileSync 'package.json', JSON.stringify(packageJson, undefined, 2) invoke 'compile' task 'postpublish', 'Postpublish', -> # Revert the package.json back to it's original state exec 'git checkout ./package.json', (err) -> if err console.error('Error reverting package.json: ' + err) task 'publish', 'publish', -> copySync '.package.json', 'package.json' task 'install', 'Install', -> unless require("fs").existsSync("lib/commandline.js") invoke 'compile'