Commit Graph

23 Commits

Author SHA1 Message Date
Timothy Gu
e403f52722 Use UglifyJS to minify files in minified target
It is written in JavaScript, is less buggy, and compresses better.
2016-01-31 13:55:23 -08:00
Yury Delendik
85e95d34ed Use RequireJS in the viewer, examples and tests. 2015-12-29 09:20:52 -06:00
Yury Delendik
79c2f69c32 Adds/modifies examples for node.js and webpack. 2015-12-21 13:46:50 -06:00
Jonas Jenwald
d6c2ced9e6 Let Travis lint using node make lint, instead of a hard-coded command 2015-12-10 10:06:32 +01:00
Jonas Jenwald
de07bd23dd Downgrade the JSHint version in order to fix linting failures on Travis 2015-11-12 22:21:25 +01:00
Yury Delendik
bc33ae2fc4 Partially reverts #6161 - downgrade shell.js version
Due to 'node make web' firefox extension breakage.
2015-10-30 12:41:46 -05:00
Timothy Gu
3d3d8edf29 Clean up npm dependencies and add license property
underscore and moment were not used anywhere
2015-10-30 08:49:50 -05:00
Rob Wu
c3c6d503ee Improve robustness of builder (esp. on Windows)
- Use rimraf instead of a custom removeDirSync implementation - rimraf
  deals with edge cases like EPERM on Windows.

- Detect when the process exits before it was requested via stop(),
  instead of running the cleanup handler.

- Add fallback for process detection when the process exits before it
  was requested. On *nix systems, this is done via pkill and pgrep, on
  Windows this is done via wmic.

- Add some asserts to check the preconditions of the methods, and output
  some status information to aid debugging in case of failure.

I have verified that these changes work on ArchLinux and Windows XP,
using Chrome and Firefox, as follows:

1. node make unittest

2. node make unittest
3. Restart the Firefox process via the task manager as soon as possible.

4. node make unittest
5. Temporary lock a file/directory within the temporary profile
   directory until the tests have finished, and then unlock the file
   within 10 seconds.

In all cases, the auxilary browser processes are killed, and the
temporary profile directory is wiped.
2015-07-16 21:40:57 +02:00
Tim van der Meij
90b6de1eff Fixed the ShellJS version 2015-05-18 21:12:25 +02:00
Tim van der Meij
70b6eb09a8 Remove ShellJS copy and use the NPM version
There is no need to have a copy of ShellJS in the repository as it is also available on NPM. The NPM version is also much newer. This way we do not have to update this anymore and let NPM do that automatically.
2015-04-05 15:47:25 +02:00
Jonas Jenwald
8a7499b190 Update linting on Travis to cover *.jsm files (PR 5406 followup)
Trivial followup to PR 5406.
2014-12-23 13:07:35 +01:00
Michał Gołębiowski
cd33d0717c Use the tilde (~) consistently in package.json
Closes #5407
2014-10-14 14:02:30 +02:00
Michał Gołębiowski
ddec2f2a2a Fix jsdoc version in package.json to work with npm 2.x.y.
Fixes #5340
2014-10-14 14:02:15 +02:00
Michał Gołębiowski
f28acb7b52 Move jshint & yargs to devDependencies 2014-05-13 02:31:54 +02:00
Yury Delendik
2ca2c387fc Creates make.js code to build jsdoc. 2014-04-13 15:54:24 -05:00
Yury Delendik
fcebe57d8e Introduces .jshintignore 2014-04-11 11:42:44 -05:00
Brendan Dahl
3ce622a106 Redo and add more documentation to gh-pages. 2014-04-10 10:01:51 -07:00
Yury Delendik
c2376e5cea Migrating test.py to test.js 2014-03-25 14:07:08 -05:00
Mitar
2c82e720b8 Updated to current latest stable version of jshint. 2014-03-01 13:31:25 -08:00
Yury Delendik
17dfc7c700 Use jshint v1.1 2014-01-23 17:32:07 -06:00
Lee Leathers
63adf812c5 Add PDF.js license to package.json 2013-03-27 01:16:40 -07:00
Yury Delendik
cb68adb80f Replacing gjslint with jshint; fixing jshint for windows 2013-02-05 10:17:49 -06:00
Jon Buckley
442bd8bd5a Issue #2654 - Lint with Travis-CI 2013-02-01 12:01:04 -05:00