babel-plugin-transform-react-d : Add displayName to React.createClass calls. You can installing babel-plugin-transform-react-d npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install babel-plugin-transform-react-d $ sudo npm install -g babel-plugin-transform-react-d
If want to update the babel-plugin-transform-react-d package execute the command as below,
$ sudo npm update babel-plugin-transform-react-d
Update package globally,
$ npm install -g babel-plugin-transform-react-d
$ sudo git clone https://github.com/rektide/babel-plugin-transform-react-d.git
$ sudo npm install -g ./babel-plugin-transform-react-d
babel-plugin-transform-react-d@6.25.0 /usr/lib/node_modules/babel-plugin-transform-react-d
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall babel-plugin-transform-react-d
Package Name | babel-plugin-transform-react-d |
Version | 6.25.0 |
Description | Add displayName to React.createClass calls |
Released Date | 2017-06-08T21:29:05.721Z |
Published by | hzoo |
How to Learn | https://www.npmjs.com/package/babel-plugin-transform-react-d/tutorial |