43 Commits

Author SHA1 Message Date
Andrew Sliwinski
530ab4ac81 Use ^ for all dev dependencies 2017-03-02 08:53:18 -05:00
greenkeeper[bot]
7470bebfbe chore(package): update tap to version 10.3.0
https://greenkeeper.io/
2017-03-02 03:50:15 +00:00
Andrew Sliwinski
f7ec23122b Merge branch 'develop' into greenkeeper/eslint-3.16.1 2017-03-01 15:48:53 -05:00
greenkeeper[bot]
2d97d21beb chore(package): update tap to version 10.2.2
https://greenkeeper.io/
2017-02-27 08:02:14 +00:00
Ray Schamp
05a70bcf41 Merge pull request #106 from LLK/greenkeeper/tap-10.2.1
Update tap to the latest version 🚀
2017-02-23 08:59:44 -05:00
Ray Schamp
9824d109b0 Merge pull request #102 from rschamp/jsdoc
Generate docs from src, publish to gh-pages
2017-02-23 08:42:10 -05:00
greenkeeper[bot]
293653bc4d chore(package): update babel-loader to version 6.3.2
Closes #91

https://greenkeeper.io/
2017-02-22 21:26:14 -08:00
Chris Willis-Ford
71135236f2 Merge pull request #107 from LLK/greenkeeper/twgl.js-3.0.2
chore(package): update twgl.js to version 3.0.2
2017-02-22 21:15:52 -08:00
greenkeeper[bot]
383838c921 chore(package): update tap to version 10.2.1
https://greenkeeper.io/
2017-02-23 04:07:48 +00:00
Chris Willis-Ford
dd74f5b6d2 Merge pull request #86 from LLK/greenkeeper/babel-core-6.23.1
Update babel-core to the latest version 🚀
2017-02-22 16:03:51 -08:00
greenkeeper[bot]
005786ad36 chore(package): update eslint to version 3.16.1
https://greenkeeper.io/
2017-02-22 22:28:56 +00:00
Ray Schamp
3c6511d94e Generate docs from src, publish to gh-pages
Fix any broken JSDoc syntax. Unfortunately there is no way to document tuples like `{[int, int]}` for a `[width, height]` array. We could possibly fix this and make the code more readable with `{width: number, height: number}` instead of tuples.

Remove single `@fileoverview` from Rectangle.js, since it was the only file with one and was weird to have that one module show up on the docs home page.

Add a `docs` script to `package.json`, run it from `npm test`, so invalid docs will cause tests to fail (eventually we may want to start using eslint-plugin-jsdoc to catch these errors with the linter alone).
2017-02-21 14:46:24 -05:00
Andrew Sliwinski
9f11d79bfd Merge pull request #98 from LLK/greenkeeper/xhr-2.4.0
Update xhr to the latest version 🚀
2017-02-20 17:52:38 -05:00
Andrew Sliwinski
7045005296 Merge pull request #99 from LLK/greenkeeper/tap-10.1.2
Update tap to the latest version 🚀
2017-02-20 17:52:13 -05:00
greenkeeper[bot]
a221d37e98 chore(package): update eslint to version 3.16.0
https://greenkeeper.io/
2017-02-20 16:38:19 +00:00
greenkeeper[bot]
b1401a1910 chore(package): update tap to version 10.1.2
https://greenkeeper.io/
2017-02-18 02:13:51 +00:00
greenkeeper[bot]
331009ccb4 chore(package): update xhr to version 2.4.0
https://greenkeeper.io/
2017-02-17 20:56:13 +00:00
greenkeeper[bot]
d6effaf567 chore(package): update twgl.js to version 3.0.2
Closes #88

https://greenkeeper.io/
2017-02-15 15:32:07 +00:00
greenkeeper[bot]
9e53d1c53d chore(package): update tap to version 10.1.1
https://greenkeeper.io/
2017-02-14 19:26:35 +00:00
greenkeeper[bot]
626369a5d9 chore(package): update babel-loader to version 6.3.0
https://greenkeeper.io/
2017-02-14 09:20:58 +00:00
greenkeeper[bot]
6950b67d37 chore(package): update babel-core to version 6.23.1
https://greenkeeper.io/
2017-02-14 02:23:22 +00:00
greenkeeper[bot]
549f596195 chore(package): update dependencies
https://greenkeeper.io/
2017-02-02 17:25:30 +00:00
Christopher Willis-Ford
5db860efed Use eslint-config-scratch, fix linting errors 2016-12-12 12:06:19 -08:00
Christopher Willis-Ford
47b46fb1aa Update Webpack config like scratch-storage
- Move build outputs into `dist/`
- Make build output file names more consistent
- Update `playground/index.html` for new output file name
- Explicitly specify target => Node output is much smaller
- Minor fixes / cleanup in `.gitignore` and `src/index*.js`
2016-12-12 12:06:05 -08:00
Tim Mickel
b35f684478 A start on SVG "quirks mode" (#56)
* Start of an SVG rendering quirks mode

* Provide font defaults in SVG quirks mode

* Remove svg-to-image dependency

* Remove fonts and use package fonts instead.

* try/finally for getBBox
2016-11-07 17:40:59 -05:00
Ray Schamp
662ba3c645 Replace Makefile with npm scripts
Allows Windows users to run what's currently in the Makefile
2016-10-17 09:56:32 -04:00
Tim Mickel
a62d52a2d0 Calculating tight bounding boxes for Drawables (#42) 2016-10-11 18:14:14 -04:00
Ray Schamp
053092c85b Alphabetize 2016-09-27 09:29:42 -04:00
Ray Schamp
d7d1f92a13 Remove empty dependencies field 2016-09-27 00:53:25 -04:00
Ray Schamp
59337ef8b5 Update version format for usage with semver
Tracking the version under one `-prerelease` channel allows other packages to depend on `^0.1.0-prerelease` for the most up to date version.

Track the git sha for the release in package.json

Reuse the json package needed for writing the sha to retrieve the package.json version field
2016-09-27 00:52:27 -04:00
Ray Schamp
09dc67fa83 Set playground as dev server content base
For consistency with scratch-vm.
The redirect from index to playground was already unnecessary.
2016-09-26 11:58:26 -04:00
Ray Schamp
9f26ab17eb Publish playground to gh-pages 2016-09-24 15:26:37 -04:00
Ray Schamp
d91ddf4158 Publish to NPM 2016-09-24 15:26:37 -04:00
Ray Schamp
a6c8be8226 Use path to webpack for postinstall 2016-09-20 16:25:24 -04:00
Ray Schamp
278cddf04e Build module to be imported
If another package wants to import `src/index.js`, it needs to replicate the loader config in `webpack.config.js`. To avoid this, package the module in `dist.js` and set that as the module to require.

I changed `main` to point to this so that other packages can just `require('scratch-blocks')`, but it would also work for our purposes to add `"webpack": "./dist.js"` if we want to keep `src/index.js` as `main`.
2016-09-20 09:13:35 -04:00
Andrew Sliwinski
92fc916b86 Synchronize with master branch 2016-08-08 14:58:35 -04:00
Andrew Sliwinski
894ada4960 Move development dependencies into “devDependencies” in package.json 2016-08-08 14:21:21 -04:00
Christopher Willis-Ford
543f05d6d4 Use babel-polyfill, plus compatibility fixes 2016-06-16 14:30:32 -07:00
Christopher Willis-Ford
2c9e17d486 Use babel for ES6 / ES2015 support 2016-06-15 14:39:44 -07:00
Chris Willis-Ford
73ae8c205d Add missing raw-loader package 2016-06-14 18:55:38 -04:00
Christopher Willis-Ford
fc10df7e41 Allow driving the renderer from a web worker
The build generates a new output set called `render-webgl-worker`, meant
to be imported from a web worker. This exposes the `RenderWebGLRemote`
class to facilitate communication with the renderer using `postMessage`
and `onmessage`.
Only a few messages are implemented so far, but it's enough to run the
demo page.
2016-06-14 11:45:35 -07:00
Christopher Willis-Ford
db69b23a0e Support rendering SVGs 2016-05-18 12:35:08 -07:00
Christopher Willis-Ford
51e17c57a9 Establish initial structure, create demo.html
So far this does nothing but clear the screen to magenta, but it's a
start.
2016-05-13 11:29:51 -07:00