-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.61 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "web-wasm-barcode-reader",
"version": "1.6.0",
"description": "Barcode scanner powered by ZBar compiled to WebAssembly",
"keywords": ["barcode", "scanner", "wasm", "webassembly", "zbar", "qr-code"],
"license": "MIT",
"author": "ilhan negis",
"homepage":"https://eringen.com/blog/barcode-scanning-on-ios-the-missing-web-api-and-a-webassembly-solution",
"bugs": {
"url": "https://github.com/eringen/web-wasm-barcode-reader/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/eringen/web-wasm-barcode-reader"
},
"type": "module",
"main": "dist/web-wasm-barcode-reader.umd.cjs",
"module": "dist/web-wasm-barcode-reader.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/web-wasm-barcode-reader.js",
"require": "./dist/web-wasm-barcode-reader.umd.cjs"
},
"./vite-plugin": {
"types": "./dist/vite-plugin.d.ts",
"import": "./dist/vite-plugin.js"
}
},
"files": [
"dist",
"public/a.out.js",
"public/a.out.wasm"
],
"sideEffects": false,
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"build:lib": "vite build --config vite.lib.config.ts && tsc --project tsconfig.lib.json",
"build:plugin": "vite build --config vite.plugin.config.ts && tsc --project tsconfig.plugin.json",
"build:all": "rm -rf dist && npm run build:lib && npm run build:plugin",
"preview": "vite preview",
"prepublishOnly": "npm run build:all"
},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.7.0",
"vite": "^6.0.0"
}
}