diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-09-10 14:22:26 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-09-10 14:23:10 +1200 |
commit | 0510c9b111aed03d0d3680db63614d50f231745c (patch) | |
tree | 0d2fec5d46a3cb984a8b12e36db2f44a1a8eaa5a /web/src/vendor/react-router/scripts/build-examples | |
parent | 76982937a68a2adaf96ec2d258e369d7c871a609 (diff) | |
download | mitmproxy-0510c9b111aed03d0d3680db63614d50f231745c.tar.gz mitmproxy-0510c9b111aed03d0d3680db63614d50f231745c.tar.bz2 mitmproxy-0510c9b111aed03d0d3680db63614d50f231745c.zip |
Client-side framework for web application
Diffstat (limited to 'web/src/vendor/react-router/scripts/build-examples')
-rwxr-xr-x | web/src/vendor/react-router/scripts/build-examples | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web/src/vendor/react-router/scripts/build-examples b/web/src/vendor/react-router/scripts/build-examples new file mode 100755 index 00000000..122b5471 --- /dev/null +++ b/web/src/vendor/react-router/scripts/build-examples @@ -0,0 +1,18 @@ +#!/bin/sh +BROWSERIFY="node_modules/.bin/browserify --debug --detect-globals false" +BUNDLE_EXAMPLE="$BROWSERIFY -t reactify -x react -x react/lib/ReactCSSTransitionGroup -x when -x react-router" + +NODE_ENV=development $BROWSERIFY -t envify -r react -r react/lib/ReactCSSTransitionGroup -r when -r ./modules:react-router > examples/global-bundle.js + +$BUNDLE_EXAMPLE examples/animations/app.js > examples/animations/app-bundle.js +$BUNDLE_EXAMPLE examples/auth-flow/app.js > examples/auth-flow/app-bundle.js +$BUNDLE_EXAMPLE examples/data-flow/app.js > examples/data-flow/app-bundle.js +$BUNDLE_EXAMPLE examples/dynamic-segments/app.js > examples/dynamic-segments/app-bundle.js +$BUNDLE_EXAMPLE examples/master-detail/app.js > examples/master-detail/app-bundle.js +# $BUNDLE_EXAMPLE examples/partial-app-loading/app.js > examples/partial-app-loading/app-bundle.js +# $BUNDLE_EXAMPLE examples/partial-app-loading/dashboard.js > examples/partial-app-loading/dashboard-bundle.js +# $BUNDLE_EXAMPLE examples/partial-app-loading/inbox.js > examples/partial-app-loading/inbox-bundle.js +$BUNDLE_EXAMPLE examples/query-params/app.js > examples/query-params/app-bundle.js +$BUNDLE_EXAMPLE examples/shared-root/app.js > examples/shared-root/app-bundle.js +$BUNDLE_EXAMPLE examples/simple-master-detail/app.js > examples/simple-master-detail/app-bundle.js +$BUNDLE_EXAMPLE examples/transitions/app.js > examples/transitions/app-bundle.js |