react-native-ios-context-menu/package.json
2021-11-27 17:29:38 +08:00

128 lines
3.4 KiB
JSON

{
"name": "react-native-ios-context-menu",
"version": "1.6.2",
"description": "A react-native component to use context menu's (UIMenu) on iOS 13/14+",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"react-native-ios-context-menu.podspec",
"!lib/typescript/example",
"!android/build",
"!ios/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"typescript": "tsc --noEmit --project tsconfig.build.json",
"typescript-example": "cd example && tsc --noEmit --project tsconfig.json",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"prepare": "bob build",
"release": "release-it --only-version && gh workflow run 'Build Example'",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods",
"build": "yarn run lint && yarn run bob build && cd example/ios && pod install && xcodebuild -workspace IosContextMenuExample.xcworkspace -scheme IosContextMenuExample",
"run-release": "cd example && npx react-native run-ios --simulator \"iPhone 8\" --configuration Release",
"run-debug": "cd example && npx react-native run-ios --simulator \"iPhone 8\" --configuration Debug"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": "https://github.com/indominicstop/react-native-ios-context-menu",
"author": "Dominic Go <18517029+dominicstop@users.noreply.github.com> (https://github.com/dominicstop)",
"license": "MIT",
"bugs": {
"url": "https://github.com/dominicstop/react-native-ios-context-menu/issues"
},
"homepage": "https://github.com/dominicstop/react-native-ios-context-menu#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@react-native-community/eslint-config": "^2.0.0",
"@types/react": "^16.9.19",
"@types/react-native": "0.62.13",
"eslint": "^7.2.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.1.3",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "16.13.1",
"react-native": "0.63.4",
"react-native-builder-bob": "^0.18.0",
"release-it": "^14.2.2",
"typescript": "^4.1.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"release-it": {
"git": {
"commitMessage": "⚙️ chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"off",
{
"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
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}