Replaces grunt/browserify with a much simpler webpack configuration
Exports a UMD compatible build so that it can run in any environment. Cursor and ImmutableHelpers is now located on window.reactCursor and can be tested by running npm run dist, npm start and then navigating to http://localhost:3000 and evaluating in the console. This serves up index.html in the root
Simplifies the test structure by removing all boilerplate and co-locating tests with their sources and dynamically requiring them
Simplified each example to run on webpack, be served from memory (no need to build), load css from webpack, and be served with webpack-hot-loader for instant edits
New commands:
npm testnpm run buildnpm run dist, which exports a minified build into the lib directory
Examples:
npm installnpm start
I would pull this down and take a good look at it before you merge, but it follows many of the current conventions in react / webpack land so it should look fairly familiar.
This PR does a few things:
Cursor
andImmutableHelpers
is now located onwindow.reactCursor
and can be tested by runningnpm run dist
,npm start
and then navigating tohttp://localhost:3000
and evaluating in the console. This serves upindex.html
in the rootNew commands:
npm test
npm run build
npm run dist
, which exports a minified build into thelib
directoryExamples:
npm install
npm start
I would pull this down and take a good look at it before you merge, but it follows many of the current conventions in react / webpack land so it should look fairly familiar.