You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

156 lines
5.0 KiB

8 months ago
{
"_from": "zxing-wasm@1.3.4",
"_id": "zxing-wasm@1.3.4",
"_inBundle": false,
"_integrity": "sha512-9l0QymyATF19FmI92QHe7Dayb+BUN7P7zFAt5iDgTnUf0dFWokz6GVA/W9EepjW5q8s3e89fIE/7uxpX27yqEQ==",
"_location": "/zxing-wasm",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "zxing-wasm@1.3.4",
"name": "zxing-wasm",
"escapedName": "zxing-wasm",
"rawSpec": "1.3.4",
"saveSpec": null,
"fetchSpec": "1.3.4"
},
"_requiredBy": [
"/barcode-detector"
],
"_resolved": "https://registry.npmmirror.com/zxing-wasm/-/zxing-wasm-1.3.4.tgz",
"_shasum": "4bc45b78dc3594278bb0c24233bfb035ca9efab1",
"_spec": "zxing-wasm@1.3.4",
"_where": "D:\\work\\tourGuide\\node_modules\\barcode-detector",
"author": {
"name": "Ze-Zheng Wu"
},
"bugs": {
"url": "https://github.com/Sec-ant/zxing-wasm/issues",
"email": "zezhengwu@proton.me"
},
"bundleDependencies": false,
"dependencies": {
"@types/emscripten": "^1.39.13"
},
"deprecated": false,
"description": "ZXing-C++ WebAssembly as an ES/CJS module with types",
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/types": "^7.26.0",
"@biomejs/biome": "1.9.4",
"@changesets/cli": "^2.27.9",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.9.0",
"@vitest/ui": "^2.1.4",
"concurrently": "^9.1.0",
"copy-files-from-to": "^3.11.0",
"jimp": "^1.6.0",
"lint-staged": "^15.2.10",
"nano-memoize": "^3.0.16",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"tinyglobby": "^0.2.10",
"tsx": "^4.19.2",
"typedoc": "^0.26.11",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vite-plugin-babel": "^1.2.0",
"vitest": "^2.1.4"
},
"exports": {
".": {
"import": "./dist/es/full/index.js",
"require": "./dist/cjs/full/index.js",
"default": "./dist/es/full/index.js"
},
"./full": {
"import": "./dist/es/full/index.js",
"require": "./dist/cjs/full/index.js",
"default": "./dist/es/full/index.js"
},
"./reader": {
"import": "./dist/es/reader/index.js",
"require": "./dist/cjs/reader/index.js",
"default": "./dist/es/reader/index.js"
},
"./writer": {
"import": "./dist/es/writer/index.js",
"require": "./dist/cjs/writer/index.js",
"default": "./dist/es/writer/index.js"
},
"./reader/zxing_reader.wasm": "./dist/reader/zxing_reader.wasm",
"./writer/zxing_writer.wasm": "./dist/writer/zxing_writer.wasm",
"./full/zxing_full.wasm": "./dist/full/zxing_full.wasm"
},
"files": [
"./dist"
],
"homepage": "https://github.com/Sec-ant/zxing-wasm",
"keywords": [
"qrcode",
"barcode",
"wasm",
"zxing",
"zxing-cpp",
"esmodule",
"webassembly"
],
"license": "MIT",
"main": "./dist/cjs/full/index.js",
"module": "./dist/es/full/index.js",
"name": "zxing-wasm",
"overrides": {
"typedoc": {
"typescript": "$typescript"
}
},
"private": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Sec-ant/zxing-wasm.git"
},
"scripts": {
"build": "conc \"pnpm:build:es\" \"pnpm:build:cjs\" \"pnpm:build:iife\"",
"build:all": "pnpm -s submodule:init && pnpm -s cmake && pnpm -s build:wasm && pnpm -s build",
"build:cjs": "tsx ./scripts/build-cjs.ts",
"build:es": "vite build",
"build:iife": "tsx ./scripts/build-iife.ts",
"build:wasm": "cmake --build build -j$(($(nproc 2>/dev/null || sysctl -n hw.logicalcpu) - 1))",
"bump-biome:latest": "pnpm add -DE @biomejs/biome@latest",
"bump-biome:nightly": "pnpm add -DE @biomejs/biome@nightly",
"check": "pnpm -s format:prettier && pnpm -s check:biome",
"check:biome": "biome check --write .",
"clear:dist": "rimraf dist",
"cmake": "emcmake cmake -S src/cpp -B build",
"copy:wasm": "copy-files-from-to",
"dev": "vite",
"docs:build": "typedoc --excludeInternal",
"docs:dev": "conc \"pnpm:docs:preview\" \"typedoc --watch --excludeInternal\"",
"docs:preview": "vite preview --outDir ./docs",
"format": "pnpm -s format:prettier && pnpm -s format:biome",
"format:biome": "biome format . --write",
"format:prettier": "pretty-quick",
"lint": "biome lint .",
"postbuild": "conc \"pnpm:copy:wasm\" \"pnpm:docs:build\"",
"postbuild:cjs": "tsc -p ./tsconfig.pkg.json --declarationDir ./dist/cjs",
"postbuild:es": "tsc -p ./tsconfig.pkg.json --declarationDir ./dist/es",
"prebuild": "pnpm -s check && pnpm -s type-check && pnpm -s clear:dist",
"preview": "vite preview",
"submodule:init": "git submodule update --init",
"submodule:update": "git submodule update --remote",
"sync-emsdk": "./scripts/sync-emsdk.sh",
"test": "vitest --hideSkippedTests",
"test:ui": "vitest --hideSkippedTests --ui",
"type-check": "tsc -p ./tsconfig.pkg.json --noEmit --emitDeclarationOnly false",
"update-hooks": "simple-git-hooks"
},
"type": "module",
"version": "1.3.4"
}