UNPKG

mobile-native-barcode-generator

Version:

Library to generate barcodes and qr codes natively using Kotlin and Swift, integrated with react native.

207 lines (206 loc) 5.07 kB
{ "name": "mobile-native-barcode-generator", "version": "0.0.7", "description": "Library to generate barcodes and qr codes natively using Kotlin and Swift, integrated with react native.", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/commonjs/src/index.d.ts", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "files": [ "lib", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace mobile-native-barcode-generator-example", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it", "test": "jest --verbose", "test:watch": "jest --watchAll", "test:coverage": "jest --coverage", "test:verbose:coverege": "jest --coverage --verbose" }, "keywords": [ "react-native", "ios", "android", "barcode", "qr-code", "barcode-generator", "qr-code-generator", "mobile-native-barcode-generator" ], "repository": { "type": "git", "url": "git+https://github.com/gabriel-logan/mobile-native-barcode-generator.git" }, "author": "Gabriel Logan", "license": "MIT", "bugs": { "url": "https://github.com/gabriel-logan/mobile-native-barcode-generator/issues" }, "homepage": "https://github.com/gabriel-logan/mobile-native-barcode-generator#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native/eslint-config": "^0.75.2", "@release-it/conventional-changelog": "^5.0.0", "@testing-library/react-native": "^12.6.1", "@types/jest": "^29.5.5", "@types/react": "^18.2.44", "commitlint": "^17.0.2", "del-cli": "^5.1.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-config-universe": "^13.0.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-testing-library": "^6.3.0", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "18.3.1", "react-native": "0.75.2", "react-native-builder-bob": "^0.30.0", "react-test-renderer": "^18.3.1", "release-it": "^15.0.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@4.4.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ], "setupFilesAfterEnv": [ "@testing-library/react-native/extend-expect" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "increment": "patch", "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "parser": "@typescript-eslint/parser", "parserOptions": { "project": "tsconfig.json" }, "root": true, "extends": [ "@react-native", "universe/native" ], "overrides": [ { "files": [ "**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)" ], "extends": [ "plugin:testing-library/react" ] } ], "rules": { "react-hooks/exhaustive-deps": "error", "react/react-in-jsx-scope": "off", "no-console": "warn", "@typescript-eslint/consistent-type-imports": "error", "@typescript-eslint/consistent-type-exports": "error" } }, "eslintIgnore": [ "node_modules/", "lib/", "coverage/" ], "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "create-react-native-library": { "type": "module-legacy", "languages": "kotlin-swift", "version": "0.41.0" } }