@lanxuexing/vue2toast 0.0.7 → 1.0.2

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/package.json CHANGED
@@ -1,35 +1,66 @@
1
1
  {
2
2
  "name": "@lanxuexing/vue2toast",
3
- "version": "0.0.7",
4
- "description": "this is an information prompt tool on vue",
5
- "main": "dist/vue2toast.js",
3
+ "version": "1.0.2",
4
+ "description": "A lightweight, high-performance Toast notification plugin for Vue 3, built with TypeScript.",
5
+ "main": "dist/vue2toast.umd.js",
6
+ "module": "dist/vue2toast.es.js",
7
+ "types": "dist/index.d.ts",
6
8
  "author": "lanxuexing",
9
+ "license": "MIT",
10
+ "sideEffects": false,
7
11
  "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
12
+ "dev": "vite serve --config vite.config.demo.mjs",
13
+ "build": "vite build --config vite.config.js",
14
+ "build:demo": "vite build --config vite.config.demo.mjs",
15
+ "preview": "vite preview"
9
16
  },
10
17
  "keywords": [
11
- "toast",
18
+ "vue",
19
+ "vue3",
12
20
  "vue-toast",
13
- "vue2toast",
14
- "vue2-toast"
21
+ "toast",
22
+ "notification",
23
+ "message",
24
+ "alert",
25
+ "popup",
26
+ "component",
27
+ "plugin",
28
+ "typescript",
29
+ "ts"
15
30
  ],
16
- "dependencies": {
17
- "vue": "^2.3.4",
18
- "webpack": "^3.1.0"
31
+ "dependencies": {},
32
+ "peerDependencies": {
33
+ "vue": "^3.0.0"
19
34
  },
20
35
  "devDependencies": {
21
- "autoprefixer": "^7.1.2",
22
- "babel-core": "^6.25.0",
23
- "babel-loader": "^7.1.1",
24
- "babel-preset-env": "^1.6.0",
25
- "css-loader": "^0.28.4",
26
- "node-sass": "^4.5.3",
27
- "postcss-loader": "^2.0.6",
28
- "sass-loader": "^6.0.6",
29
- "style-loader": "^0.18.2",
30
- "uglifyjs-webpack-plugin": "^0.4.6",
31
- "vue-loader": "^13.0.1",
32
- "vue-template-compiler": "^2.3.4"
36
+ "@tailwindcss/vite": "^4.1.18",
37
+ "@types/node": "^22.10.2",
38
+ "@vitejs/plugin-vue": "^5.2.1",
39
+ "highlight.js": "^11.11.1",
40
+ "sass": "^1.83.0",
41
+ "tailwindcss": "^4.1.18",
42
+ "typescript": "^5.7.2",
43
+ "vite": "^6.0.5",
44
+ "vite-plugin-dts": "^4.3.0",
45
+ "vue": "^3.5.13",
46
+ "vue-tsc": "^2.1.10"
47
+ },
48
+ "overrides": {
49
+ "minimatch": "^9.0.5"
50
+ },
51
+ "files": [
52
+ "dist",
53
+ "README.md",
54
+ "README.zh-CN.md",
55
+ "LICENSE"
56
+ ],
57
+ "exports": {
58
+ ".": {
59
+ "types": "./dist/index.d.ts",
60
+ "import": "./dist/vue2toast.es.js",
61
+ "require": "./dist/vue2toast.umd.js"
62
+ },
63
+ "./style.css": "./dist/style.css"
33
64
  },
34
65
  "repository": {
35
66
  "type": "git",
@@ -40,5 +71,7 @@
40
71
  "email": "geziaihuahua@163.com"
41
72
  },
42
73
  "homepage": "https://github.com/lanxuexing/vue2toast#readme",
43
- "license": "MIT"
44
- }
74
+ "engines": {
75
+ "node": ">=18.0.0"
76
+ }
77
+ }
package/.babelrc DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "presets": []
3
- }