UNPKG

react-native-story-component

Version:
184 lines (183 loc) 4.47 kB
{ "name": "react-native-story-component", "version": "0.7.0", "description": "Story component for React Native.", "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", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest --passWithNoTests", "prepare": "bob build", "release": "release-it", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn", "commit": "git-cz" }, "repository": { "type": "git", "url": "git+https://github.com/ridvanaltun/react-native-story-component.git", "baseUrl": "https://github.com/ridvanaltun/react-native-story-component" }, "keywords": [ "react-native", "story" ], "author": "Rıdvan Altun <ridvanaltun@outlook.com> (https://github.com/ridvanaltun)", "license": "MIT", "bugs": { "url": "https://github.com/ridvanaltun/react-native-story-component/issues" }, "homepage": "https://github.com/ridvanaltun/react-native-story-component#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "prop-types": "^15.8.1", "react-native-modalbox": "^2.0.2", "react-native-safearea-height": "^1.0.6", "react-native-swipe-gestures": "^1.0.5" }, "devDependencies": { "@commitlint/cli": "^17.6.7", "@commitlint/config-conventional": "^17.6.7", "@react-native-community/eslint-config": "^3.2.0", "@release-it/conventional-changelog": "^5.1.1", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.70.0", "@types/react-native-modalbox": "^1.4.10", "auto-changelog": "^2.4.0", "commitizen": "^4.3.0", "commitlint": "^17.6.7", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.46.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-ft-flow": "^3.0.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^4.3.8", "jest": "^28.1.1", "prettier": "^2.6.2", "react": "18.2.0", "react-native": "0.71.8", "react-native-builder-bob": "^0.20.0", "release-it": "^15.10.3", "typescript": "^4.7.2" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*" }, "packageManager": "^yarn@1.22.15", "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "yarn lint && yarn typescript" } }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/", "*.js" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "release-it": { "git": { "commitMessage": "chore: release ${version} [ci skip]", "tagName": "v${version}", "changelog": "auto-changelog --stdout --unreleased --template ./templates/release-template.hbs" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }