UNPKG

code-craft-studio

Version:

A comprehensive QR code and barcode scanning/generation library for React. Works with or without Capacitor. Supports 22+ QR data types and 14+ barcode formats (EAN, UPC, Code 128, etc.), with customizable designs, analytics, and React components. Provider

158 lines (157 loc) 4.33 kB
{ "name": "code-craft-studio", "version": "2.0.0", "description": "A comprehensive QR code and barcode scanning/generation library for React. Works with or without Capacitor. Supports 22+ QR data types and 14+ barcode formats (EAN, UPC, Code 128, etc.), with customizable designs, analytics, and React components. Provider-less architecture for easy integration.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "unpkg": "dist/plugin.js", "bin": { "code-craft-studio-setup": "./scripts/setup.js" }, "files": [ "android/src/main/", "android/build.gradle", "android/gradle.properties", "android/settings.gradle", "android/proguard-rules.pro", "dist/", "ios/Plugin/", "CodeCraftStudio.podspec", "scripts/", "src/components/**/*.css", "src/styles/" ], "author": { "email": "aoneahsan@gmail.com", "name": "Ahsan Mahmood (Aoneahsan)", "url": "https://aoneahsan.com" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/aoneahsan/code-craft-studio.git" }, "bugs": { "url": "https://github.com/aoneahsan/code-craft-studio/issues" }, "keywords": [ "capacitor", "qrcode", "qr-scanner", "qr-generator", "barcode", "barcode-scanner", "barcode-generator", "ean13", "ean8", "upc", "code128", "code39", "datamatrix", "pdf417", "aztec", "react", "ios", "android", "web", "qr-code-studio", "qr-analytics", "qr-customization", "zxing", "ml-kit" ], "scripts": { "build": "yarn clean && yarn tsc && rollup -c rollup.config.js", "clean": "rimraf ./dist", "tsc": "tsc", "watch": "tsc --watch", "lint": "eslint . --ext ts", "prettier": "prettier --write .", "test": "vitest run", "test:watch": "vitest", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "cypress": "cypress open", "cypress:run": "cypress run", "e2e": "cypress run", "e2e:open": "cypress open", "e2e:headless": "cypress run --headless", "serve": "vite preview --port 3000", "prepublishOnly": "yarn build", "swiftlint": "cd ios && swiftlint lint --fix --format --path Plugin --verbose", "postinstall": "node scripts/postinstall.js || echo 'Postinstall script not found, skipping...'" }, "dependencies": { "@zxing/browser": "^0.1.5", "@zxing/library": "^0.21.3", "jsbarcode": "^3.12.1", "qr-scanner": "^1.4.2", "qrcode": "^1.5.4" }, "devDependencies": { "@capacitor/android": "^7.4.2", "@capacitor/cli": "^7.4.2", "@capacitor/core": "^7.4.2", "@capacitor/ios": "^7.4.2", "@cypress/react": "^9.0.1", "@cypress/webpack-dev-server": "^4.1.1", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.4", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/node": "^24.1.0", "@types/qrcode": "^1.5.5", "@types/react": "^19.1.9", "@types/react-dom": "^19.1.7", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "@vitejs/plugin-react": "^4.7.0", "@vitest/coverage-v8": "^3.2.4", "cypress": "^14.5.3", "eslint": "^9.32.0", "jsdom": "^26.1.0", "prettier": "^3.6.2", "react": "^19.1.1", "react-dom": "^19.1.1", "rimraf": "^6.0.1", "rollup": "^4.46.2", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "peerDependencies": { "react": ">=19.1.1", "react-dom": ">=19.1.1" }, "optionalDependencies": { "@capacitor/core": "^7.4.2", "@capacitor/preferences": "^7.0.1", "@capacitor/filesystem": "^7.0.0" }, "peerDependenciesMeta": { "@capacitor/core": { "optional": true }, "@capacitor/preferences": { "optional": true }, "@capacitor/filesystem": { "optional": true } }, "capacitor": { "ios": { "src": "ios" }, "android": { "src": "android" } }, "release": { "npm": "https://www.npmjs.com/package/code-craft-studio" } }