UNPKG

3.06 kBJSONView Raw
1{
2 "name": "react-native-restart",
3 "version": "0.0.25",
4 "description": "Sometimes you want to reload your app bundle during app runtime. This package will allow you to do it.",
5 "main": "lib/commonjs/index.js",
6 "module": "lib/module/index.js",
7 "types": "lib/typescript/index.d.ts",
8 "react-native": "src/index.tsx",
9 "files": [
10 "src",
11 "lib",
12 "android",
13 "ios",
14 "react-native-restart.podspec",
15 "windows"
16 ],
17 "scripts": {
18 "test": "jest --coverage && jest-coverage-badges --output './badges'",
19 "typescript": "tsc --noEmit",
20 "lint": "eslint --ext .js,.ts,.tsx .",
21 "prepare": "bob build && husky install",
22 "release": "dotenv release-it",
23 "example": "yarn --cwd Example",
24 "pods": "cd Example/ios && node -e \"process.exit(require('os').platform() === 'darwin')\" || pod install",
25 "bootstrap": "yarn example && yarn && yarn pods && cp .env.example .env",
26 "clean": "rm -rf node_modules coverage .env lib Example/node_modules Example/ios/Pods",
27 "windows": "react-native run-windows",
28 "prepack": "bob build"
29 },
30 "keywords": [
31 "react-native",
32 "ios",
33 "android"
34 ],
35 "repository": "https://github.com/avishayil/react-native-restart",
36 "author": "Avishay Bar <avishay.il@gmail.com> (https://github.com/avishayil)",
37 "license": "MIT",
38 "bugs": {
39 "url": "https://github.com/avishayil/react-native-restart/issues"
40 },
41 "homepage": "https://github.com/avishayil/react-native-restart#readme",
42 "devDependencies": {
43 "@commitlint/config-conventional": "17.4.2",
44 "@react-native-community/eslint-config": "3.0.0",
45 "@release-it/conventional-changelog": "5.1.1",
46 "@types/jest": "29.2.1",
47 "commitlint": "17.4.2",
48 "dotenv-cli": "7.0.0",
49 "eslint": "8.19.0",
50 "eslint-config-prettier": "8.6.0",
51 "eslint-plugin-prettier": "4.2.1",
52 "husky": "^8.0.0",
53 "jest": "29.2.1",
54 "jest-coverage-badges": "1.1.2",
55 "metro-react-native-babel-preset": "0.73.7",
56 "prettier": "2.4.1",
57 "react": "18.2.0",
58 "react-native": "0.71.1",
59 "react-native-builder-bob": "^0.20.3",
60 "react-native-windows": "0.71.0",
61 "release-it": "15.6.0",
62 "typescript": "4.8.4"
63 },
64 "peerDependencies": {
65 "react": "*",
66 "react-native": "*"
67 },
68 "jest": {
69 "preset": "react-native",
70 "moduleFileExtensions": [
71 "ts",
72 "tsx",
73 "js",
74 "json"
75 ],
76 "transform": {
77 "^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
78 },
79 "testMatch": [
80 "**/**/*.test.?(j|t)s?(x)"
81 ],
82 "modulePathIgnorePatterns": [
83 "<rootDir>/Example/",
84 "<rootDir>/lib/"
85 ],
86 "coverageReporters": [
87 "json-summary",
88 "text",
89 "lcov"
90 ]
91 },
92 "prettier": {
93 "singleQuote": true,
94 "tabWidth": 2,
95 "trailingComma": "es5",
96 "useTabs": false
97 },
98 "react-native-builder-bob": {
99 "source": "src",
100 "output": "lib",
101 "targets": [
102 "commonjs",
103 "module",
104 "typescript"
105 ],
106 "files": [
107 "src/"
108 ]
109 },
110 "eslintIgnore": [
111 "node_modules/",
112 "lib/"
113 ]
114}