Commit Graph

6 Commits

Author SHA1 Message Date
Nicholas Cioli
a5717fb333 upgrade gulp to v4
As of NodeJS v12, gulp v3 fails to run at all. This small change
should allow for future compatibility with NodeJS.
2019-06-21 17:43:21 -05:00
Neil Fraser
f196816f62 Move DOMParser and XMLSerializer to Xml.utils 2018-10-16 11:34:10 -07:00
Andrew n marshall
7886d24130 Fixing xml.js: Always throw XML I/O errors; Support parsing in Node (#1911)
* Improved Blockly.XML comments.
 * Support JSDOM as an alternate parser under Node.js
 * Throw standard errors instead of goog.asserts.
 * Adding textToDomDocument_ and override in gulpfile.
2018-06-12 14:03:10 -07:00
Andrew n marshall
9eb05c4ad3 Don't build upon npm install. (#1855)
Build depends upon ../closure-library, which is outside the usual
npm process. And since the library ships pre-built, just concatenate
the built files to make the node-ready version.
2018-05-15 14:45:22 -07:00
Andrew n marshall
b37a4bd5b8 Correcting typo in comment (#1866) 2018-05-15 14:12:15 -07:00
Andrew n marshall
2e8c29de45 Adding gulpfile to build Node.js compatible library. (#1847)
The gulp file is derived from work in PR #887, with numerous
refinements and clarifying comments.

Also updating the version number in package.json, including the
'develop' prerelease tag for the develop branch.
2018-05-11 15:19:47 -07:00