@nutrient-sdk/react-native
Version:
Nutrient React Native SDK
98 lines (96 loc) • 2.93 kB
JSON
{
"name": "@nutrient-sdk/react-native",
"version": "4.0.1",
"description": "Nutrient React Native SDK",
"keywords": [
"react native",
"pspdfkit",
"nutrient",
"pdf"
],
"homepage": "https://www.nutrient.io/sdk/react-native",
"bugs": {
"email": "support@nutrient.io"
},
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/PSPDFKit/react-native.git"
},
"main": "index.js",
"types": "types/index.d.ts",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"format": "prettier \"{samples/**/*.{md,js},*.{md,js}}\" --write",
"lint": "npx eslint",
"docs": "rm -rf jsdoc && jsdoc -c jsdoc.json",
"postdocs": "node types-scripts/fix-code-tags.js",
"generate-types": "npx -p typescript tsc --build tsconfig-types.json",
"append": "node types-scripts/append.js",
"build": "npx -p typescript tsc --build tsconfig.json",
"build-and-generate-types": "rm -rf types lib && npm run build && npm run generate-types && npm run append",
"copy-types-and-lib": "cd samples/Catalog/node_modules/@nutrient-sdk/react-native && rm -rf index.js lib src types && cd - && cp -rf index.js lib src types samples/Catalog/node_modules/@nutrient-sdk/react-native/",
"dev-build": "npm run build-and-generate-types && npm run docs && npm run copy-types-and-lib"
},
"peerDependencies": {
"@types/react": ">=17.0.0",
"prop-types": "^15.8.1",
"react": ">=17.0.0",
"react-native": ">=0.66.0"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/eslint-parser": "^7.26.10",
"@babel/runtime": "^7.26.10",
"@eslint/js": "^9.31.0",
"@react-native/eslint-config": "^0.78.0",
"@react-native/metro-config": "^0.78.0",
"@tsconfig/react-native": "^3.0.0",
"@types/react": ">=17.0.0",
"babel-jest": "^29.5.0",
"eslint": "^9.31.0",
"eslint-plugin-ft-flow": "^2.0.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"globals": "^15.0.0",
"jest": "^29.5.0",
"jsdoc": "^4.0.2",
"metro-react-native-babel-preset": "0.77.0",
"prettier": "^2.8.8",
"typescript": "^5.1.3"
},
"engines": {
"node": ">=16"
},
"codegenConfig": {
"name": "nutrient_sdk_react_native_codegen",
"type": "all",
"jsSrcsDir": "./src/specs",
"android": {
"javaPackageName": "com.pspdfkit.react",
"componentProvider": {
"NutrientView": "NutrientViewComponentDescriptor"
}
},
"ios": {
"componentProvider": {
"NutrientView": "NutrientView"
}
}
},
"files": [
"ios/",
"android/",
"lib/",
"src/",
"types/",
"babel.config.js",
"index.js",
"nutrient-sdk-react-native.podspec",
"tsconfig-types.json",
"tsconfig.json",
"package.json",
"License-Evaluation.pdf",
"react-native.config.js"
]
}