xns-audio-player-simple
Advanced tools
Comparing version 3.1.1 to 3.2.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6
157
Yes
63042
6
873
2
- Removedvue@^3.2.31