UNPKG

react-to-imperative

Version:
152 lines (151 loc) 3.4 kB
{ "name": "react-to-imperative", "version": "0.2.0", "description": "extract props from React elements", "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", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepack": "bob build", "release": "release-it", "bootstrap": "yarn install" }, "keywords": [ "react", "DFS", "recursion", "react-native" ], "repository": "https://github.com/vonovak/react-to-imperative", "author": "Vojtech Novak <vonovak@gmail.com> (https://github.com/vonovak)", "license": "MIT", "bugs": { "url": "https://github.com/vonovak/react-to-imperative/issues" }, "homepage": "https://github.com/vonovak/react-to-imperative#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.2.2", "@react-native-community/eslint-config": "^3.0.2", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^29.2.4", "@types/react": "~17.0.21", "@types/react-native": "^0.70.8", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^29.3.1", "prettier": "^2.0.5", "react": "18.1.0", "react-native": "^0.70.6", "react-native-builder-bob": "^0.20.0", "release-it": "^15.0.0", "ts-jest": "^29.0.3", "typescript": "^4.9.4" }, "resolutions": { "@types/react": "18.0.26" }, "peerDependencies": { "react": "*" }, "engines": { "node": ">= 16.0.0" }, "packageManager": "^yarn@1.22.15", "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-community", "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 }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }