Socket
Socket
Sign inDemoInstall

xns-audio-player-simple

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xns-audio-player-simple - npm Package Compare versions

Comparing version 3.1.1 to 3.2.0

dist/index.cjs

43

package.json
{
"private": false,
"name": "xns-audio-player-simple",
"version": "3.1.1",
"description": "a simple yet powerful music player for vuejs based on xns-audio-player",
"main": "./dist/index.js",
"version": "3.2.0",
"description": "A simple yet powerful music player for VueJs inspired by xns-audio-player",
"main": "./src/index.js",
"scripts": {
"dev": "vue serve src/XnsAudioPlayerSimple.vue",
"build": "npx rollup --config",
"dev": "vite",
"build": "npm run build:css && vite build",
"build:css": "npx tailwindcss -i src/tailwind.css -o src/output.css -m",
"test": "echo \"Error: no test specified\" && exit 1"
},
"type": "module",
"exports": {
".": "./dist/index.js",
"./styles": "./dist/index.css"
},
"browser": {
"./styles": "./dist/index.css"
},
"files": [

@@ -35,27 +43,12 @@ "dist/*"

"devDependencies": {
"@rollup/plugin-node-resolve": "^13.1.3",
"@vue/compiler-sfc": "^3.2.31",
"@vitejs/plugin-vue": "^2.2.4",
"autoprefixer": "^10.4.4",
"bili": "^5.0.5",
"cssnano": "^4.1.11",
"postcss": "^8.4.12",
"rollup": "^2.70.1",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-vue": "^6.0.0",
"tailwindcss": "^3.0.23"
"tailwindcss": "^3.0.23",
"vite": "^2.8.6",
"vue": "^3.2.31"
},
"dependencies": {
"peerDependencies": {
"vue": "^3.2.31"
},
"eslintConfig": {
"rules": {
"no-console": "off"
}
},
"pnpm": {
"overrides": {
"postcss@<7.0.36": ">=7.0.36",
"nth-check@<2.0.1": ">=2.0.1"
}
}
}

@@ -27,4 +27,5 @@ # xns-audio-player-simple

import { createApp } from "vue";
import App from "./App.vue";
import XnsAudioPlayerSimple from "xns-audio-player-simple";
import App from "./App.vue";
import "xns-audio-player-simple/styles.css"

@@ -40,6 +41,7 @@ const app = createApp(App);

<script>
import XnsAudioPlayerSimple from "xns-audio-player-simple";
import { XnsAudioPlayerSimple } from "xns-audio-player-simple";
import "xns-audio-player-simple/styles.css";
export default {
components: [XnsAudioPlayerSimple],
components: { XnsAudioPlayerSimple },
data(){

@@ -54,3 +56,3 @@ return {

**Import plugin inside a Vue SFC with the script setup sugar**
**Import plugin inside a Vue SFC with the script-setup sugar**

@@ -60,2 +62,3 @@ ```sh

import XnsAudioPlayerSimple from 'xns-audio-player-simple';
import "xns-audio-player-simple/styles.css";
import { ref } from "vue";

@@ -62,0 +65,0 @@ const playlist = ref([...]);

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc