Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
chore(build): cleanup test-related Grunt deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Nicholus committed Aug 3, 2016
1 parent 4d797bd commit 20f904c
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 236 deletions.
17 changes: 3 additions & 14 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ module.exports = function(grunt) {

require("time-grunt")(grunt);

var allBrowsers, async, browsers, configs, fineUploaderModules, fs, name, path, paths, pkg, spawn, tasks, utils, uuid;
var async, configs, fs, name, path, paths, pkg, tasks, utils, uuid;

fs = require("fs");
uuid = require("uuid");
async = require("async");
path = require("path");
spawn = require("child_process").spawn;
utils = require("./lib/grunt/utils");
configs = require("./lib/grunt/configs");
tasks = "./lib/grunt/tasks";
Expand All @@ -29,31 +27,22 @@ module.exports = function(grunt) {
build: "./_build",
src: "./client",
html: "./client/html/templates",
docs: "./docs",
test: "./test"
docs: "./docs"
};
allBrowsers = require("./lib/browsers");
browsers = allBrowsers.browsers;
fineUploaderModules = require("./lib/modules");
grunt.initConfig({
pkg: pkg,
paths: paths,
compress: configs.compress(paths),
concat: configs.concat(paths),
copy: configs.copy(paths),
cssmin: configs.cssmin(paths),
nodestatic: configs["static"](paths),
aws_s3: configs.s3(paths.dist, paths.build, pkg.version),
shell: configs.shell(paths),
strip_code: configs.stripcode(paths),
uglify: configs.uglify(paths),
usebanner: configs.banner(paths),
version: configs.version(pkg),
watch: configs.watch(paths),
tests: {
local: "./lib/karma/karma-local.conf.js",
travis: "./lib/karma/karma-travis.conf.js"
}
watch: configs.watch(paths)
});

for (name in pkg.devDependencies) {
Expand Down
15 changes: 0 additions & 15 deletions lib/grunt/configs/static.js

This file was deleted.

22 changes: 0 additions & 22 deletions lib/grunt/configs/watch.js

This file was deleted.

6 changes: 0 additions & 6 deletions lib/grunt/tasks/server.js

This file was deleted.

90 changes: 0 additions & 90 deletions lib/grunt/tasks/test.js

This file was deleted.

31 changes: 0 additions & 31 deletions lib/grunt/tasks/tests.js

This file was deleted.

41 changes: 0 additions & 41 deletions lib/grunt/utils.coffee

This file was deleted.

11 changes: 0 additions & 11 deletions lib/travis/travis_print_logs.sh

This file was deleted.

6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@
"grunt-contrib-copy": "0.4.1",
"grunt-contrib-cssmin": "0.6.1",
"grunt-contrib-uglify": "0.2.2",
"grunt-contrib-watch": "0.4.4",
"grunt-karma": "0.6.2",
"grunt-nodestatic": "0.1.2",
"grunt-open": "0.2.2",
"grunt-shell": "0.3.1",
"grunt-strip-code": "0.1.2",
Expand All @@ -63,10 +60,7 @@
"jshint": "2.9.2",
"karma": "0.10.10",
"karma-firefox-launcher": "0.1.2",
"karma-ievms": "0.0.4",
"karma-mocha": "0.1.0",
"karma-opera-launcher": "0.1.0",
"karma-safari-launcher": "0.1.1",
"karma-spec-reporter": "0.0.13",
"node-static": "0.7.8 ",
"npm": "^2.1.17",
Expand Down

0 comments on commit 20f904c

Please sign in to comment.