Commit graph

83 commits

Author SHA1 Message Date
Jürg Lehni
56cfdd9ab6 Only use precommit and prepush hooks when working on develop branch.
This should solve @iconexperience's troubles outlined in https://github.com/paperjs/paper.js/issues/1116#issuecomment-244037792
2016-09-20 17:07:38 -04:00
Jürg Lehni
89c60b1a05 Loosely couple Node.js code to canvas module.
Treat absence of canvas module like a web worker context.
Relates to #1103
2016-07-12 19:11:09 +02:00
Jürg Lehni
4df2dfb343 No need for npm prepublish now that we have the gulp publish task. 2016-07-09 23:49:11 +02:00
Jürg Lehni
a14e1e4c97 Replace extend() with Object.assign() 2016-07-09 23:36:11 +02:00
Jürg Lehni
bf2eada11c Remove component.json and clean up package files a bit.
Component is not maintained anymore, per https://github.com/componentjs/component/issues/639
2016-07-09 21:31:25 +02:00
Jürg Lehni
6154b44d68 Gulp: Cleanup publish task. 2016-07-09 21:20:47 +02:00
Jürg Lehni
0311c267f5 Gulp: More work on improved publish task for Bower. 2016-07-09 20:56:58 +02:00
Jürg Lehni
1b1b9a1606 Gulp: Change publish task so that dist folder contains built versions on master branch.
As required by Bower...
2016-07-09 19:48:02 +02:00
Jürg Lehni
e13300440e Correct a few issues with documentation and NPM publishing that slipped through in the v0.10.0 release. 2016-07-09 17:13:15 +02:00
Jürg Lehni
6aa983f367 Gulp: Use correct depenency sequence for publish task. 2016-07-09 16:37:00 +02:00
Jürg Lehni
7e20770126 Gulp: Fix docs task.
Omitted return means streaming wasn't working.
2016-07-09 16:11:18 +02:00
Jürg Lehni
cfa215051d Update to latest gulp-git-streamed and remove publish workaround code. 2016-07-03 12:17:37 +02:00
Jürg Lehni
3e2a3827fd Gulp: Have jshint errors trigger Travis CI failures. 2016-06-10 17:22:11 +02:00
Jürg Lehni
8542eb62b4 Gulp: Add test:browser task, to solve CORS issues on Chrome. 2016-02-11 10:05:21 +01:00
Jürg Lehni
5cbc8ef775 Gulp: Simplify build options handling and remove gitty dependency. 2016-01-31 14:45:34 +01:00
Jürg Lehni
1a3a4be0b6 Gulp: Implement publish task. 2016-01-31 14:30:14 +01:00
Jürg Lehni
834d2303a6 Travis CI: Implement automatic deployment of prebuilt versions on each commit, and caching of assets and NVM.
Builds are deployed to prebuilt/dist an prebuilt/module branches.
2016-01-31 12:43:38 +01:00
Jürg Lehni
8c60931200 Tests: Update to gulp-qunits 2.0.1 2016-01-31 12:43:38 +01:00
Jürg Lehni
f2a132f498 Tests: Don't use noGlobas in Node.js QUnit tests for now.
As it simply doesn't work yet.
2016-01-31 12:43:38 +01:00
Jürg Lehni
567f286774 Tests: Switch to our own gulp-qunits module.
Since it handles PhantomJS as well as Node.js execution, and formats errors identically and quickly.
2016-01-31 12:43:38 +01:00
Jürg Lehni
662b974104 Tests: gulp test now performs both browser and nod based tests. 2016-01-31 12:43:38 +01:00
Jürg Lehni
e0429f44df Tests: Improve QUnit test logging and various cleanup on helpers. 2016-01-31 12:43:38 +01:00
Jürg Lehni
4c84c3dad5 Tests: Start getting QUnit tests to work on Node.js
Work in progress…
2016-01-31 12:43:20 +01:00
Jürg Lehni
77be5616b6 Include paper-core.js in load.js mechanism, and improve root folder guessing again. 2016-01-26 20:26:32 +01:00
Jürg Lehni
e1a51f858a More work on unified version for browsers and node.
Relates to #739
2016-01-26 20:02:23 +01:00
Jürg Lehni
1dcb19ec3b Implement jshint and watch task. 2016-01-25 11:35:15 +01:00
Jürg Lehni
89b3238385 Build and copy paper.js vesrion for docs.
And fix build issues introduced in previous commit: We do need a closure to create local name variables for the callback fucntions.
2016-01-25 11:26:08 +01:00
Jürg Lehni
d09459646d Move clear tasks to the task files they relate to. 2016-01-25 11:06:45 +01:00
Jürg Lehni
3a45d36224 Update JSDoc. 2016-01-25 10:53:09 +01:00
Jürg Lehni
82de56ea2c Render paper.js version number as part of the docs. 2016-01-23 19:48:41 +01:00
Jürg Lehni
79a6915a7e Move jsdoc-toolkit submodule to gulp/jsdoc 2016-01-23 19:23:43 +01:00
Jürg Lehni
fb9bdb4b39 Fetch all dev-dependencies NPM instead of Bower. 2016-01-23 19:01:38 +01:00
Jürg Lehni
eda738d4fa Split gulpfile.js into separate task files. 2016-01-23 18:26:56 +01:00