{
  "name": "@sec-ant/zxing-wasm",
  "description": "An ES module wrapper of zxing-wasm-build",
  "private": false,
  "version": "2.2.0",
  "type": "module",
  "files": [
    "./dist"
  ],
  "main": "./dist/full/index.js",
  "module": "./dist/full/index.js",
  "exports": {
    ".": "./dist/full/index.js",
    "./reader": "./dist/reader/index.js",
    "./writer": "./dist/writer/index.js",
    "./full": "./dist/full/index.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Sec-ant/zxing-wasm.git"
  },
  "homepage": "https://github.com/Sec-ant/zxing-wasm",
  "bugs": {
    "url": "https://github.com/Sec-ant/zxing-wasm/issues",
    "email": "zzwu@zju.edu.cn"
  },
  "keywords": [
    "qrcode",
    "barcode",
    "wasm",
    "zxing",
    "zxing-cpp",
    "esmodule",
    "webassembly"
  ],
  "author": {
    "name": "Ze-Zheng Wu"
  },
  "license": "MIT",
  "config": {
    "zxing_wasm_repo_url": "https://github.com/Sec-ant/zxing-wasm-build",
    "zxing_wasm_path": "releases/latest/download",
    "zxing_wasm_full_name": "zxing_full",
    "zxing_wasm_reader_name": "zxing_reader",
    "zxing_wasm_writer_name": "zxing_writer"
  },
  "scripts": {
    "fetch": "cross-env ZXING_WASM_REPO_URL=$npm_package_config_zxing_wasm_repo_url ZXING_WASM_PATH=$npm_package_config_zxing_wasm_path ZXING_WASM_FULL_NAME=$npm_package_config_zxing_wasm_full_name ZXING_WASM_READER_NAME=$npm_package_config_zxing_wasm_reader_name ZXING_WASM_WRITER_NAME=$npm_package_config_zxing_wasm_writer_name bash fetch-artifacts.sh",
    "dev": "vite",
    "lint": "eslint . --ext .ts",
    "type-check": "tsc --noEmit --emitDeclarationOnly false",
    "format": "prettier . --write",
    "prebuild": "npm run lint && npm run type-check && npm run format",
    "build": "vite build",
    "postbuild": "tsc",
    "test": "vitest",
    "test:ui": "vitest --ui",
    "preview": "vite preview",
    "prepublishOnly": "npm run build",
    "ncu": "npx npm-check-updates -u",
    "postncu": "npm i"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^6.8.0",
    "@typescript-eslint/parser": "^6.8.0",
    "@vitest/browser": "^0.34.6",
    "@vitest/coverage-istanbul": "^0.34.6",
    "@vitest/ui": "^0.34.6",
    "cross-env": "^7.0.3",
    "eslint": "^8.52.0",
    "npm-check-updates": "^16.14.6",
    "playwright": "^1.39.0",
    "prettier": "^3.0.3",
    "replace-in-file": "^7.0.1",
    "typescript": "^5.2.2",
    "vite": "^4.5.0",
    "vite-plugin-static-copy": "^0.17.0",
    "vitest": "^0.34.6"
  },
  "dependencies": {
    "@types/emscripten": "^1.39.9",
    "zustand": "^4.4.3"
  }
}
