Commit Graph

31 Commits

Author SHA1 Message Date
dependabot[bot]
d6fb8630a6 Bump grunt from 1.5.2 to 1.5.3
Bumps [grunt](https://github.com/gruntjs/grunt) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gruntjs/grunt/releases)
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG)
- [Commits](https://github.com/gruntjs/grunt/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: grunt
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-26 00:09:40 +00:00
Amir E. Aharoni
d450b52a15 Bump grunt to 1.5.2
Suggest by `npm audit`.
2022-04-28 17:58:10 +05:30
Amir E. Aharoni
cad826ffef Update stylelint packages
Recommended by `npm audit fix`.
2022-02-14 20:20:56 +05:30
Amir E. Aharoni
c10140c12b Upgrade eslint-config-wikimedia to 0.21.0
JavaScript code and comments changes:
* Remove no-multi-str disabling.
* Document $ parameter.
* Replace .substring() with .slice().
* Change assert.ok() to assert.strictEqual() in a test.
2022-01-31 11:13:58 +02:00
Amir E. Aharoni
817b4a4318 Update grunt-eslint versions
This was suggested by `npm audit`.

Also changing the configuration: the "syntax" option
is no longer needed.
2022-01-28 09:56:21 +02:00
Ed S
7a6e559fe5 Update eslint and other devDependencies (#391)
* Update eslint and other devDependencies

* Lint JS in examples/ using eslint-plugin-html (#392)
2021-05-14 15:18:37 +05:30
Niklas Laxström
e43746f77d Switch from Travis to Github Actions
Split lint and qunit tests into different workflows
2020-12-23 10:48:18 +02:00
Amir Aharoni
db0c6e9764 Update package versions in package.json
Recommended by npm audit.
2020-12-16 13:53:02 +02:00
Amir Aharoni
d4b728ee12 Update stylelint-config-wikimedia version 2020-07-24 20:37:51 +03:00
Amir Aharoni
d6c11a2f05 Update grunt to version 1.1.0 and update package-lock.json
These were done automatically by npm audit fix
2020-03-31 22:47:36 +03:00
James Forrester
ff56cd922b build: Upgrade stylelint-config-wikimedia from 0.7.0 to 0.8.0 (#355)
Drop unnecessary direct dependency on stylelint.
2020-01-24 08:55:27 +05:30
Ed Sanders
d53beca719 Update linters
* Update eslint and stylelint config
* Fix Gruntfile.js to actually run stylelint
2019-11-13 04:14:16 +02:00
Amir Aharoni
80c72856fa Update grunt-contrib-qunit to 3.1.0 and add package-lock.json
This resolves lodash vulnerabilities.
2019-08-09 21:18:33 +05:30
Amir Aharoni
f959eb2730 Update dependencies versions
* Update grunt and stylelint according to `npm audit` security suggestion.
* Update grunt-stylelint and stylelint-config-wikimedia according
  to `npm install` suggestion.
2019-07-08 15:01:37 +03:00
Kartik Mistry
27c21219b4 Update package.json and fix eslint issues (#322) 2018-09-06 15:41:27 +05:30
Kartik Mistry
43191334ef Update package.json
This will unbreak `npm install`.
2018-03-05 13:54:58 +05:30
Kartik Mistry
4b63f4337f package.json : maintenance updates
* Update minimum node.js engine to 6.11.1, stable LTS.
* http -> https
2018-01-30 02:19:40 -08:00
Santhosh Thottingal
2a77df6c41 Use eslint and stylelint, fix all errors (#282)
* Use eslint and stylelint, fix all errors

* Remove jshint, jsbeautify
* Use Object.keys directly since that is available in all major browsers
* Fixes for eslint, stylelint errors
* stylelint is not included in grunt test yet because jquery.uls.mobile.css
  has so many !important and need to figure out whether they are really needed
2018-01-04 15:58:35 +02:00
Niklas Laxström
08969481e5 Merge pull request #218 from kartikm/license
Use SPDX license field in package.json
2016-05-18 16:50:25 +03:00
Kartik Mistry
847a3aa7cf Update package.json 2016-05-17 12:08:45 +05:30
Ricordisamoa
0b8a4c9338 Bump devDependencies to latest and make pass
grunt                  ^0.4.5  →  ^1.0.1
 grunt-cli             ^0.1.13  →  ^1.2.0
 grunt-contrib-jshint   ^0.8.0  →  ^1.0.0
 grunt-contrib-qunit    ^0.5.2  →  ^1.2.0
2016-04-30 09:52:55 +02:00
Kartik Mistry
aee209878f Use SPDX license field in package.json 2016-04-22 14:39:59 +05:30
Timo Tijhof
89d64b7e93 build: Clean up Gruntfile
* Sort jshintrc a-z and section it.

* Remove grunt.js from jshintignore (file no longer exists).

* Simplify jshint config by using globstar. The jshintignore
  file still applies (to skip jquery.uls.data.js).

* Update jshint config to also validate Gruntfile.js

* Update listed dependency on 'grunt' and 'grunt-cli' to the
  versions they currently expand to already. We don't know if
  we're compatible with older versions. '^x.y' means, equal or
  higher (within the same major release). Similar to '~x.y',
  except that tilde tolerates older versions.

* Update grunt-contrib-jshint and grunt-contrib-qunit to their
  latest versions.

* Remove obsolete jshintrc parsing hack, use built-in 'jshintrc'
  option as of v0.8.0.

* Remove unused 'pgk' property in grunt config.

* Remove unused grunt-contrib-jasmine and grunt-contrib-copy
  from devDependencies (unused as of ab9b01444f).
2014-10-09 05:59:54 +02:00
Timo Tijhof
940c779b59 build: Remove jquery from package.json dependencies (unused)
Follows-up 2ce74db801.

This is not a node.js project. There are no references to
node_modules/jquery in file paths anywhere, and also no usage
of "require('jquery')".

Currently it just delays 'npm install'.
2014-10-09 05:59:49 +02:00
Timo Tijhof
ff100e271b travis: Switch to Node.js 0.10
This repository is mainly about client-side javascript, the version
of Node.js used for the build scripts doesn't really matter.

One of the dependencies in package.json uses the '^x.x' syntax in
its sub-dependencies and isn't supporteed on Node.js 0.8, which
is why the Travis CI build is currently erroring on the install step.
2014-10-09 05:41:35 +02:00
Kartik Mistry
a460358ae1 Use jquery instead of jQuery in package.json 2014-06-09 20:07:10 +05:30
Santhosh Thottingal
ab9b01444f Update to latest grunt
Change-Id: I69701a230426af9fa22d3cd312cb24bdc6cf5072
2013-08-01 15:13:00 +05:30
Santhosh Thottingal
568c626abe Update grunt.js to use grunt-contrib-copy instead of grunt-cp 2012-10-17 14:21:06 +05:30
Santhosh Thottingal
2ce2718315 Build system updates
Handle i18n and images properly

Change-Id: Idbdf141601cb1dbd5110431982022e0481156645
2012-09-22 10:03:55 -07:00
Santhosh Thottingal
2ce74db801 Grunt updates and travis build integration
Change-Id: Ia479b903908f01e82750e9e35dff6c6aef6c36ae
2012-09-18 21:04:37 -07:00
Santhosh Thottingal
a0580a9746 Add grunt to jquery.uls
This library is supposed to be hosted outside WMF gerrit. So adding a
build, test system.
* Add js lint and css lint
* minifier for css and js
* css lint does not pass now.

Change-Id: Iaadfad786f5de4b2ab95e24d3ea4f1d21952af75
2012-09-05 15:03:54 +03:00