13 Commits (5152ddcd5c31b6d33cbb74ea8fa1032045200de4)

Author SHA1 Message Date
Volker E 94e7fe7f7f build: Add Grunt 'svgmin' task and crush SVGs
Adding 'grunt-svgmin' package and corresponding 'svgmin' task and
also crush SVGs. Additionally remove unnecessary attributes like
`version` & `id`s and Inkscape specific styles according to SVG
coding conventions.
Total savings about 75kB.

Change-Id: Id3a6e73d648693f21633fac123db0f26e6502a03
6 years ago
Volker E a2474c82fd build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass
Change-Id: I156dbb3a029696ed0ac3209be455547cd73048c3
6 years ago
Ed Sanders 96c7b32578 build: Update devDependencies
eslint-config-wikimedia      0.5.0  →   0.9.0
 grunt-eslint                20.1.0  →  21.0.0
 grunt-stylelint              0.9.0  →  0.10.1
 stylelint                    8.2.0  →   9.2.0
 stylelint-config-wikimedia   0.4.2  →   0.4.3

Change-Id: I42a46e01cc0a2a183c5d924fd57f05e1925337e2
6 years ago
libraryupgrader d66be08f4e build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I025c5a40856445e01090d4ab2835b411bb2d7a8b
6 years ago
Ed Sanders b3c629ef4d build: Update linters
Change-Id: Iee462bae8112755e7cd0c5caa88c3fc6fcdc852e
7 years ago
Timo Tijhof 67f3403d29 build: Switch from JSHint to ESLint
Change-Id: Ie090d1ba345b5e59c06c5aaa30cacfb14a41dc2d
8 years ago
Antoine Musso a9a07f65b2 build: update dependencies
grunt-contrib-jshint 0.11.3 has some deep dependencies that trigger
warnings:

warning grunt-contrib-jshint > jshint > minimatch@2.0.10:
Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

warning grunt-contrib-jshint > jshint > cli > glob > minimatch@0.3.0:
Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

Updated it to latest, and while at it update other dependencies.

Change-Id: Ic56e44c1de9c5d4be7be39005fb5fc14318c0925
8 years ago
Antoine Musso 5f3c18d17d build: bump grunt and drop grunt-cli
grunt 1.x now includes a CLI command, hence grunt-cli is no more needed.

Change-Id: I94f0c66236b5f0f12220741276c7fe24a89c65e0
8 years ago
Antoine Musso d84e426350 Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Also reorder banana-grunt-checker

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
8 years ago
Umherirrender 77ff62c02c Add stylelint for css and less files
Fixed the following rules:
- number-leading-zero
- length-zero-no-unit
- string-quotes
- max-empty-lines
- selector-pseudo-element-colon-notation
- at-rule-empty-line-before
- at-rule-name-space-after
- media-feature-parentheses-space-inside
- color-hex-case
- declaration-block-semicolon-space-bef
- declaration-property-value-blacklist

Change-Id: Id0b43bff22b3f9ae9b912bd886e2da4c8576b165
8 years ago
James D. Forrester 574ba65e7d build: Bump grunt-jsonlint from 1.0.6 to 1.0.7
Change-Id: I33a097b8b0143a73649033a2af792ad93836fcb0
9 years ago
Paladox 4b7fdbbdd3 Update Jenkins tests
Add support for running jshint in npm.

Add support for running tests through composer.json.

Change-Id: I97ab0afa8edaba06821651b595a470b0771d354d
9 years ago
Isarra 3a1bc368de Initial skin from skin:Example; just renamed
Change-Id: Ic60e93eff08abe541635e135faf04e60a756f44c
9 years ago