lucky-canvas
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,1 @@ | ||
module.exports = require('./dist/web-luck-draw.cjs.min.js') | ||
module.exports = require('./dist/lucky-canvas.cjs.min.js') |
{ | ||
"name": "lucky-canvas", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "一个基于原生 js 的(大转盘抽奖 / 九宫格抽奖)插件", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
<div align="center"> | ||
<img src="./logo.png" width="200" alt="logo" /> | ||
<h1>web-luck-draw 抽奖插件</h1> | ||
<h1>lucky-canvas 抽奖插件</h1> | ||
<p>一个基于 JavaScript 的 ( 大转盘 / 九宫格 ) 抽奖插件</p> | ||
<p class="hidden"> | ||
<a href="https://github.com/luckdraw/web-luck-draw#readme">简体中文</a> | ||
<a href="https://github.com/luckdraw/lucky-canvas#readme">简体中文</a> | ||
· | ||
<a href="https://github.com/luckdraw/web-luck-draw/tree/master/en">English</a> | ||
<a href="https://github.com/luckdraw/lucky-canvas/tree/master/en">English</a> | ||
</p> | ||
<p> | ||
<a href="https://github.com/luckdraw/web-luck-draw/stargazers" target="_black"> | ||
<img src="https://img.shields.io/github/stars/luckdraw/web-luck-draw?&logo=github" alt="stars" /> | ||
<a href="https://github.com/luckdraw/lucky-canvas/stargazers" target="_black"> | ||
<img src="https://img.shields.io/github/stars/luckdraw/lucky-canvas?&logo=github" alt="stars" /> | ||
</a> | ||
<a href="https://github.com/luckdraw/web-luck-draw/network/members" target="_black"> | ||
<img src="https://img.shields.io/github/forks/luckdraw/web-luck-draw?logo=github" alt="forks" /> | ||
<a href="https://github.com/luckdraw/lucky-canvas/network/members" target="_black"> | ||
<img src="https://img.shields.io/github/forks/luckdraw/lucky-canvas?logo=github" alt="forks" /> | ||
</a> | ||
<a href="https://www.npmjs.com/package/web-luck-draw" target="_black"> | ||
<img src="https://img.shields.io/github/package-json/v/luckdraw/web-luck-draw?&logo=npm" alt="version" /> | ||
<a href="https://www.npmjs.com/package/lucky-canvas" target="_black"> | ||
<img src="https://img.shields.io/github/package-json/v/luckdraw/lucky-canvas?&logo=npm" alt="version" /> | ||
</a> | ||
<a href="https://www.npmjs.com/package/web-luck-draw" target="_black"> | ||
<img src="https://img.shields.io/npm/dt/web-luck-draw?&logo=npm" alt="downloads" /> | ||
<a href="https://www.npmjs.com/package/lucky-canvas" target="_black"> | ||
<img src="https://img.shields.io/npm/dt/lucky-canvas?&logo=npm" alt="downloads" /> | ||
</a> | ||
<a href="https://github.com/luckdraw/web-luck-draw/tree/master/dist" target="_black"> | ||
<img src="https://img.shields.io/github/size/luckdraw/web-luck-draw/dist/web-luck-draw.umd.min.js?&logo=npm" alt="size" /> | ||
<a href="https://github.com/luckdraw/lucky-canvas/tree/master/dist" target="_black"> | ||
<img src="https://img.shields.io/github/size/luckdraw/lucky-canvas/dist/lucky-canvas.umd.min.js?&logo=npm" alt="size" /> | ||
</a> | ||
@@ -32,4 +32,4 @@ </p> | ||
</a> | ||
<a href="https://github.com/luckdraw/web-luck-draw/blob/master/LICENSE" target="_black"> | ||
<img src="https://img.shields.io/github/license/luckdraw/web-luck-draw?&logo=github" alt="license" /> | ||
<a href="https://github.com/luckdraw/lucky-canvas/blob/master/LICENSE" target="_black"> | ||
<img src="https://img.shields.io/github/license/luckdraw/lucky-canvas?&logo=github" alt="license" /> | ||
</a> | ||
@@ -53,9 +53,9 @@ </p> | ||
从下面的链接里下载一个叫`web-luck-draw.umd.min.js`的 js 文件, 然后使用 script 标签引入 | ||
从下面的链接里下载一个叫`lucky-canvas.umd.min.js`的 js 文件, 然后使用 script 标签引入 | ||
- [https://github.com/luckdraw/web-luck-draw/tree/master/dist](https://github.com/luckdraw/web-luck-draw/tree/master/dist) | ||
- [https://github.com/luckdraw/lucky-canvas/tree/master/dist](https://github.com/luckdraw/lucky-canvas/tree/master/dist) | ||
```html | ||
<div id="my-lucky" style="width: 300px; height: 300px"></div> | ||
<script src="./web-luck-draw.umd.min.js"></script> | ||
<script src="./lucky-canvas.umd.min.js"></script> | ||
<script> | ||
@@ -62,0 +62,0 @@ |
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
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
146277
2633