commit 5bb231e2e6e615a3b6a0528f82b627409ed2a8f9
Author: Zijin Xiao <28256042@qq.com>
Date: Sat Feb 11 17:33:27 2017 +0800
Initial commit
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 0000000..b98dc73
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,30 @@
+{
+ "extends": "airbnb",
+ "plugins": [
+ "react"
+ ],
+ "env": {
+ "browser": true,
+ "commonjs": true,
+ "es6": true,
+ "node": true
+ },
+ "parserOptions": {
+ "ecmaFeatures": {
+ "jsx": true
+ },
+ "sourceType": "module"
+ },
+ "rules": {
+ "no-const-assign": "warn",
+ "no-this-before-super": "warn",
+ "no-undef": "warn",
+ "no-unreachable": "warn",
+ "no-unused-vars": "warn",
+ "constructor-super": "warn",
+ "valid-typeof": "warn",
+ "semi": [2, "always"],
+ "indent": [2,4],
+ "no-path-concat": 0
+ }
+}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3d38747
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+dist
+node_modules
+.DS_Store
+.vscode
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..384ec9d
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2017 Zijin Xiao
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..87e0753
--- /dev/null
+++ b/README.md
@@ -0,0 +1,27 @@
+# private-music-react
+A front-end impl of [Private Cloud Music](https://github.com/BLumia/Private-Cloud-Music) by React and Antd.
+
+## Install
+``` bash
+# Clone the repository once
+$ git clone https://github.com/BearKidsTeam/private-music-react
+
+# Go into the repository (rename it as you wish)
+$ cd private-music-react
+
+# Install the dependencies once
+$ npm install
+```
+
+## Usage
+``` bash
+$ npm start
+```
+
+## Build
+``` bash
+$ npm run build
+```
+The files will be in ```./dist```
+## License
+[MIT](http://opensource.org/licenses/MIT)
\ No newline at end of file
diff --git a/index.css b/index.css
new file mode 100644
index 0000000..0f178d7
--- /dev/null
+++ b/index.css
@@ -0,0 +1,4 @@
+
+html, body, #root {
+ height: 100%;
+}
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..f65f403
--- /dev/null
+++ b/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+ Demo
+
+
+
+
+
+
+
+
+
+
+
diff --git a/index.jsx b/index.jsx
new file mode 100644
index 0000000..d3e376e
--- /dev/null
+++ b/index.jsx
@@ -0,0 +1,14 @@
+import React from 'react';
+import ReactDOM from 'react-dom';
+import './index.css';
+import Player from './player';
+
+function App() {
+ return (
+