@meijie/vue-fireworks 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +112 -27
- package/dist/engine.cjs +1 -0
- package/dist/engine.d.ts +20 -0
- package/dist/engine.js +187 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +95 -0
- package/dist/shared-shared-cjs.cjs +1 -0
- package/dist/shared-shared-es.js +6 -0
- package/dist/vue3.cjs +1 -0
- package/dist/vue3.d.ts +50 -0
- package/dist/vue3.js +96 -0
- package/package.json +46 -34
- package/dist/demo.html +0 -19
- package/dist/vueFireworks.common.js +0 -1798
- package/dist/vueFireworks.common.js.map +0 -1
- package/dist/vueFireworks.css +0 -1
- package/dist/vueFireworks.umd.js +0 -1808
- package/dist/vueFireworks.umd.js.map +0 -1
- package/dist/vueFireworks.umd.min.js +0 -2
- package/dist/vueFireworks.umd.min.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,44 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meijie/vue-fireworks",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"main": "./dist/
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Canvas 礼花/烟花特效组件,支持 Vue 2 与 Vue 3,可配置粒子数、颜色、形状、固定位置、跟随鼠标、拖尾与发光。",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
},
|
|
14
|
+
"./vue2": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./vue3": {
|
|
20
|
+
"types": "./dist/vue3.d.ts",
|
|
21
|
+
"import": "./dist/vue3.js",
|
|
22
|
+
"require": "./dist/vue3.cjs"
|
|
23
|
+
},
|
|
24
|
+
"./engine": {
|
|
25
|
+
"types": "./dist/engine.d.ts",
|
|
26
|
+
"import": "./dist/engine.js",
|
|
27
|
+
"require": "./dist/engine.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
6
30
|
"files": [
|
|
7
|
-
"dist
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"sideEffects": false,
|
|
34
|
+
"keywords": [
|
|
35
|
+
"vue",
|
|
36
|
+
"vue2",
|
|
37
|
+
"vue3",
|
|
38
|
+
"fireworks",
|
|
39
|
+
"canvas",
|
|
40
|
+
"animation",
|
|
41
|
+
"烟花",
|
|
42
|
+
"礼花"
|
|
8
43
|
],
|
|
9
44
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"test:unit": "vue-cli-service test:unit",
|
|
13
|
-
"test:e2e": "vue-cli-service test:e2e",
|
|
14
|
-
"lint": "vue-cli-service lint"
|
|
45
|
+
"build": "FORMAT=es vite build && FORMAT=cjs vite build && cp types/*.d.ts dist/",
|
|
46
|
+
"dev": "vite --config demo/vite.config.js"
|
|
15
47
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"vue": "^2.6.11",
|
|
19
|
-
"vue-router": "^3.2.0",
|
|
20
|
-
"vuex": "^3.4.0"
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"vue": "^2.6.0 || ^3.0.0"
|
|
21
50
|
},
|
|
51
|
+
"author": "meijie",
|
|
52
|
+
"license": "MIT",
|
|
22
53
|
"devDependencies": {
|
|
23
|
-
"
|
|
24
|
-
"@vue/cli-plugin-e2e-cypress": "~4.5.0",
|
|
25
|
-
"@vue/cli-plugin-eslint": "~4.5.0",
|
|
26
|
-
"@vue/cli-plugin-router": "~4.5.0",
|
|
27
|
-
"@vue/cli-plugin-unit-mocha": "~4.5.0",
|
|
28
|
-
"@vue/cli-plugin-vuex": "~4.5.0",
|
|
29
|
-
"@vue/cli-service": "~4.5.0",
|
|
30
|
-
"@vue/eslint-config-standard": "^5.1.2",
|
|
31
|
-
"@vue/test-utils": "^1.0.3",
|
|
32
|
-
"babel-eslint": "^10.1.0",
|
|
33
|
-
"chai": "^4.1.2",
|
|
34
|
-
"eslint": "^6.7.2",
|
|
35
|
-
"eslint-plugin-import": "^2.20.2",
|
|
36
|
-
"eslint-plugin-node": "^11.1.0",
|
|
37
|
-
"eslint-plugin-promise": "^4.2.1",
|
|
38
|
-
"eslint-plugin-standard": "^4.0.0",
|
|
39
|
-
"eslint-plugin-vue": "^6.2.2",
|
|
40
|
-
"node-sass": "^4.12.0",
|
|
41
|
-
"sass-loader": "^8.0.2",
|
|
42
|
-
"vue-template-compiler": "^2.6.11"
|
|
54
|
+
"vite": "^4.5.14"
|
|
43
55
|
}
|
|
44
56
|
}
|
package/dist/demo.html
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<meta charset="utf-8">
|
|
2
|
-
<title>vueFireworks demo</title>
|
|
3
|
-
<script src="https://unpkg.com/vue"></script>
|
|
4
|
-
<script src="./vueFireworks.umd.js"></script>
|
|
5
|
-
|
|
6
|
-
<link rel="stylesheet" href="./vueFireworks.css">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<div id="app">
|
|
10
|
-
<demo></demo>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
new Vue({
|
|
15
|
-
components: {
|
|
16
|
-
demo: vueFireworks
|
|
17
|
-
}
|
|
18
|
-
}).$mount('#app')
|
|
19
|
-
</script>
|