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

Commit 929aadd

Browse files
committed
Remove compiled resources. Update move dependencies at top level of gui.ajax.
1 parent 7d82c50 commit 929aadd

22 files changed

+5417
-4960
lines changed

core/src/plugins/gui.ajax/Gruntfile.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = function(grunt) {
55
mangle: false,
66
compress: {
77
hoist_funs: false
8-
},
8+
}
99
},
1010
js: {
1111
files: {
@@ -93,10 +93,10 @@ module.exports = function(grunt) {
9393
'res/js/ui/prototype/class.ActivityMonitor.js',
9494
'res/js/ui/prototype/class.AjxpReactComponent.js',
9595
'res/js/ui/prototype/class.PydioUI.js',
96-
'res/js/core/Pydio.js',
96+
'res/js/core/Pydio.js'
9797
]
98-
},
99-
},
98+
}
99+
}
100100
},
101101

102102
babel: {
@@ -106,23 +106,23 @@ module.exports = function(grunt) {
106106
dist: {
107107
files: [
108108
{
109-
mode: { loose : true, },
109+
mode: { loose : true },
110110
expand: true,
111111
cwd: 'res/js/es6/',
112112
src: ['**/*.es6'],
113113
dest: 'res/js/core/',
114114
ext: '.js'
115-
},
116-
],
117-
},
115+
}
116+
]
117+
}
118118
},
119119

120120
browserify: {
121121
dist: {
122122
files: {
123-
'bundle.js': 'export.js'
124-
},
125-
},
123+
'res/js/vendor/nodejs/bundle.js': 'res/js/vendor/nodejs/export.js'
124+
}
125+
}
126126

127127
},
128128

@@ -212,20 +212,20 @@ module.exports = function(grunt) {
212212
'res/js/ui/prototype/class.ActivityMonitor.js',
213213
'res/js/ui/prototype/class.AjxpReactComponent.js',
214214
'res/js/ui/prototype/class.PydioUI.js',
215-
'res/js/core/Pydio.js',
215+
'res/js/core/Pydio.js'
216216
],
217217
tasks: ['uglify'],
218218
options: {
219-
spawn: false,
220-
},
221-
},
222-
},
223-
})
219+
spawn: false
220+
}
221+
}
222+
}
223+
});
224224

225-
grunt.loadNpmTasks('grunt-browserify')
226-
grunt.loadNpmTasks('grunt-babel')
227-
grunt.loadNpmTasks('grunt-contrib-uglify')
228-
grunt.loadNpmTasks('grunt-contrib-watch')
229-
grunt.registerTask('default', ['babel','uglify'])
230-
}
225+
grunt.loadNpmTasks('grunt-browserify');
226+
grunt.loadNpmTasks('grunt-babel');
227+
grunt.loadNpmTasks('grunt-contrib-uglify');
228+
grunt.loadNpmTasks('grunt-contrib-watch');
229+
grunt.registerTask('default', ['babel','uglify', 'browserify']);
230+
};
231231

core/src/plugins/gui.ajax/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,19 @@
99
"author": "",
1010
"license": "BSD-2-Clause",
1111
"dependencies": {
12-
"grunt": "~0.4.5"
12+
"grunt": "~0.4.5",
13+
"chart.js": "^1.0.2",
14+
"material-ui": "^0.7.5",
15+
"react": "0.13.3",
16+
"react-chartjs":"git://github.com/dehbmarques/react-chartjs.git#master",
17+
"react-grid-layout": "^0.8.5",
18+
"react-infinite": "^0.3.4",
19+
"react-tap-event-plugin": "^0.1.7",
20+
"reactify": "^1.1.1",
21+
"react-select":"^0.6.5",
22+
"react-dnd":"^1.1.5",
23+
"lodash":"^3.10.1",
24+
"classnames":"~2.1.3"
1325
},
1426
"devDependencies": {
1527
"grunt-babel": "~5.0.3",

0 commit comments

Comments
 (0)