-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.59 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
{
"name": "use-breakpoint-observer",
"description": "A React hook that allows you to use a ResizeObserver and gives you access to the currently active breakpoint and the width dimension of the targeted html element or body",
"version": "1.0.6",
"main": "lib/index.js",
"types": "lib/index.d.js",
"source": "src/index.js",
"repository": "https://github.com/vaxevanis/useBreakpointsObserver",
"author": "Paul Vaxevanis <[email protected]>",
"license": "MIT",
"private": false,
"keywords": [
"react",
"hooks",
"ResizeObserver"
],
"dependencies": {
"-": "^0.0.1"
},
"devDependencies": {
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.1.1",
"@types/react": "^18.0.21",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^8.24.0",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"prettier": "^2.7.1",
"resize-observer-polyfill": "^1.5.1",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.{ts,js}\"",
"lint": "eslint",
"test": "jest --config jestconfig.json",
"prepare": "yarn build",
"prepublishOnly": "yarn test && yarn lint",
"verify": "yarn build && yarn prepublishOnly",
"preversion": "yarn verify",
"version": "yarn format && git add -A src",
"postversion": "git push --tags && git push && echo \"Successfully released new version\""
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"files": [
"lib/**/*"
]
}