diff --git a/package.json b/package.json
index 9bf1970..5bdae0e 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,7 @@
"version": "0.0.1",
"main": "app.js",
"dependencies": {
+ "bootstrap": "^3.3.6",
"browserify": "^6.2.0",
"cookie-parser": "1.3.2",
"dotenv": "^2.0.0",
@@ -24,6 +25,7 @@
"watchify": "^2.1.1"
},
"scripts": {
+ "start": "watchify -o public/bundle.min.js -v -d public/script.jsx",
"postinstall": "browserify public/script.jsx | uglifyjs -cm > public/bundle.min.js"
},
"browserify": {
diff --git a/public/components/Duplicate.js b/public/components/Duplicate.js
new file mode 100644
index 0000000..45ecf06
--- /dev/null
+++ b/public/components/Duplicate.js
@@ -0,0 +1,21 @@
+'use strict';
+var React = require('react');
+var ReactBootstrap = require('react-bootstrap');
+
+var Duplicate = React.createClass({
+ render: function () {
+ var ListGroupItem = ReactBootstrap.ListGroupItem;
+ var authors = "";
+ this.props.track.artists.forEach(function (item, index) {
+ if (index != 0) {
+ authors += ', ';
+ }
+ authors += item.name;
+ });
+ return (
+