react-test-component
2.0.0 • Public • Published React
Get the AMD module located at react.js
and include it in your project.
Here is a sample integration:
require.config({
paths: {
'react': 'vendor/bower_components/react/react',
'React': 'react'
}
});
require(['react', 'React'], function(React, React) {
React.render(React.createElement(React), document.getElementById('widget-container'));
});
Development
- Development server
npm start
.
- Continuously run tests on file changes
npm run watch-test
;
- Run tests:
npm test
;
- Build
npm run build
;
Package Sidebar
Install
npm i react-test-component
Weekly Downloads