react-native-ssl-public-key-pinning
Version:
Simple and secure SSL public key pinning for React Native. No native configuration needed, set up in <5 minutes.
172 lines (171 loc) • 4.09 kB
JSON
{
"name": "react-native-ssl-public-key-pinning",
"version": "1.2.6",
"description": "Simple and secure SSL public key pinning for React Native. No native configuration needed, set up in <5 minutes.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"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 react-native-ssl-public-key-pinning-example",
"test": "jest",
"typecheck": "tsc --noEmit",
"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"
},
"keywords": [
"react-native",
"ios",
"android",
"ssl",
"ssl-pinning",
"network"
],
"repository": "https://github.com/frw/react-native-ssl-public-key-pinning",
"author": "Frederick Widjaja <widjaja.frederick@gmail.com> (https://github.com/frw)",
"license": "MIT",
"bugs": {
"url": "https://github.com/frw/react-native-ssl-public-key-pinning/issues"
},
"homepage": "https://github.com/frw/react-native-ssl-public-key-pinning#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.1.0",
"@evilmartians/lefthook": "^1.2.2",
"@react-native/babel-preset": "0.79.1",
"@react-native/eslint-config": "0.79.2",
"@release-it/conventional-changelog": "^10.0.0",
"@types/jest": "^29.5.10",
"@types/node": "^24.0.3",
"@types/react": "~18.3.1",
"commitlint": "^19.0.3",
"del-cli": "^6.0.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"pod-install": "^0.3.9",
"prettier": "^3.1.0",
"react": "18.3.1",
"react-native": "0.79.1",
"react-native-builder-bob": "^0.36.0",
"release-it": "^18.1.1",
"ts-node": "^10.9.2",
"typescript": "~5.5.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "yarn@4.9.1",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"plugins": [
"detox",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"endOfLine": "auto"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RNSslPublicKeyPinningSpec",
"type": "modules",
"jsSrcsDir": "src"
}
}