npm.io
2.0.1 • Published 9 years ago

nchannel-component

Licence
BSD
Version
2.0.1
Deps
2
Vulns
1
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

nchannel component

Get the AMD module located at nchannel-component.js and include it in your project.

Here is a sample integration:

require.config({
  paths: {
    'react': 'vendor/bower_components/react/react',
    'NchannelComponent': 'nchannel-component'
  }
});

require(['react', 'NchannelComponent'], function(React, NchannelComponent) {

  React.render(React.createElement(NchannelComponent), 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;

Keywords