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