-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 2.67 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
{
"name": "react-native-webview-alternative",
"version": "0.0.3",
"description": "Alternative to react-native-webview",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index.tsx",
"source": "src/index.tsx",
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint --ext .js,.ts,.tsx .",
"prepare": "bob build && rimraf lib/typescript/src/__tests__ lib/typescript/example",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"bootstrap": "yarn example && yarn && yarn pods"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": "https://github.com/codemotionapps/react-native-webview-alternative",
"author": "Dimitar Nestorov <[email protected]> (https://dimitarnestorov.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/codemotionapps/react-native-webview-alternative/issues"
},
"homepage": "https://github.com/codemotionapps/react-native-webview-alternative#readme",
"devDependencies": {
"@babel/core": "^7.9.6",
"@react-native-community/bob": "^0.14.2",
"@react-native-community/eslint-config": "^1.1.0",
"@types/jest": "^25.2.1",
"@types/react": "^16.9.19",
"@types/react-native": "0.62.7",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"jest": "^26.0.1",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "~16.9.0",
"react-native": "~0.61.5",
"typescript": "^3.8.3"
},
"peerDependencies": {
"react": "*",
"react-native": ">=0.60.0"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn typescript"
}
},
"eslintConfig": {
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"semi": false,
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 120,
"singleQuote": true,
"useTabs": true,
"quoteProps": "consistent"
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}