qr-decoder-js 1.0.1 → 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/dist/index.d.ts +1 -1
- package/dist/qr-decoder.js +233 -54
- package/dist/qr-decoder.umd.cjs +2 -2
- package/package.json +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qr-decoder-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Browser QR code decoder with character encoding detection and fallback decoding to reduce garbled Chinese and non-UTF-8 text.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/qr-decoder.umd.cjs",
|
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
"scripts": {
|
|
56
56
|
"dev": "vite",
|
|
57
57
|
"build": "vite build",
|
|
58
|
+
"build:demo": "vite build --config vite.demo.config.js",
|
|
58
59
|
"postbuild": "node -e \"require('fs').copyFileSync('src/types.d.ts', 'dist/index.d.ts')\"",
|
|
59
|
-
"preview": "vite preview"
|
|
60
|
+
"preview": "vite preview --outDir dist-demo"
|
|
60
61
|
}
|
|
61
62
|
}
|