@wanjunshijie/vue-seamless-scroll 2.0.0 → 3.0.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/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@wanjunshijie/vue-seamless-scroll",
3
- "version": "2.0.0",
4
3
  "private": false,
4
+ "version": "3.0.0",
5
+ "type": "module",
5
6
  "author": "wanjunshijie",
6
7
  "license": "MIT",
7
8
  "description": "A simple vue seamless scroll component.",
@@ -12,56 +13,51 @@
12
13
  "typescript",
13
14
  "scroll"
14
15
  ],
16
+ "scripts": {
17
+ "dev": "vite",
18
+ "build": "vue-tsc && vite build",
19
+ "preview": "vite preview",
20
+ "pub": "npm publish --tag latest"
21
+ },
15
22
  "repository": {
16
23
  "type": "git",
17
24
  "url": "git+https://github.com/yelingkong/vue-seamless-scroll.git"
18
25
  },
26
+ "bugs": {
27
+ "url": "https://github.com/yelingkong/vue-seamless-scroll/issues"
28
+ },
29
+ "homepage": "https://github.com/yelingkong/vue-seamless-scroll#readme",
19
30
  "publishConfig": {
20
31
  "access": "public",
21
32
  "registry": "https://registry.npmjs.org"
22
33
  },
23
- "scripts": {
24
- "serve": "vue-cli-service serve",
25
- "build": "vue-cli-service build",
26
- "lib": "vue-cli-service build --target lib --name vue-seamless-scroll packages/index.js",
27
- "lint": "vue-cli-service lint",
28
- "pub": "npm publish --tag latest-v2"
29
- },
30
34
  "dependencies": {
31
- "core-js": "^3.8.3",
32
- "vue": "^2.6.14"
35
+ "vue": "^3.3.11"
33
36
  },
34
37
  "devDependencies": {
35
- "@babel/core": "^7.12.16",
36
- "@babel/eslint-parser": "^7.12.16",
37
- "@vue/cli-plugin-babel": "~5.0.0",
38
- "@vue/cli-plugin-eslint": "~5.0.0",
39
- "@vue/cli-service": "~5.0.0",
40
- "eslint": "^7.32.0",
41
- "eslint-plugin-vue": "^8.0.3",
42
- "vue-template-compiler": "^2.6.14"
38
+ "@vitejs/plugin-vue": "^4.5.2",
39
+ "typescript": "^5.2.2",
40
+ "vite": "^5.0.8",
41
+ "vite-plugin-dts": "^3.7.0",
42
+ "vue-tsc": "^1.8.25"
43
43
  },
44
- "eslintConfig": {
45
- "root": true,
46
- "env": {
47
- "node": true
48
- },
49
- "extends": [
50
- "plugin:vue/essential",
51
- "eslint:recommended"
52
- ],
53
- "parserOptions": {
54
- "parser": "@babel/eslint-parser"
55
- },
56
- "rules": {}
57
- },
58
- "browserslist": [
59
- "> 1%",
60
- "last 2 versions",
61
- "not dead"
62
- ],
63
44
  "files": [
64
45
  "dist"
65
46
  ],
66
- "main": "dist/vue-seamless-scroll.umd.min.js"
47
+ "main": "dist/vue-seamless-scroll.umd.js",
48
+ "module": "dist/vue-seamless-scroll.es.js",
49
+ "types": "dist/index.d.ts",
50
+ "exports": {
51
+ ".": {
52
+ "import": {
53
+ "default": "./dist/vue-seamless-scroll.es.js",
54
+ "types": "./dist/index.d.ts"
55
+ },
56
+ "require": {
57
+ "default": "./dist/vue-seamless-scroll.umd.js",
58
+ "types": "./dist/index.d.ts"
59
+ }
60
+ },
61
+ "./dist/style.css": "./dist/style.css"
62
+ }
67
63
  }
package/dist/demo.html DELETED
@@ -1 +0,0 @@
1
- <!doctype html><meta charset="utf-8"><title>vue-seamless-scroll demo</title><script src="./vue-seamless-scroll.umd.js"></script><script>console.log(vue-seamless-scroll)</script>