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

Commit

Permalink
Remove compiled resources. Update move dependencies at top level of g…
Browse files Browse the repository at this point in the history
…ui.ajax.
  • Loading branch information
cdujeu committed Oct 16, 2015
1 parent 7d82c50 commit 929aadd
Show file tree
Hide file tree
Showing 22 changed files with 5,417 additions and 4,960 deletions.
46 changes: 23 additions & 23 deletions core/src/plugins/gui.ajax/Gruntfile.js
Expand Up @@ -5,7 +5,7 @@ module.exports = function(grunt) {
mangle: false,
compress: {
hoist_funs: false
},
}
},
js: {
files: {
Expand Down Expand Up @@ -93,10 +93,10 @@ module.exports = function(grunt) {
'res/js/ui/prototype/class.ActivityMonitor.js',
'res/js/ui/prototype/class.AjxpReactComponent.js',
'res/js/ui/prototype/class.PydioUI.js',
'res/js/core/Pydio.js',
'res/js/core/Pydio.js'
]
},
},
}
}
},

babel: {
Expand All @@ -106,23 +106,23 @@ module.exports = function(grunt) {
dist: {
files: [
{
mode: { loose : true, },
mode: { loose : true },
expand: true,
cwd: 'res/js/es6/',
src: ['**/*.es6'],
dest: 'res/js/core/',
ext: '.js'
},
],
},
}
]
}
},

browserify: {
dist: {
files: {
'bundle.js': 'export.js'
},
},
'res/js/vendor/nodejs/bundle.js': 'res/js/vendor/nodejs/export.js'
}
}

},

Expand Down Expand Up @@ -212,20 +212,20 @@ module.exports = function(grunt) {
'res/js/ui/prototype/class.ActivityMonitor.js',
'res/js/ui/prototype/class.AjxpReactComponent.js',
'res/js/ui/prototype/class.PydioUI.js',
'res/js/core/Pydio.js',
'res/js/core/Pydio.js'
],
tasks: ['uglify'],
options: {
spawn: false,
},
},
},
})
spawn: false
}
}
}
});

grunt.loadNpmTasks('grunt-browserify')
grunt.loadNpmTasks('grunt-babel')
grunt.loadNpmTasks('grunt-contrib-uglify')
grunt.loadNpmTasks('grunt-contrib-watch')
grunt.registerTask('default', ['babel','uglify'])
}
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-babel');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['babel','uglify', 'browserify']);
};

14 changes: 13 additions & 1 deletion core/src/plugins/gui.ajax/package.json
Expand Up @@ -9,7 +9,19 @@
"author": "",
"license": "BSD-2-Clause",
"dependencies": {
"grunt": "~0.4.5"
"grunt": "~0.4.5",
"chart.js": "^1.0.2",
"material-ui": "^0.7.5",
"react": "0.13.3",
"react-chartjs":"git://github.com/dehbmarques/react-chartjs.git#master",
"react-grid-layout": "^0.8.5",
"react-infinite": "^0.3.4",
"react-tap-event-plugin": "^0.1.7",
"reactify": "^1.1.1",
"react-select":"^0.6.5",
"react-dnd":"^1.1.5",
"lodash":"^3.10.1",
"classnames":"~2.1.3"
},
"devDependencies": {
"grunt-babel": "~5.0.3",
Expand Down

0 comments on commit 929aadd

Please sign in to comment.