react-pack-button
v1.0.0
Published
React-Pack-Button
Downloads
3
Readme
React-Pack-Button
Get the AMD module located at react-pack-button.js
and include it in your project.
Here is a sample integration:
require.config({
paths: {
'react': 'vendor/bower_components/react/react',
'ReactPackButton': 'react-pack-button'
}
});
require(['react', 'ReactPackButton'], function(React, ReactPackButton) {
React.render(React.createElement(ReactPackButton), document.getElementById('widget-container'));
});
Development
- Development server
npm run dev
. - Continuously run tests on file changes
npm run watch-test
; - Run tests:
npm test
; - Build
npm run build
;