-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
matswainson
authored and
matswainson
committed
Jan 22, 2020
0 parents
commit 6f6a631
Showing
29 changed files
with
9,302 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"browserslist": [ | ||
"defaults" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": [ | ||
"plugin:vue/recommended" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.browserslistrc | ||
babel.config.json | ||
postcss.config.js | ||
src | ||
webpack.config.js | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
stories: ['../src/**/*.stories.[tj]s'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
 | ||
|
||
# Vue custom soundcloud player | ||
|
||
Custom Soundcloud player supporting single tracks & playlists | ||
|
||
### Example | ||
|
||
 | ||
|
||
```js | ||
<template> | ||
<SoundCloud | ||
track="194881641" | ||
:mini="true" | ||
/> | ||
</template> | ||
|
||
<script> | ||
import SoundCloud from 'vue-soundcloud-player'; | ||
|
||
export default { | ||
... | ||
components: { | ||
SoundCloud | ||
}, | ||
... | ||
} | ||
</script> | ||
``` | ||
|
||
#### Options | ||
|
||
| Name | Type | Default | Description | | ||
|-----------|-----------|-------------|-------------| | ||
| track | `string` | - | ID of track | | ||
| playlist | `string` | - | ID of playlist | | ||
| mini | `boolean` | `false` | Small player with inline play button | | ||
| theme | `string` | `dark` | Playlist colours - accepts `dark` or `light` | | ||
|
||
Track or playlist IDs can be found from Soundcloud embed player URLs | ||
|
||
### Browser Support | ||
|
||
* Chrome | ||
* Firefox | ||
* Internet Explorer 9+ | ||
* Opera |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"presets": [ | ||
"vue" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "vue-soundcloud-player", | ||
"version": "1.0.0", | ||
"description": "Custom Soundcloud player supporting single tracks & playlists", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "webpack --config webpack.config --progress --colors -p", | ||
"lint": "eslint 'src/**/*.{js,vue}'", | ||
"storybook": "start-storybook" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/matswainson/vue-soundcloud-player.git" | ||
}, | ||
"keywords": [ | ||
"vue", | ||
"soundcloud", | ||
"player" | ||
], | ||
"author": "Mat Swainson <mat@matswainson.com> (http://matswainson.com)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/matswainson/vue-soundcloud-player/issues" | ||
}, | ||
"homepage": "https://github.com/matswainson/vue-soundcloud-player#readme", | ||
"devDependencies": { | ||
"@babel/core": "^7.8.3", | ||
"@storybook/vue": "^5.3.6", | ||
"babel-loader": "^8.0.6", | ||
"babel-preset-vue": "^2.0.2", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-vue": "^6.1.2", | ||
"vue-loader": "^15.8.3", | ||
"vue-style-loader": "^4.1.2", | ||
"vue-template-compiler": "^2.6.11", | ||
"webpack-cli": "^3.3.10" | ||
}, | ||
"peerDependencies": { | ||
"vue": "^2.6.11" | ||
}, | ||
"dependencies": { | ||
"classnames": "^2.2.6", | ||
"vue": "^2.6.11" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
plugins: [ | ||
require('autoprefixer') | ||
] | ||
} |
Oops, something went wrong.