-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 2.68 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
{
"name": "react-native-media-query-hook",
"version": "1.0.1",
"description": "",
"main": "lib/index",
"module": "lib/index",
"types": "lib/index.d.ts",
"source": "src/index",
"files": [
"lib"
],
"keywords": [
"react-native",
"media",
"query"
],
"repository": "https://github.com/idlework/react-native-media-query-hook",
"author": "idlework <[email protected]> (https://github.com/idlework)",
"license": "MIT",
"bugs": {
"url": "https://github.com/idlework/react-native-media-query-hook/issues"
},
"homepage": "https://github.com/idlework/react-native-media-query-hook#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"test": "npm run test:jest && npm run test:types && npm run test:lint",
"test:jest": "jest",
"test:types": "tsc --noEmit",
"test:lint": "eslint \"**/*.{js,ts,tsx}\"",
"build": "tsc",
"prerelease": "npm run test && npm run build",
"release": "release-it"
},
"devDependencies": {
"@react-native-community/eslint-config": "^3.0.2",
"@types/jest": "^29.2.5",
"@types/react": "^18.0.26",
"@types/react-native": "^0.71.0",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react-native": "^4.0.0",
"jest": "^29.3.1",
"prettier": "^2.8.2",
"react": "^18.1.0",
"react-native": "^0.70.6",
"release-it": "^15.0.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"engines": {
"node": ">= 16.0.0"
},
"jest": {
"preset": "ts-jest",
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
]
},
"release-it": {
"git": {
"commitMessage": "release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
"prettier/prettier": [
"error",
{
"arrowParens": "avoid",
"bracketSameLine": true,
"singleQuote": true,
"trailingComma": "all",
"quoteProps": "consistent"
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"arrowParens": "avoid",
"bracketSameLine": true,
"singleQuote": true,
"trailingComma": "all",
"quoteProps": "consistent"
}
}