summaryrefslogtreecommitdiff
path: root/Gruntfile.js
AgeCommit message (Collapse)Author
2015-10-14Add img/ to Gruntfile copy taskJuuso Lapinlampi
Grunt would not copy `img/` to `dist/img/`, because the task of copying images was previously on the now-removed imagemin task. This bug was introduced in commit 90e6b7b.
2015-10-13Remove grunt-contrib-htmlmin HTML minificationJuuso Lapinlampi
The benefits of HTML minification are too small and outweighted by the benefits of not having to deal with yet another dependency in Pomf's code. `Vary: Accept-Encoding` on the server is the recommended way to approach this, also for clarity and debugging without browser consoles. We don't need this.
2015-10-13Remove grunt-contrib-imagemin image minificationJuuso Lapinlampi
Ever since liberating images in c76f70c, there's no really a need to minify images. Furthermore, the dependency update in 6ef710a changed PNG minification to be lossless, so most of the benefits were lost (because our images are already compressed in the repository). We don't need this anymore.
2015-10-13Remove all JSHint tools and headersJuuso Lapinlampi
JSHint is "deprecated" in favor of ESLint. Personally I have not used JSHint ever since switching to ESLint. Vague OK from ewhal@
2015-09-27Remove Gruntfile cssmin task banner optionJuuso Lapinlampi
The banner option was removed in grunt-contrib-cssmin v0.11.0. This removes the dead config option.
2015-09-26Indent Gruntfile uglify task banner to two spacesJuuso Lapinlampi
Improves readability and consistency.
2015-09-26Add new Catalan translations to Gruntfile buildJuuso Lapinlampi
Previously, links to Catalan FAQ and others would be broken because the generated files would not exist. This is like a hack. Hopefully someone will soon tell me how to organize these pages to subfolders to regain my sanity.
2015-09-26Rename ca.swig as indexca.swigJuuso Lapinlampi
ca.swig is confusing and difficult to find. This commit creates consistency with other pages until someone more knowledgeable person tells me how to sort these to /pages/ca/ with Gruntfile.
2015-09-23Add JS source location for LibreJSEliot Whalan
2015-09-23Increase max_upload_size to 128MiBEliot Whalan
2015-09-23Merge branch 'update-depends'Eliot Whalan
2015-09-23Update Gruntfile to work with updated dependenciesEliot Whalan
2015-09-22Change MIT to expat license in GruntfileEliot Whalan
2015-09-20Move JSHint task away from default/dist to testWubTheCaptain
It should not be fatal to fail the build process if there's a syntax error somewhere. Users don't need to care about that too much, only developers should.
2015-09-20Remove Gruntfile from JSHint testingWubTheCaptain
There's no sense to test the Gruntfile at this time, because it will always fail to module.exports which works as intended.
2015-09-20Indent Gruntfile from tabs to two spacesWubTheCaptain
This creates consistency with the project's style.
2015-09-20Add undef: true check to Gruntfile's JSHint taskWubTheCaptain
This should also fix the syntax, which fixes a build failure.
2015-09-20Add all Javascript files to JSHint taskpantsucat
2015-09-20Add jshint to grunt.registerTaskpantsucat
2015-09-20Add jshint grunt task and dependencypantsucat
2015-09-19Refactor banner for improved readabilitypantsucat
2015-09-19Enable 'screwIE8' option for UglifyJS taskWubTheCaptain
Considering how IE11 too has difficulties working right now, there's no interest to support broken browsers. OK pantsucat
2015-09-19Add LibreJS compatibilitypantsucat
2015-09-19Fix whitespace and restore PSR-2 styleWubTheCaptain
2015-09-18Add more translations to catalanpantsucat
2015-09-17Add a version of the site without JavaScriptpantsucat
2015-09-15Change production to false in Gruntfile.jspantsucat
2015-09-15Add other.swig to Gruntfile.js. Change site url to pantsu.catpantsucat
2015-09-15Increased max_upload_size in Gruntfile.js and reverted changed to ↵pantsucat
pages/upload_form.swig
2015-06-25Add max upload size to gruntfileKieran Harkin
2015-02-05Minify output HTML codecenci0
- Minify HTML pages (using `grunt-contrib-htmlmin`) - Fix minor display error (force encode of HTML entity)
2013-10-31Add package.json and Gruntfile.jsPeter Lejeck