-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 3.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "react-use-breakpoint",
"version": "1.2.1",
"description": "Use breakpoints in JS when dealing with React based applications",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js"
},
"types": "dist/index.d.ts",
"type": "commonjs",
"files": [
"dist"
],
"scripts": {
"prepare": "husky install",
"prebuild": "rimraf dist",
"build": "yarn prebuild && tsc -b",
"lint": "yarn run prettier:check && yarn run eslint",
"lint:fix": "yarn run prettier:fix && yarn run eslint:fix",
"eslint": "eslint --cache ./src",
"eslint:fix": "yarn run eslint --fix",
"prettier:check": "prettier --check ./src",
"prettier:fix": "prettier --write ./src",
"typecheck": "tsc --noEmit",
"size": "size-limit",
"semantic-release": "semantic-release"
},
"author": "Joel Pierre <[email protected]>",
"license": "ISC",
"size-limit": [
{
"path": "dist/index.js"
}
],
"release": {
"branches": [
"main",
{
"name": "next",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"dist/**/*.{js,d.ts}",
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}\n\n[skip ci]"
}
]
]
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --cache --fix"
]
},
"peerDependencies": {
"react": ">16"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@size-limit/file": "^8.1.0",
"@types/node": "^18.11.15",
"@types/react": "^18.0.26",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-module-utils": "^2.7.4",
"eslint-plugin-eslint-plugin": "^5.0.6",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"react": "^18.2.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"semantic-release-yarn": "^0.3.0",
"size-limit": "^8.1.0",
"typescript": "^5.0.2"
},
"engines": {
"node": ">=10"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/joelpierre/use-breakpoint.git"
},
"sideEffects": false,
"homepage": "https://github.com/joelpierre/use-breakpoint",
"bugs": "https://github.com/joelpierre/use-breakpoint/issues",
"keywords": [
"breakpoint",
"matchMedia",
"react",
"responsive",
"typescript",
"viewport",
"window.matchMedia"
]
}