Skip to content

Commit

Permalink
Improved Scenery build support, see #593
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Dec 14, 2016
1 parent 10a68a2 commit 680dd5f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ <h2 id="building">Building</h2>
<pre>
cd scenery
npm update
grunt build-js</pre>
grunt build</pre>

<p>
You will now have the built files under build/, and all of the documentation/examples should work locally.
Expand Down
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,18 @@
"grunt-eslint": "~19.0.0",
"uglify-js": "~2.4.0",
"requirejs": "~2.1.8"
},
"phet": {
"isJSOnly": true,
"requiresLodash": true,
"requiresJQuery": true,
"assignGlobals": {
"scenery": "main",
"kite": "KITE/main",
"dot": "DOT/main",
"axon": "AXON/main",
"phetCore": "PHET_CORE/main"
},
"finalizeJS": "scenery.Util.polyfillRequestAnimationFrame();"
}
}

0 comments on commit 680dd5f

Please sign in to comment.