aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
AgeCommit message (Collapse)AuthorFilesLines
2017-09-29Remove grunt-saucelabs and Grunt.XhmikosR1-29/+0
2017-09-28Lint docs js too and use `strict consistently. (#24160)XhmikosR1-2/+2
2017-06-14Use localhost because Win Edge block loopback accessJohann-S1-1/+1
2017-04-20Build system overhaul.Bardi Harborow1-294/+2
2017-03-21More config tweaks.Bardi Harborow1-10/+1
2017-02-25Move Jekyll to npm script.Bardi Harborow1-16/+8
2017-01-23Move htmllint to npm script.Bardi Harborow1-21/+4
2017-01-04Move node-sass to npm script and drop Ruby Sass.Bardi Harborow1-10/+9
2017-01-01Update copyright years to 2017Nuno Arruda1-2/+2
2016-12-31Change remaining JS files to comply with ESLint config.Bardi Harborow1-42/+41
2016-12-24Move uglifyjs to npm script.Bardi Harborow1-20/+8
2016-12-23Move clean-css to npm scripts.Bardi Harborow1-32/+8
2016-12-23Move scss-lint to npm scripts.Bardi Harborow1-16/+8
2016-12-22Remove IE9 browser hacks. (#21393)Bardi Harborow1-1/+0
2016-12-21Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)Mark Otto1-1/+1
* remove the $enable-flex variable option * remove bootstrap-flex.css dist file and it's grunt task * remove the separate flex css file for docs; it's all the same now * remove flexbox docs (porting some to the main grid docs in next commit) * clean up few grid docs bits to simplify copy, start to mention flexbox * port relevant flexbox-grid.md content to grid.md - clean up mixins - update how it works section - bring over sizing and alignment sections * remove the $enable-flex from the options.md page * update lead paragraph to mention flexbox * update migration to mention loss of ie9 support * remove mention of flexbox dist file * clarify IE support * making a note * remove flexbox variant mentions from component docs - updates docs for media object, navs, list group, and cards to consolidate docs - no more need to callout flexbox variants since it's now the default * remove $enable-flex if/else from sass files * remove flex dist files * update scss lint property order to account for flex properties * linting * change to numberless classes for autosizing, wrap in highlighting div * bump gruntfile and postcss to ie10 * redo intro sections * rearrange * phew, redo hella grid docs - rearrange all the things - consolidate some bits * remove reference to flexbox mode * more border action for demo * Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-04Travis build infrastructure refresh. (#21108)Bardi Harborow1-4/+1
2016-11-26Tweak jQuery-not-found error message to mention required ordering (#19024)Stephanie Purvis1-1/+1
2016-10-09Update dependencies, including Babel to v6 and zeroUnits fix.Bardi Harborow1-11/+6
2016-10-03Fix broken/redirected links, moving to HTTPS where possible. (#20557)Bardi Harborow1-1/+1
2016-10-02Comment that out for now since it's causing errorsMark Otto1-1/+1
2016-10-02Ports changes from #20258 to v4 (#20828)Mark Otto1-0/+1
2016-09-11Update gruntfile to compile the Sass extras (flex, grid, and reboot) as part ↵Mark Otto1-1/+1
of the dist-css task (#20682)
2016-07-26Enable flexbox grid CSS on our docs pageMark Otto1-2/+9
- Creates new flexbox grid Sass file in our docs assets - Updates the Gruntfile to compile said new Sass file and minify the output - Update notice on flexbox docs page for how it works - Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features)
2016-07-14Add HTMLHint to the build; fixes #20297 (#20301)Chris Rebert1-1/+4
[skip sauce]
2016-06-29Update devDependencies.XhmikosR1-4/+4
Only grunt-saucelabs is left in order to update grunt to v1.x.
2016-06-28Support jQuery v3 in Bootstrap v4 (#20191)Chris Rebert1-2/+2
* bower.json, package.json: Extend jQuery version ranges to include v3 * NuGet: Bump jQuery to v3.0.0.1 * Docs+Examples: Update jQuery to v3.0.0 * Use jQuery v3.0.0 for JS unit tests * Update jqueryVersionCheck to allow jQuery v3.x.x
2016-06-27Allow PRs to be previewed at http://preview.twbsapps.com (#20179)Chris Rebert1-6/+10
2016-06-26Fix docs asset file paths in /grunt/configBridge.json (#20178)Chris Rebert1-1/+1
Previously, when running the docs locally, the site, rooted at: http://localhost:9001/ would reference docs assets using relative URLs such as: /../assets/js/vendor/anchor.min.js which is equivalent to: http://localhost:9001/../assets/js/vendor/anchor.min.js which is nonsense, since the root directory has no parent directory. Apparently browsers silently ignore this extra '..', hence why this wasn't noticed until now. But if you adjust Jekyll's `baseurl` setting, this mistake causes incorrect URLs to get generated. This commit corrects the problem by removing the extra '../' from the paths. These paths are also referenced in the Gruntfile, where the fix actually allows us to simplify the code. Previously, in the Gruntfile, we were doing, e.g.: path.join('./docs/assets', '../assets/js/vendor/anchor.min.js') which calculates to: ./docs/assets/../assets/js/vendor/anchor.min.js which can be simplified to: ./docs/assets/js/vendor/anchor.min.js So we can remove the '/assets' suffix from the left argument and the '../' prefix from the right argument and still obtain the same result.
2016-06-20Replace grunt-postcss with postcss-cli (#20140)Chris Rebert1-38/+8
Refs #19990 Continues the degruntification process. Also removes mq4-hover-shim for now, since it doesn't yet implement the standard PostCSS plugin interface.
2016-06-10Strip out UMD & CJS in favor of ES6 modules (#20072)Chris Rebert1-30/+1
2016-06-04Remove unused exec:npmUpdate Grunt task (#20074)Chris Rebert1-3/+0
[skip sauce] [skip validator]
2016-06-04Kill the grunt-jscs middleman; use JSCS directly instead (#20069)Chris Rebert1-26/+3
Refs #19990 [skip sauce] [skip validator]
2016-06-04Integrate postcss-flexbugs-fixes into build; fixes #18569Chris Rebert1-0/+1
2016-05-30Killed the grunt-eslint middleman; Long live ESLint.Chris Rebert1-8/+1
Refs #19908 [skip sauce] [skip validator]
2016-05-20Add "The Bootstrap Authors" to copyright notices (#19936)Chris Rebert1-0/+1
❤️❤️❤️ https://github.com/twbs/bootstrap/graphs/contributors
2016-04-02Nuke grunt-line-remover.XhmikosR1-12/+5
Use concat's process function instead.
2016-03-23Use vanilla npm shrinkwrap instead of uber/npm-shrinkwrap; fixes #18559Chris Rebert1-17/+0
2016-03-15Remove the now unused glob.XhmikosR1-1/+0
2016-02-19Update grunt-html to v6.0.0.XhmikosR1-2/+1
Also remove the workaround for the old validator version. [skip sauce]
2016-02-10Remove unused .csscomb.jsonvsn4ik1-1/+1
2016-02-06Remove csscomb (soon replace it with something else) because scsslint has ↵Mark Otto1-24/+2
most of it covered already
2016-01-10HTML validation: Ignore spurious errors about script[integrity]Chris Rebert1-1/+3
Workaround for https://github.com/jzaefferer/grunt-html/issues/86
2016-01-06Add comprehensive `.form-control` example(/testcase) to docsChris Rebert1-1/+6
Put all the textual input types right next to each other for easy visual comparison. Refs #17308, #18763 [skip sauce]
2016-01-06Ignore HTML validator warning about <input type="datetime-local">Chris Rebert1-1/+1
Erratum from #18778 [skip sauce]
2016-01-04Grunt: Extract lint-docs-css taskChris Rebert1-2/+3
[skip sauce]
2016-01-03dont scsslint the main file because of the built-in copyright bannerMark Otto1-1/+1
2016-01-03enable scsslinting for docs scssMark Otto1-3/+8
2016-01-01Update copyright years to 2016Chris Rebert1-1/+1
[ci skip]
2015-12-24Un-nest Autoprefixer settings in module objectChris Rebert1-1/+1
[skip sauce] [skip validator]
2015-12-24Move Autoprefixer settings out of Gruntfile.js and into a separate fileBass Jobsen1-31/+2
Refs #18584 Closes #18659 [skip sauce] [skip validator]