Commit graph

8 commits

Author SHA1 Message Date
Kunal Mehta
e410918e5f build: Updating development dependencies
* grunt-banana-checker: 0.2.1 → 0.2.2
* grunt-karma: 0.10.1 → 0.11.0
* karma: 0.12.31 → 0.12.36
* karma-chrome-launcher: 0.1.8 → 0.1.12
* karma-firefox-launcher: 0.1.4 → 0.1.6

Change-Id: Ic8bd8563c6f3313a7c8fc936c0753b071441c2b0
2015-06-07 22:41:11 -07:00
James D. Forrester
5f7c6c5805 build: Bump various devDependencies
grunt-contrib-jshint:  0.11.0 -> 0.11.2
	grunt-jscs:            1.5.0  -> 1.8.0
	karma-chrome-launcher: 0.1.7  -> 0.1.8
	qunitjs:               1.17.1 -> 1.18.0

Some trivial indentation and line-spacing changes to make this pass jscs.

Change-Id: Ieeb6dbcd3e6d9f6f0fb9865d356da462b9b0499b
2015-05-01 23:00:45 +00:00
James D. Forrester
6411ef8320 build: Update grunt-banana-checker to v0.2.1
Change-Id: I7b60b856d8cf21640c382647c6570e32091b5cde
2015-03-27 16:48:58 -07:00
Timo Tijhof
fa4ba8dbd7 build: Declare grunt-cli dependency
A long time ago, npm did not support using command line programs
within 'npm test' (not unless harcoding a path to node_modules/bin/...
within packages.json/scripts/test). But this has been long supported.

Declaring a (dev)dependency will provide its binaries to the
PATH used by the subshell 'npm test' creates internally.

Add grunt-cli so that developers don't have to manually install it.

Change-Id: I6a7fafa3c6e40d2407f07c514167ab9fc7661685
2015-03-19 01:08:57 +00:00
Timo Tijhof
3bbd27aa49 Rename JSDuck config to standard 'jsduck'
* Move configuration to /jsduck.json per standard. This way
  it can be run as plain '$ jsduck' without needing a maintenance
  script or custom Jenkins job. Similar to JSHint, JSCS, Grunt,
  and Gem etc.

* Move --processes=0 from maintenace script into config file.
  This should've been in the config file all along and serves as
  workaround for https://github.com/senchalabs/jsduck/issues/525.

* Use grunt-contrib-copy instead of a symlink for resources.
  For local development a symlink works fine, but for publishing
  from Jenkins to doc.wikimedia.org the /docs/js/ directory needs
  to be standalone. This was previously done with a manual post-build
  step that added an additional rsync, but this logic should be
  in the repository so that the doc entry point can be simplified
  and standardised to 'npm run-script doc' for all projects.

Change-Id: Iaaaac50ee78dd9ff8f24f1ef3a3685ad51cf33b2
2015-03-09 18:10:00 +00:00
James D. Forrester
8626b8823d build: Bump various devDependencies
grunt			0.4.2	-> 0.4.5
grunt-contrib-jshint	0.10.0	-> 0.11.0
grunt-jscs		0.8.1	-> 1.5.0
grunt-karma		0.9.0	-> 0.10.1
karma-firefox-launcher	0.1.3	-> 0.1.4
qunitjs			1.15.0	-> 1.17.1

Some minor fixes to pass new jscs rules; big ones postponed for now.

Change-Id: I5f2348c3cf96cf5aa20eeb9083300155b3920c5b
2015-02-10 00:52:15 +00:00
Alex Monk
1ac1512db8 Update karma to latest version
Per Timo, hopefully this should fix our issues with Chromium timing out
after 10 seconds?

Related patch: https://github.com/karma-runner/karma/commit/840ee5f7

Change-Id: Idbac350e2c612290f860ae740ef6ba242c9e0896
2015-01-30 21:46:20 +00:00
Timo Tijhof
57f5e6bf20 tests: Move npm-test to repo root
This is way overdue as it isn't experimental anymore.
Keeping it in a non-standard subdirectory makes it harder to
discover for people. And makes it harder to run from Jenkins
since this is already being ran on every commit.

Related to 70f3919.

Change-Id: Iaf5cf65616f82640145fbb6395c36129428602ca
2015-01-14 00:44:54 +00:00
Renamed from tests/frontend/package.json (Browse further)