forked from vineyardbovines/react-native-android-wake-lock
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
99 lines (99 loc) · 2.29 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
{
"name": "react-native-wake-lock",
"version": "1.0.1",
"author": "Josh Gachnang <[email protected]>",
"repository": "https://github.com/joshgachnang/react-native-wake-lock",
"license": "MIT",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index.ts",
"files": [
"lib/",
"src/",
"android/",
"!/android/build"
],
"keywords": [
"react-native",
"react native",
"cpu lock",
"wake lock",
"wakelock",
"wifi lock",
"android"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "eslint --ext .ts src",
"clean": "rimraf lib",
"build": "bob build",
"prepare": "yarn build",
"cz": "git-cz"
},
"peerDependencies": {
"react": ">=16.9",
"react-native": ">=0.60"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/runtime": "^7.9.2",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@react-native-community/bob": "^0.10.0",
"@types/react": "^16.9.34",
"@types/react-native": "^0.62.2",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"commitizen": "^4.0.4",
"cz-conventional-changelog": "^3.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"husky": "^4.2.5",
"jest": "^25.3.0",
"lint-staged": "^10.1.3",
"metro-react-native-babel-preset": "^0.59.0",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-native": "^0.62.2",
"rimraf": "^3.0.2",
"typescript": "^3.8.3"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts}": [
"yarn lint:ts",
"git add"
]
}
}