Permalink
Browse files

Tusk runner updates

Installed grunt-contrib-cssmin package,
Registred and added cssmin and uglify packages
  • Loading branch information...
srkela committed Dec 27, 2017
1 parent e41a71b commit c8fc0835130c858057227b291c923e2134f1a2a9
View
@@ -83,7 +83,7 @@ module.exports = function (grunt) {
},
concat: {
options: {
sourceMap: false,
sourceMap: true,
stripBanners: true,
banner: banner
},
@@ -124,6 +124,17 @@ module.exports = function (grunt) {
}
}
},
cssmin: {
prod: {
options: {
banner: banner,
sourceMapIncludeSources: true
},
files: {
'dist/imagerJs.min.css': ['dist/imagerJs.css']
}
}
},
jsdoc: {
dist: {
src: 'src/**/*.js',
@@ -152,6 +163,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-http-server');
grunt.loadNpmTasks('grunt-open');
@@ -167,6 +179,9 @@ module.exports = function (grunt) {
'copy',
'jshint',
'concat',
'uglify',
'cssmin',
'open',
'jsdoc',
'platformOpen'
]);
View
@@ -1,4 +1,4 @@
/*! imagerJs - 1.0.8 */
/*! ImagerJs - 1.0.8 */
.modaljs-overlay {
position: fixed;
@@ -579,4 +579,5 @@ input#imager-quality-custom {
border: 1px solid #BD6E6E;
padding: 9px;
background: #FFDADA;
}
}
/*# sourceMappingURL=imagerJs.css.map */
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -10,8 +10,8 @@
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="lib/redactor/redactor.js"></script>
<script src="../dist/imagerJs.redactor.js"></script>
<link href="../dist/imagerJs.css" rel="stylesheet">
<script src="../dist/imagerJs.redactor.min.js"></script>
<link href="../dist/imagerJs.min.css" rel="stylesheet">
</head>
<body>
View
@@ -10,6 +10,7 @@
"grunt-cli": "^0.1.13",
"grunt-contrib-concat": "^0.5.1",
"grunt-contrib-copy": "^0.8.0",
"grunt-contrib-cssmin": "^2.2.1",
"grunt-contrib-jshint": "^0.11.0",
"grunt-contrib-uglify": "^0.8.0",
"grunt-contrib-watch": "^0.6.1",

0 comments on commit c8fc083

Please sign in to comment.