Skip to content

Commit b34456e

Browse files
Updated devDependencies.
1 parent 2763b77 commit b34456e

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

Gruntfile.js

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module.exports = function(grunt) {
22

3+
require('google-closure-compiler').grunt(grunt);
4+
35
// ** Languages **************************************************************
46

57
var lang='*';
@@ -412,7 +414,7 @@ module.exports = function(grunt) {
412414
function controlsRAWRelease(files) {
413415
return {
414416
clean: [ releaseBuild('controls-raw.js') ],
415-
closurecompiler: {
417+
"closure-compiler": {
416418
files: compilerfiles('controls-raw.js',files),
417419
options: {
418420
compilation_level: 'SIMPLE_OPTIMIZATIONS',
@@ -582,7 +584,7 @@ module.exports = function(grunt) {
582584
' * <%= pkg.lib_hammerjs.homepage %>\n' +
583585
' *\n' +
584586
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.lib_hammerjs.author.name %> <<%= pkg.lib_hammerjs.author.email %>>;\n' +
585-
' * Licensed under the <%= _.pluck(pkg.lib_hammerjs.licenses, "type").join(", ") %> license */\n\n';
587+
' * Licensed under the <%= _.map(pkg.lib_hammerjs.licenses, "type").join(", ") %> license */\n\n';
586588

587589
registerTask('lib_hammerjs-debug', {
588590
clean: [ debugBuild('libs/lib_hammerjs/') ],
@@ -595,7 +597,7 @@ module.exports = function(grunt) {
595597

596598
registerTask('lib_hammerjs-release', {
597599
clean: [ releaseBuild('libs/lib_hammerjs/') ],
598-
closurecompiler: {
600+
"closure-compiler": {
599601
files: compilerfiles('libs/lib_hammerjs/hammer.js','lib_hammerjs'),
600602
options: {
601603
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -645,7 +647,7 @@ module.exports = function(grunt) {
645647

646648
registerTask('lib_knockout-release', {
647649
clean: [ releaseBuild('libs/lib_knockout/') ],
648-
closurecompiler: {
650+
"closure-compiler": {
649651
files: compilerfiles('libs/lib_knockout/knockout.js','lib_knockout'),
650652
options: {
651653
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -674,7 +676,7 @@ module.exports = function(grunt) {
674676

675677
registerTask('lib_FontLoader-release', {
676678
clean: [ releaseBuild('libs/lib_FontLoader/') ],
677-
closurecompiler: {
679+
"closure-compiler": {
678680
files: compilerfiles('libs/lib_FontLoader/FontLoader.js','lib_FontLoader'),
679681
options: {
680682
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -722,7 +724,7 @@ module.exports = function(grunt) {
722724

723725
registerTask('loader-release', {
724726
clean: [ releaseBuild('loader.js') ],
725-
closurecompiler: {
727+
"closure-compiler": {
726728
files: compilerfiles('loader.js','loader'),
727729
options: {
728730
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -742,7 +744,7 @@ module.exports = function(grunt) {
742744

743745
registerTask('loaderbar-release', {
744746
clean: [ releaseBuild('loader-bar.js') ],
745-
closurecompiler: {
747+
"closure-compiler": {
746748
files: compilerfiles('loader-bar.js',['loader','loaderbar']),
747749
options: {
748750
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -762,7 +764,7 @@ module.exports = function(grunt) {
762764

763765
registerTask('loaderpercent-release', {
764766
clean: [ releaseBuild('loader-percent.js') ],
765-
closurecompiler: {
767+
"closure-compiler": {
766768
files: compilerfiles('loader-percent.js',['loader','loaderpercent']),
767769
options: {
768770
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -782,7 +784,7 @@ module.exports = function(grunt) {
782784

783785
registerTask('loaderimage-release', {
784786
clean: [ releaseBuild('loader-image.js') ],
785-
closurecompiler: {
787+
"closure-compiler": {
786788
files: compilerfiles('loader-image.js',['loader','loaderimage']),
787789
options: {
788790
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -864,7 +866,7 @@ module.exports = function(grunt) {
864866

865867
registerTask('ng_wineight-release', {
866868
clean: [ releaseBuild('libs/ng_wineight/') ],
867-
closurecompiler: {
869+
"closure-compiler": {
868870
files: compilerfiles('libs/ng_wineight/wineight.js','ng_wineight'),
869871
options: {
870872
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -933,7 +935,7 @@ module.exports = function(grunt) {
933935

934936
registerTask('ng_winxp-release', {
935937
clean: [ releaseBuild('libs/ng_winxp/') ],
936-
closurecompiler: {
938+
"closure-compiler": {
937939
files: compilerfiles('libs/ng_winxp/winxp.js','ng_winxp'),
938940
options: {
939941
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -1002,7 +1004,7 @@ module.exports = function(grunt) {
10021004

10031005
registerTask('ng_wireframe-release', {
10041006
clean: [ releaseBuild('libs/ng_wireframe/') ],
1005-
closurecompiler: {
1007+
"closure-compiler": {
10061008
files: compilerfiles('libs/ng_wireframe/wireframe.js','ng_wireframe'),
10071009
options: {
10081010
compilation_level: 'SIMPLE_OPTIMIZATIONS'
@@ -1106,7 +1108,6 @@ module.exports = function(grunt) {
11061108

11071109
// Load plugins
11081110
grunt.loadNpmTasks('grunt-contrib-jshint');
1109-
grunt.loadNpmTasks('grunt-closurecompiler');
11101111
grunt.loadNpmTasks('grunt-contrib-copy');
11111112
grunt.loadNpmTasks('grunt-contrib-concat');
11121113
grunt.loadNpmTasks('grunt-banner');

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"url" : "https://github.com/controlsjs/controls.js.git"
1010
},
1111
"devDependencies": {
12-
"grunt": "~0.4.2",
13-
"grunt-contrib-jshint": "~0.6.3",
14-
"grunt-closurecompiler": "~0.9.9",
15-
"grunt-contrib-copy": "~0.5.0",
16-
"grunt-contrib-concat": "~0.3.0",
17-
"grunt-contrib-clean": "~0.5.0",
12+
"grunt": "~1.6.1",
13+
"grunt-contrib-jshint": "~3.2.0",
14+
"grunt-contrib-copy": "~1.0.0",
15+
"grunt-contrib-concat": "~2.1.0",
16+
"grunt-contrib-clean": "~2.0.1",
1817
"grunt-banner": "~0.6.0",
19-
"grunt-contrib-cssmin": "~0.12.3"
18+
"grunt-contrib-cssmin": "~5.0.0",
19+
"google-closure-compiler": "~20250709.0.0"
2020
},
2121
"license": "GPL-3.0",
2222
"licenses": [

0 commit comments

Comments
 (0)