UNPKG

@epubjs-react-native/core

Version:

A digital book reader in .opf .epub format for react native using epub.js library inside a webview.

141 lines (140 loc) 4.24 kB
{ "name": "@epubjs-react-native/core", "version": "1.4.7", "description": "A digital book reader in .opf .epub format for react native using epub.js library inside a webview.", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "lib/commonjs/index", "source": "lib/commonjs/index", "files": [ "lib", "android", "ios", "cpp", "epubjs-react-native.podspec", "!lib/typescript/example", "!android/build", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "prepare": "bob build", "prettier:format": "prettier --write .", "lint": "eslint ./src/ --ext .ts,.tsx,.js,.json", "lint:fix": "eslint --fix ./src/ --ext .ts,.tsx,.js,.json", "type-check": "tsc -p tsconfig.build.json --noEmit --pretty", "test": "jest --watch --runInBand --passWithNoTests", "test:coverage": "jest --coverage --no-cache --runInBand --passWithNoTests --forceExit", "build": "bob build", "release": "yarn build && npm publish", "release:beta": "yarn build && npm publish --tag beta", "release:alpha": "yarn build && npm publish --tag alpha", "release-local": "yarn build && npm link && echo [FINISH]: Run \"npm link @epubjs-react-native/core\" to link the package to your project", "release-to-examples": "yarn build && node ./scripts/release-to-examples.js", "example-bare": "yarn --cwd example-bare", "example-expo": "yarn --cwd example-expo", "bootstrap": "yarn example-bare && yarn example-expo && yarn" }, "keywords": [ "react", "ios", "android", "react-native", "epub", "epub-reader", "epubjs" ], "repository": "https://github.com/victorsoares96/epubjs-react-native", "author": "Victor Soares <vitorsoares96@hotmail.com> (https://github.com/victorsoares96)", "license": "MIT", "bugs": { "url": "https://github.com/victorsoares96/epubjs-react-native/issues" }, "homepage": "https://github.com/victorsoares96/epubjs-react-native#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "devDependencies": { "@react-native-community/eslint-config": "3.2.0", "@testing-library/jest-native": "5.4.3", "@testing-library/react-native": "12.6.0", "@types/jest": "29.5.12", "@types/react": "~18.3.0", "@types/react-test-renderer": "18.3.0", "@typescript-eslint/eslint-plugin": "7.11.0", "@typescript-eslint/parser": "7.11.0", "commitizen": "4.3.0", "commitizen-emoji": "1.0.5", "eslint": "8.57.0", "eslint-config-airbnb": "19.0.4", "eslint-config-airbnb-typescript": "18.0.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "2.29.1", "eslint-plugin-jest": "^28.0.0", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-jsx-a11y": "6.9.0", "eslint-plugin-react": "7.35.0", "eslint-plugin-react-hooks": "4.6.2", "eslint-plugin-testing-library": "6.2.2", "husky": "9.0.11", "jest": "29.7.0", "lint-staged": "15.2.5", "metro-react-native-babel-preset": "^0.77.0", "pod-install": "0.2.2", "prettier": "3.2.5", "react": "18.3.1", "react-native": "0.75.2", "react-native-builder-bob": "0.23.2", "react-native-gesture-handler": "^2.12.0", "react-native-webview": "13.11.1", "react-test-renderer": "18.3.1", "ts-jest": "29.1.4", "ts-node": "10.9.2", "typescript": "^5.4.5" }, "resolutions": { "@types/react": "~18.3.0" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-gesture-handler": "*", "react-native-webview": "*" }, "config": { "commitizen": { "path": "./node_modules/commitizen-emoji" }, "commitizenEmoji": { "conventionalFormat": true } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "sourceMaps": false } ], [ "module", { "sourceMaps": false } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] } }