Permalink
Browse files

Config: Remove grunt connect and watch tasks

  • Loading branch information...
1 parent 34db93f commit 00f6a0d0da354387e8eb40759172b027a3efe466 @tabalinas committed Apr 22, 2015
Showing with 3 additions and 36 deletions.
  1. +2 −34 Gruntfile.js
  2. +1 −2 package.json
View
@@ -81,41 +81,9 @@ module.exports = function(grunt) {
},
src: ["test/**/*.js"]
}
- },
- watch: {
- gruntfile: {
- files: "<%= jshint.gruntfile.src %>",
- tasks: ["jshint:gruntfile"]
- },
- src: {
- files: "<%= jshint.src.src %>",
- tasks: ["jshint:src", "qunit"]
- },
- css: {
- files: "styles/*.scss",
- tasks: ["sass", "autoprefixer"]
- },
- test: {
- files: "<%= jshint.test.src %>",
- tasks: ["jshint:test", "qunit"]
- }
- },
- connect: {
- server: {
- options: {
- hostname: "*",
- port: 9000
- }
- }
}
});
- // Default task.
- grunt.registerTask("default", ["jshint", "connect", "qunit", "clean", "sass", "autoprefixer", "concat", "uglify"]);
- grunt.registerTask("server", function() {
- grunt.log.warn("The `server` task has been deprecated. Use `grunt serve` to start a server.");
- grunt.task.run(["serve"]);
- });
- grunt.registerTask("serve", ["connect", "watch"]);
- grunt.registerTask("test", ["jshint", "qunit"]);
+ grunt.registerTask("default", ["jshint", "qunit", "clean", "sass", "autoprefixer", "concat", "uglify"]);
+ grunt.registerTask("test", ["qunit"]);
};
View
@@ -2,6 +2,7 @@
"name": "jssocials",
"version": "0.0.1",
"description": "jsSocials",
+ "homepage": "http://js-socials.com",
"keywords": [
"jquery-plugin",
"social-network",
@@ -23,12 +24,10 @@
"grunt-autoprefixer": "^3.0.0",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-concat": "^0.5.0",
- "grunt-contrib-connect": "^0.9.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-qunit": "^0.5.1",
"grunt-contrib-sass": "^0.9.2",
"grunt-contrib-uglify": "^0.7.0",
- "grunt-contrib-watch": "^0.6.1",
"jshint-stylish": "^1.0.0",
"load-grunt-tasks": "^2.0.0",
"time-grunt": "^1.0.0"

0 comments on commit 00f6a0d

Please sign in to comment.