-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.8 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
{
"name": "@buildinams/use-match-media",
"description": "Stateful hook that uses the matchMedia API.",
"version": "0.2.1",
"license": "MIT",
"author": "Build in Amsterdam <development@buildinamsterdam.com> (https://www.buildinamsterdam.com/)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/buildinamsterdam/use-match-media#readme",
"repository": {
"type": "git",
"url": "https://github.com/buildinamsterdam/use-match-media.git"
},
"bugs": {
"url": "https://github.com/buildinamsterdam/use-match-media/issues"
},
"keywords": [
"react",
"hook",
"react-hook",
"match-media",
"media-query"
],
"scripts": {
"build": "tsc",
"build:types": "tsc --emitDeclarationOnly",
"prepublishOnly": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"lint": "NODE_ENV=test npm-run-all --parallel lint:*",
"lint:script": "eslint \"src/**/*.{ts,tsx}\"",
"lint:format": "prettier \"**/*.{md,yml}\" --check",
"lint:type-check": "tsc --noEmit",
"fix": "npm-run-all --sequential fix:*",
"fix:js": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"fix:format": "prettier \"**/*.{md,yml}\" --write",
"depcheck": "npx npm-check --update"
},
"peerDependencies": {
"react": ">=17.0.0 || 18"
},
"devDependencies": {
"@babel/preset-env": "^7.23.8",
"@babel/preset-typescript": "^7.23.3",
"@buildinams/lint": "^0.4.0",
"@testing-library/react": "^14.1.2",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.3",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"babel": "^6.23.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-matchmedia-mock": "^1.1.0",
"npm-run-all": "^4.1.5",
"react-dom": "^18.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}