Commit Graph

10 Commits

Author SHA1 Message Date
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
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