diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a572fbe..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -plugin-deploy.sh -.svnignore -node_modules \ No newline at end of file diff --git a/.svnignore b/.svnignore deleted file mode 100644 index 05bb8ac..0000000 --- a/.svnignore +++ /dev/null @@ -1,6 +0,0 @@ -plugin-deploy.sh -Gruntfile.js -package.json -.git -.gitignore -node_modules \ No newline at end of file diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index fa89698..0000000 --- a/Gruntfile.js +++ /dev/null @@ -1,70 +0,0 @@ -'use strict'; -module.exports = function(grunt) { - var pkg = grunt.file.readJSON('package.json'); - - grunt.initConfig({ - // setting folder templates - dirs: { - css: 'assets/css', - js: 'assets/js', - less: 'assets/less' - }, - - // Compile all .less files. - less: { - - admin: { - files: { - '<%= dirs.css %>/admin/admin.css': '<%= dirs.less %>/admin/admin.less', - '<%= dirs.css %>/admin/profile-builder.css': '<%= dirs.less %>/admin/profile-builder.less', - '<%= dirs.css %>/front-end/front-end.css': '<%= dirs.less %>/front-end/front-end.less', - } - } - }, - - uglify: { - minify: { - files: { - '<%= dirs.js %>/*.min.js': ['<%= dirs.js %>/*.js'], - - - } - } - }, - - cssmin: { - options: { - mergeIntoShorthands: false, - roundingPrecision: -1 - }, - target: { - files: { - '<%= dirs.css %>/style.min.css': ['<%= dirs.css %>/style.css'], - } - } - }, - - watch: { - less: { - files: ['<%= dirs.less %>/admin/*.less', '<%= dirs.less %>/front-end/*.less' ], - tasks: ['less:admin'], - options: { - livereload: true - } - } - }, - - }); - - // Load NPM tasks to be used here - grunt.loadNpmTasks( 'grunt-contrib-less' ); - grunt.loadNpmTasks( 'grunt-contrib-watch' ); - grunt.loadNpmTasks( 'grunt-contrib-uglify' ); - grunt.loadNpmTasks( 'grunt-contrib-cssmin' ); - - grunt.registerTask('default', ['less']); - grunt.registerTask('release', [ - 'uglify', - 'cssmin' - ]); -}; \ No newline at end of file diff --git a/package.json b/package.json deleted file mode 100644 index 3f6179f..0000000 --- a/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "WP-User-Profile-Builder", - "version": "0.0.1", - "description": "Open Source User Profile Management Platform for Wordpress", - "author": "Asaquzzaman Mishu", - "license": "GPL", - "private": true, - "devDependencies": { - "grunt": "^1.0.1", - "grunt-contrib-less": "^0.11.4", - "grunt-contrib-watch": "^0.6.1", - "grunt-contrib-uglify": "^2.3.0", - "grunt-contrib-cssmin": "^2.0.0" - } -} \ No newline at end of file