vue-screenfull 1.0.9 → 1.1.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-screenfull",
3
- "version": "1.0.9",
3
+ "version": "1.1.1",
4
4
  "description": "Reactive, strongly typed, SSR-safe fullscreen utilities for Vue 3.",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
@@ -12,6 +12,15 @@
12
12
  "require": "./lib/index.cjs.js",
13
13
  "default": "./lib/index.mjs"
14
14
  },
15
+ "./browser": {
16
+ "types": "./lib/browser.d.ts",
17
+ "import": "./lib/browser.mjs",
18
+ "require": "./lib/browser.cjs.js",
19
+ "default": "./lib/browser.mjs"
20
+ },
21
+ "./lib/browser.cjs.js": "./lib/browser.cjs.js",
22
+ "./lib/browser.esm.js": "./lib/browser.esm.js",
23
+ "./lib/vue-screenfull.browser.min.js": "./lib/vue-screenfull.browser.min.js",
15
24
  "./lib/index.cjs.js": "./lib/index.cjs.js",
16
25
  "./lib/index.esm.js": "./lib/index.esm.js",
17
26
  "./lib/vue-screenfull.min.js": "./lib/vue-screenfull.min.js",
@@ -33,6 +42,7 @@
33
42
  "build:dev": "webpack --config ./scripts/webpack.config.dev.js",
34
43
  "build:playground": "cross-env GITHUB_PAGES=true webpack --mode production --config ./scripts/webpack.config.dev.js",
35
44
  "test": "jest",
45
+ "test:package": "node scripts/test-browser-package.js",
36
46
  "test:coverage": "jest --coverage",
37
47
  "typecheck": "tsc --noEmit",
38
48
  "docs": "typedoc --out ./docs/api --readme ./README.md --excludeProtected --excludePrivate --excludeInternal --hideGenerator && npm run build:playground && node scripts/build-pages.js && npm run seo:validate && npm run pwa:validate",
@@ -42,7 +52,7 @@
42
52
  "lint:fix": "npm run lint -- --fix",
43
53
  "format": "prettier --write .",
44
54
  "format:check": "prettier --check .",
45
- "preview": "npm run typecheck && npm run lint && npm run build && npm run test",
55
+ "preview": "npm run typecheck && npm run lint && npm run build && npm run test && npm run test:package",
46
56
  "release": "npm run preview && npm publish",
47
57
  "prepare": "husky"
48
58
  },
@@ -82,6 +92,7 @@
82
92
  "@rollup/plugin-babel": "^7.1.0",
83
93
  "@rollup/plugin-terser": "^1.0.0",
84
94
  "@rollup/plugin-typescript": "^12.3.0",
95
+ "bootstrap-icons": "^1.13.1",
85
96
  "cross-env": "^10.1.0",
86
97
  "eslint": "^10.6.0",
87
98
  "globals": "^17.7.0",
@@ -115,7 +126,12 @@
115
126
  "peerDependencies": {
116
127
  "vue": "^3.3.0"
117
128
  },
129
+ "peerDependenciesMeta": {
130
+ "vue": {
131
+ "optional": true
132
+ }
133
+ },
118
134
  "dependencies": {
119
- "mazey": "5.6.2"
135
+ "mazey": "5.7.3"
120
136
  }
121
137
  }