Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
owncloud-prm /
core /
vendor /
snapjs /
Delete
Unzip
Name
Size
Permission
Date
Action
dist
[ DIR ]
drwxr-xr-x
2018-04-19 18:15
scripts
[ DIR ]
drwxr-xr-x
2018-04-19 18:15
src
[ DIR ]
drwxr-xr-x
2018-04-19 18:15
.jshintrc
108
B
-rw-r--r--
2018-04-19 18:15
.travis.yml
73
B
-rw-r--r--
2018-04-19 18:15
Gemfile
52
B
-rw-r--r--
2018-04-19 18:15
README.md
11.66
KB
-rw-r--r--
2018-04-19 18:15
gruntfile.js
2.63
KB
-rw-r--r--
2018-04-19 18:15
Save
Rename
module.exports = function(grunt) { var fs = require('fs'); var pkg = grunt.file.readJSON('package.json'); var dynamicWrites = function(){ // Update Readme Version var readme = grunt.file.read('README.md'); grunt.file.write('README.md', readme.replace(/v(.*?) /, 'v'+pkg.version+' ')); grunt.log.writeln("Updated Readme version number to "+pkg.version); }; grunt.initConfig({ pkg: pkg, sass: { dist: { options: { bundleExec: true, style: 'compressed', banner: "/* Snap.css v<%= pkg.version %> */" }, files: { 'dist/latest/snap.css': 'src/snap.scss' } } }, concat: { options: { banner: "/*! Snap.js v<%= pkg.version %> */\n" }, dist: { src: [ 'src/snap.js', ], dest: 'dist/latest/snap.js' } }, copy: { main: { files: [ // Version our latest files {src: ['dist/latest/snap.js'], dest: 'dist/<%= pkg.version %>/snap.js'}, {src: ['dist/latest/snap.css'], dest: 'dist/<%= pkg.version %>/snap.css'} ] } }, uglify: { options: { preserveComments: 'some' }, main: { files: { 'dist/latest/snap.min.js': ['dist/latest/snap.js'] } } }, jshint: { all: ['dist/latest/snap.js'] }, watch: { css: { files: 'src/*.scss', tasks: ['sass', 'copy', 'dynamicWrites'] }, scripts: { files: 'src/*.js', tasks: ['concat', 'jshint', 'uglify', 'copy', 'dynamicWrites'] } } }); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-sass'); grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-jshint'); // Register Everything grunt.registerTask('dynamicWrites', 'Writes variables to static files', dynamicWrites); grunt.registerTask('default', ['sass', 'concat', 'jshint', 'uglify', 'copy', 'dynamicWrites']); grunt.registerTask('develop', ['sass', 'concat', 'jshint', 'uglify', 'copy', 'dynamicWrites', 'watch']); };